Disable rule import/prefer-default-export

[MAILPOET-3172]
This commit is contained in:
Jan Lysý
2020-09-30 14:07:50 +02:00
committed by Veljko V
parent 05f68a07bd
commit 3887d11fce
3 changed files with 3 additions and 0 deletions

View File

@@ -9,6 +9,7 @@
"sourceType": "module" "sourceType": "module"
}, },
"rules": { "rules": {
"import/prefer-default-export": 0, // we want to stop using default exports and start using named exports
"no-underscore-dangle": 0, // Backbone uses underscores, we cannot remove them "no-underscore-dangle": 0, // Backbone uses underscores, we cannot remove them
"comma-dangle": ["error", "always-multiline"] "comma-dangle": ["error", "always-multiline"]
} }

View File

@@ -29,6 +29,7 @@
"no-only-tests/no-only-tests": 2, "no-only-tests/no-only-tests": 2,
"no-script-url": 0, "no-script-url": 0,
"import/extensions": 0, // we wouldn't be able to import jQuery without this line "import/extensions": 0, // we wouldn't be able to import jQuery without this line
"import/prefer-default-export": 0, // we want to stop using default exports and start using named exports
"react/destructuring-assignment": 0, // that would be too many changes to fix this one "react/destructuring-assignment": 0, // that would be too many changes to fix this one
"prefer-destructuring": 0, // that would be too many changes to fix this one "prefer-destructuring": 0, // that would be too many changes to fix this one
"jsx-a11y/label-has-for": [2, { "jsx-a11y/label-has-for": [2, {

View File

@@ -124,6 +124,7 @@
"no-only-tests/no-only-tests": 2, "no-only-tests/no-only-tests": 2,
"no-script-url": 0, "no-script-url": 0,
"import/extensions": 0, // we wouldn't be able to import jQuery without this line "import/extensions": 0, // we wouldn't be able to import jQuery without this line
"import/prefer-default-export": 0, // we want to stop using default exports and start using named exports
"react/destructuring-assignment": 0, // that would be too many changes to fix this one "react/destructuring-assignment": 0, // that would be too many changes to fix this one
"prefer-destructuring": 0, // that would be too many changes to fix this one "prefer-destructuring": 0, // that would be too many changes to fix this one
"jsx-a11y/label-has-for": [2, { "jsx-a11y/label-has-for": [2, {