Update ESLint related dependencies to v68 (#19408)
Co-authored-by: fisker Cheung <lionkay@gmail.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
4 files changed
+25
-23
No files matched your search
+18
-16
@@ -243,11 +243,18 @@ const configs = [
|
||||
"unicorn/consistent-boolean-name": "off",
|
||||
"unicorn/consistent-class-member-order": "off",
|
||||
"unicorn/consistent-compound-words": "off",
|
||||
"unicorn/consistent-conditional-object-spread": ["error", "ternary"],
|
||||
"unicorn/consistent-destructuring": "off",
|
||||
"unicorn/consistent-function-scoping": "off",
|
||||
"unicorn/consistent-json-file-read": ["error", "buffer"],
|
||||
"unicorn/default-export-style": "off",
|
||||
"unicorn/escape-case": "off",
|
||||
"unicorn/filename-case": ["error", { checkDirectories: false }],
|
||||
"unicorn/filename-case": [
|
||||
"error",
|
||||
{
|
||||
checkDirectories: false,
|
||||
},
|
||||
],
|
||||
"unicorn/import-style": "off",
|
||||
"unicorn/logical-assignment-operators": [
|
||||
"error",
|
||||
@@ -255,6 +262,7 @@ const configs = [
|
||||
{ enforceForIfStatements: true },
|
||||
],
|
||||
"unicorn/max-nested-calls": "off",
|
||||
"unicorn/name-replacements": "off",
|
||||
"unicorn/no-array-callback-reference": "off",
|
||||
"unicorn/no-array-method-this-argument": "off",
|
||||
"unicorn/no-array-reduce": "off",
|
||||
@@ -281,18 +289,13 @@ const configs = [
|
||||
"unicorn/no-top-level-assignment-in-function": "off",
|
||||
"unicorn/no-top-level-side-effects": "off",
|
||||
"unicorn/no-undeclared-class-members": "off",
|
||||
"unicorn/no-unnecessary-boolean-comparison": "off",
|
||||
"unicorn/no-unreadable-array-destructuring": "off",
|
||||
"unicorn/no-unreadable-for-of-expression": "off",
|
||||
"unicorn/no-unreadable-new-expression": "off",
|
||||
"unicorn/no-unreadable-object-destructuring": "off",
|
||||
"unicorn/no-unsafe-string-replacement": "off",
|
||||
"unicorn/no-useless-concat": "off",
|
||||
"unicorn/no-useless-fallback-in-spread": [
|
||||
"error",
|
||||
{
|
||||
checkTernary: false,
|
||||
},
|
||||
],
|
||||
"unicorn/no-useless-recursion": "off",
|
||||
"unicorn/no-useless-switch-case": "off",
|
||||
"unicorn/no-useless-undefined": [
|
||||
@@ -317,7 +320,9 @@ const configs = [
|
||||
},
|
||||
],
|
||||
"unicorn/prefer-await": "off",
|
||||
"unicorn/prefer-boolean-return": "off",
|
||||
"unicorn/prefer-code-point": "off",
|
||||
"unicorn/prefer-continue": "off",
|
||||
"unicorn/prefer-dom-node-append": "off",
|
||||
"unicorn/prefer-dom-node-remove": "off",
|
||||
"unicorn/prefer-early-return": "off",
|
||||
@@ -345,7 +350,6 @@ const configs = [
|
||||
"unicorn/prefer-short-arrow-method": "off",
|
||||
"unicorn/prefer-ternary": "off",
|
||||
"unicorn/prefer-unicode-code-point-escapes": "off",
|
||||
"unicorn/prevent-abbreviations": "off",
|
||||
"unicorn/relative-url-style": "off",
|
||||
"unicorn/require-array-sort-compare": "off",
|
||||
"unicorn/switch-case-braces": ["error", "avoid"],
|
||||
@@ -561,18 +565,16 @@ const configs = [
|
||||
{
|
||||
files: ["src/document/printer/printer.js"],
|
||||
rules: {
|
||||
"unicorn/prevent-abbreviations": [
|
||||
"unicorn/name-replacements": [
|
||||
"error",
|
||||
{ replacements: { doc: false } },
|
||||
{
|
||||
replacements: {
|
||||
doc: false,
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
{
|
||||
files: ["src/language-js/utilities/utilities.js"],
|
||||
rules: {
|
||||
"unicorn/prefer-export-from": ["error", { ignoreUsedVariables: false }],
|
||||
},
|
||||
},
|
||||
];
|
||||
|
||||
export default configs;
|
||||
Reference in new issue
Block a user