mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-18 03:05:48 +00:00
fix lint line ending error on windows
This commit is contained in:
1582
package-lock.json
generated
1582
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -25,6 +25,14 @@ module.exports = {
|
||||
extends: ['@xrplf/eslint-config/base'],
|
||||
|
||||
rules: {
|
||||
// Maintain existing line endings
|
||||
'prettier/prettier': [
|
||||
'error',
|
||||
{
|
||||
'endOfLine': 'auto',
|
||||
}
|
||||
],
|
||||
|
||||
// This creates a lot of false positives. We should turn this off in our
|
||||
// general config.
|
||||
'jsdoc/require-description-complete-sentence': 'off',
|
||||
|
||||
@@ -26,6 +26,14 @@ module.exports = {
|
||||
extends: ['@xrplf/eslint-config/base'],
|
||||
|
||||
rules: {
|
||||
// Maintain existing line endings
|
||||
'prettier/prettier': [
|
||||
'error',
|
||||
{
|
||||
'endOfLine': 'auto',
|
||||
}
|
||||
],
|
||||
|
||||
// ** TODO **
|
||||
// all of the below are turned off for now during the migration to a
|
||||
// monorepo. They need to actually be addressed!
|
||||
|
||||
@@ -26,6 +26,14 @@ module.exports = {
|
||||
extends: ['@xrplf/eslint-config/base', 'plugin:mocha/recommended'],
|
||||
|
||||
rules: {
|
||||
// Maintain existing line endings
|
||||
'prettier/prettier': [
|
||||
'error',
|
||||
{
|
||||
'endOfLine': 'auto',
|
||||
}
|
||||
],
|
||||
|
||||
// ** TODO **
|
||||
// all of the below are turned off for now during the migration to a
|
||||
// monorepo. They need to actually be addressed!
|
||||
|
||||
@@ -28,6 +28,13 @@ module.exports = {
|
||||
plugins: [],
|
||||
extends: ['@xrplf/eslint-config/base', 'plugin:mocha/recommended'],
|
||||
rules: {
|
||||
// Maintain existing line endings
|
||||
'prettier/prettier': [
|
||||
'error',
|
||||
{
|
||||
'endOfLine': 'auto',
|
||||
}
|
||||
],
|
||||
// Certain rippled APIs require snake_case naming
|
||||
'@typescript-eslint/naming-convention': [
|
||||
'error',
|
||||
|
||||
Reference in New Issue
Block a user