fix lint line ending error on windows

This commit is contained in:
nixer89
2021-12-16 16:08:30 +01:00
parent 7efdbe7b1f
commit 15cfee9e65
5 changed files with 1579 additions and 34 deletions

1582
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -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',

View File

@@ -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!

View File

@@ -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!

View File

@@ -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',