From 7c7e9492e4e6a28f628682e199bbc972e80e5fda Mon Sep 17 00:00:00 2001 From: wakamsha Date: Mon, 9 Dec 2024 16:45:56 +0900 Subject: [PATCH] update snapshot --- .../next/__snapshots__/snapshot.test.js.snap | 22 +++ .../node/__snapshots__/snapshot.test.js.snap | 14 ++ .../react/__snapshots__/snapshot.test.js.snap | 22 +++ .../__snapshots__/snapshot.test.js.snap | 22 +++ .../next/__snapshots__/snapshot.test.js.snap | 142 +---------------- .../node/__snapshots__/snapshot.test.js.snap | 145 +----------------- .../react/__snapshots__/snapshot.test.js.snap | 142 +---------------- .../__snapshots__/snapshot.test.js.snap | 142 +---------------- 8 files changed, 89 insertions(+), 562 deletions(-) diff --git a/tests/snapshot-test/eslintrc/next/__snapshots__/snapshot.test.js.snap b/tests/snapshot-test/eslintrc/next/__snapshots__/snapshot.test.js.snap index 4520f306..9eb104fd 100644 --- a/tests/snapshot-test/eslintrc/next/__snapshots__/snapshot.test.js.snap +++ b/tests/snapshot-test/eslintrc/next/__snapshots__/snapshot.test.js.snap @@ -109,7 +109,11 @@ exports[`should match ESLint configuration snapshot: next 1`] = ` "@typescript-eslint/dot-notation": [ 2, { + "allowIndexSignaturePropertyAccess": false, "allowKeywords": true, + "allowPattern": "", + "allowPrivateClassPropertyAccess": false, + "allowProtectedClassPropertyAccess": false, }, ], "@typescript-eslint/explicit-function-return-type": [ @@ -295,6 +299,7 @@ exports[`should match ESLint configuration snapshot: next 1`] = ` "allowShortCircuit": true, "allowTaggedTemplates": true, "allowTernary": true, + "enforceForJSX": false, }, ], "@typescript-eslint/no-unused-vars": [ @@ -417,6 +422,8 @@ exports[`should match ESLint configuration snapshot: next 1`] = ` 2, { "allowImplicit": true, + "allowVoid": false, + "checkForEach": false, }, ], "arrow-body-style": [ @@ -437,6 +444,8 @@ exports[`should match ESLint configuration snapshot: next 1`] = ` 0, { "ignoreDestructuring": false, + "ignoreGlobals": false, + "ignoreImports": false, "properties": "never", }, ], @@ -459,6 +468,7 @@ exports[`should match ESLint configuration snapshot: next 1`] = ` "class-methods-use-this": [ 2, { + "enforceForClassFields": true, "exceptMethods": [], }, ], @@ -491,7 +501,11 @@ exports[`should match ESLint configuration snapshot: next 1`] = ` "dot-notation": [ 0, { + "allowIndexSignaturePropertyAccess": false, "allowKeywords": true, + "allowPattern": "", + "allowPrivateClassPropertyAccess": false, + "allowProtectedClassPropertyAccess": false, }, ], "eqeqeq": [ @@ -1325,6 +1339,7 @@ exports[`should match ESLint configuration snapshot: next 1`] = ` ], "newIsCap": true, "newIsCapExceptions": [], + "properties": true, }, ], "no-alert": [ @@ -1479,6 +1494,7 @@ exports[`should match ESLint configuration snapshot: next 1`] = ` { "allow": [], "boolean": false, + "disallowTemplateShorthand": false, "number": true, "string": true, }, @@ -2011,6 +2027,11 @@ exports[`should match ESLint configuration snapshot: next 1`] = ` "allow": [], "allowAfterSuper": false, "allowAfterThis": false, + "allowAfterThisConstructor": false, + "allowFunctionParams": true, + "allowInArrayDestructuring": true, + "allowInObjectDestructuring": true, + "enforceInClassFields": false, "enforceInMethodNames": true, }, ], @@ -2053,6 +2074,7 @@ exports[`should match ESLint configuration snapshot: next 1`] = ` "allowShortCircuit": true, "allowTaggedTemplates": true, "allowTernary": true, + "enforceForJSX": false, }, ], "no-unused-labels": [ diff --git a/tests/snapshot-test/eslintrc/node/__snapshots__/snapshot.test.js.snap b/tests/snapshot-test/eslintrc/node/__snapshots__/snapshot.test.js.snap index e8b87c98..411803b9 100644 --- a/tests/snapshot-test/eslintrc/node/__snapshots__/snapshot.test.js.snap +++ b/tests/snapshot-test/eslintrc/node/__snapshots__/snapshot.test.js.snap @@ -14,6 +14,8 @@ exports[`should match ESLint configuration snapshot: node 1`] = ` 2, { "allowImplicit": true, + "allowVoid": false, + "checkForEach": false, }, ], "arrow-body-style": [ @@ -34,6 +36,8 @@ exports[`should match ESLint configuration snapshot: node 1`] = ` 2, { "ignoreDestructuring": false, + "ignoreGlobals": false, + "ignoreImports": false, "properties": "never", }, ], @@ -56,6 +60,7 @@ exports[`should match ESLint configuration snapshot: node 1`] = ` "class-methods-use-this": [ 2, { + "enforceForClassFields": true, "exceptMethods": [], }, ], @@ -89,6 +94,7 @@ exports[`should match ESLint configuration snapshot: node 1`] = ` 2, { "allowKeywords": true, + "allowPattern": "", }, ], "eqeqeq": [ @@ -470,6 +476,7 @@ exports[`should match ESLint configuration snapshot: node 1`] = ` ], "newIsCap": true, "newIsCapExceptions": [], + "properties": true, }, ], "no-alert": [ @@ -624,6 +631,7 @@ exports[`should match ESLint configuration snapshot: node 1`] = ` { "allow": [], "boolean": false, + "disallowTemplateShorthand": false, "number": true, "string": true, }, @@ -1147,6 +1155,11 @@ exports[`should match ESLint configuration snapshot: node 1`] = ` "allow": [], "allowAfterSuper": false, "allowAfterThis": false, + "allowAfterThisConstructor": false, + "allowFunctionParams": true, + "allowInArrayDestructuring": true, + "allowInObjectDestructuring": true, + "enforceInClassFields": false, "enforceInMethodNames": true, }, ], @@ -1189,6 +1202,7 @@ exports[`should match ESLint configuration snapshot: node 1`] = ` "allowShortCircuit": true, "allowTaggedTemplates": true, "allowTernary": true, + "enforceForJSX": false, }, ], "no-unused-labels": [ diff --git a/tests/snapshot-test/eslintrc/react/__snapshots__/snapshot.test.js.snap b/tests/snapshot-test/eslintrc/react/__snapshots__/snapshot.test.js.snap index d5460b4b..0ac8b4ce 100644 --- a/tests/snapshot-test/eslintrc/react/__snapshots__/snapshot.test.js.snap +++ b/tests/snapshot-test/eslintrc/react/__snapshots__/snapshot.test.js.snap @@ -46,7 +46,11 @@ exports[`should match ESLint configuration snapshot: react 1`] = ` "@typescript-eslint/dot-notation": [ 2, { + "allowIndexSignaturePropertyAccess": false, "allowKeywords": true, + "allowPattern": "", + "allowPrivateClassPropertyAccess": false, + "allowProtectedClassPropertyAccess": false, }, ], "@typescript-eslint/explicit-function-return-type": [ @@ -232,6 +236,7 @@ exports[`should match ESLint configuration snapshot: react 1`] = ` "allowShortCircuit": true, "allowTaggedTemplates": true, "allowTernary": true, + "enforceForJSX": false, }, ], "@typescript-eslint/no-unused-vars": [ @@ -354,6 +359,8 @@ exports[`should match ESLint configuration snapshot: react 1`] = ` 2, { "allowImplicit": true, + "allowVoid": false, + "checkForEach": false, }, ], "arrow-body-style": [ @@ -374,6 +381,8 @@ exports[`should match ESLint configuration snapshot: react 1`] = ` 0, { "ignoreDestructuring": false, + "ignoreGlobals": false, + "ignoreImports": false, "properties": "never", }, ], @@ -396,6 +405,7 @@ exports[`should match ESLint configuration snapshot: react 1`] = ` "class-methods-use-this": [ 2, { + "enforceForClassFields": true, "exceptMethods": [], }, ], @@ -428,7 +438,11 @@ exports[`should match ESLint configuration snapshot: react 1`] = ` "dot-notation": [ 0, { + "allowIndexSignaturePropertyAccess": false, "allowKeywords": true, + "allowPattern": "", + "allowPrivateClassPropertyAccess": false, + "allowProtectedClassPropertyAccess": false, }, ], "eqeqeq": [ @@ -1262,6 +1276,7 @@ exports[`should match ESLint configuration snapshot: react 1`] = ` ], "newIsCap": true, "newIsCapExceptions": [], + "properties": true, }, ], "no-alert": [ @@ -1416,6 +1431,7 @@ exports[`should match ESLint configuration snapshot: react 1`] = ` { "allow": [], "boolean": false, + "disallowTemplateShorthand": false, "number": true, "string": true, }, @@ -1948,6 +1964,11 @@ exports[`should match ESLint configuration snapshot: react 1`] = ` "allow": [], "allowAfterSuper": false, "allowAfterThis": false, + "allowAfterThisConstructor": false, + "allowFunctionParams": true, + "allowInArrayDestructuring": true, + "allowInObjectDestructuring": true, + "enforceInClassFields": false, "enforceInMethodNames": true, }, ], @@ -1990,6 +2011,7 @@ exports[`should match ESLint configuration snapshot: react 1`] = ` "allowShortCircuit": true, "allowTaggedTemplates": true, "allowTernary": true, + "enforceForJSX": false, }, ], "no-unused-labels": [ diff --git a/tests/snapshot-test/eslintrc/storybook/__snapshots__/snapshot.test.js.snap b/tests/snapshot-test/eslintrc/storybook/__snapshots__/snapshot.test.js.snap index 6d0e8baf..36e27cf1 100644 --- a/tests/snapshot-test/eslintrc/storybook/__snapshots__/snapshot.test.js.snap +++ b/tests/snapshot-test/eslintrc/storybook/__snapshots__/snapshot.test.js.snap @@ -46,7 +46,11 @@ exports[`should match ESLint configuration snapshot: storybook 1`] = ` "@typescript-eslint/dot-notation": [ 2, { + "allowIndexSignaturePropertyAccess": false, "allowKeywords": true, + "allowPattern": "", + "allowPrivateClassPropertyAccess": false, + "allowProtectedClassPropertyAccess": false, }, ], "@typescript-eslint/explicit-function-return-type": [ @@ -232,6 +236,7 @@ exports[`should match ESLint configuration snapshot: storybook 1`] = ` "allowShortCircuit": true, "allowTaggedTemplates": true, "allowTernary": true, + "enforceForJSX": false, }, ], "@typescript-eslint/no-unused-vars": [ @@ -354,6 +359,8 @@ exports[`should match ESLint configuration snapshot: storybook 1`] = ` 2, { "allowImplicit": true, + "allowVoid": false, + "checkForEach": false, }, ], "arrow-body-style": [ @@ -374,6 +381,8 @@ exports[`should match ESLint configuration snapshot: storybook 1`] = ` 0, { "ignoreDestructuring": false, + "ignoreGlobals": false, + "ignoreImports": false, "properties": "never", }, ], @@ -396,6 +405,7 @@ exports[`should match ESLint configuration snapshot: storybook 1`] = ` "class-methods-use-this": [ 2, { + "enforceForClassFields": true, "exceptMethods": [], }, ], @@ -428,7 +438,11 @@ exports[`should match ESLint configuration snapshot: storybook 1`] = ` "dot-notation": [ 0, { + "allowIndexSignaturePropertyAccess": false, "allowKeywords": true, + "allowPattern": "", + "allowPrivateClassPropertyAccess": false, + "allowProtectedClassPropertyAccess": false, }, ], "eqeqeq": [ @@ -1019,6 +1033,7 @@ exports[`should match ESLint configuration snapshot: storybook 1`] = ` ], "newIsCap": true, "newIsCapExceptions": [], + "properties": true, }, ], "no-alert": [ @@ -1173,6 +1188,7 @@ exports[`should match ESLint configuration snapshot: storybook 1`] = ` { "allow": [], "boolean": false, + "disallowTemplateShorthand": false, "number": true, "string": true, }, @@ -1705,6 +1721,11 @@ exports[`should match ESLint configuration snapshot: storybook 1`] = ` "allow": [], "allowAfterSuper": false, "allowAfterThis": false, + "allowAfterThisConstructor": false, + "allowFunctionParams": true, + "allowInArrayDestructuring": true, + "allowInObjectDestructuring": true, + "enforceInClassFields": false, "enforceInMethodNames": true, }, ], @@ -1747,6 +1768,7 @@ exports[`should match ESLint configuration snapshot: storybook 1`] = ` "allowShortCircuit": true, "allowTaggedTemplates": true, "allowTernary": true, + "enforceForJSX": false, }, ], "no-unused-labels": [ diff --git a/tests/snapshot-test/flat/next/__snapshots__/snapshot.test.js.snap b/tests/snapshot-test/flat/next/__snapshots__/snapshot.test.js.snap index bf0f4a9e..1fbb94d1 100644 --- a/tests/snapshot-test/flat/next/__snapshots__/snapshot.test.js.snap +++ b/tests/snapshot-test/flat/next/__snapshots__/snapshot.test.js.snap @@ -3,7 +3,7 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Flat Configuration snapshot: next 1`] = ` { "languageOptions": { - "ecmaVersion": 2025, + "ecmaVersion": "latest", "globals": { "AggregateError": false, "Array": false, @@ -254,9 +254,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Flat Configurat ], "@typescript-eslint/no-empty-function": [ 2, - { - "allow": [], - }, ], "@typescript-eslint/no-empty-object-type": [ 2, @@ -381,6 +378,7 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Flat Configurat "allowShortCircuit": true, "allowTaggedTemplates": true, "allowTernary": true, + "enforceForJSX": false, }, ], "@typescript-eslint/no-unused-vars": [ @@ -494,11 +492,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Flat Configurat ], "accessor-pairs": [ 0, - { - "enforceForClassMembers": true, - "getWithoutSet": false, - "setWithoutGet": true, - }, ], "array-bracket-newline": [ 0, @@ -529,10 +522,7 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Flat Configurat "camelcase": [ 0, { - "allow": [], "ignoreDestructuring": false, - "ignoreGlobals": false, - "ignoreImports": false, "properties": "never", }, ], @@ -565,13 +555,9 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Flat Configurat ], "consistent-return": [ 0, - { - "treatUndefinedAsUnspecified": false, - }, ], "consistent-this": [ 0, - "that", ], "constructor-super": [ 0, @@ -582,7 +568,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Flat Configurat ], "default-case": [ 0, - {}, ], "default-case-last": [ 2, @@ -594,7 +579,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Flat Configurat 0, { "allowKeywords": true, - "allowPattern": "", }, ], "eqeqeq": [ @@ -618,15 +602,10 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Flat Configurat "func-names": [ 2, "as-needed", - {}, ], "func-style": [ 0, "expression", - { - "allowArrowFunctions": false, - "overrides": {}, - }, ], "getter-return": [ 0, @@ -636,7 +615,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Flat Configurat ], "grouped-accessor-pairs": [ 2, - "anyOrder", ], "guard-for-in": [ 2, @@ -646,22 +624,9 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Flat Configurat ], "id-length": [ 0, - { - "exceptionPatterns": [], - "exceptions": [], - "min": 2, - "properties": "always", - }, ], "id-match": [ 0, - "^.+$", - { - "classFields": false, - "ignoreDestructuring": false, - "onlyDeclarations": false, - "properties": false, - }, ], "import/consistent-type-specifier-style": [ 2, @@ -1453,10 +1418,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Flat Configurat ], "no-bitwise": [ 2, - { - "allow": [], - "int32Hint": false, - }, ], "no-caller": [ 2, @@ -1491,9 +1452,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Flat Configurat ], "no-constant-condition": [ 2, - { - "checkLoops": "allExceptWhileTrue", - }, ], "no-constructor-return": [ 2, @@ -1530,9 +1488,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Flat Configurat ], "no-duplicate-imports": [ 0, - { - "includeExports": false, - }, ], "no-else-return": [ 2, @@ -1542,9 +1497,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Flat Configurat ], "no-empty": [ 2, - { - "allowEmptyCatch": false, - }, ], "no-empty-character-class": [ 2, @@ -1562,9 +1514,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Flat Configurat ], "no-empty-pattern": [ 2, - { - "allowObjectPatternsAsParameters": false, - }, ], "no-empty-static-block": [ 2, @@ -1574,35 +1523,24 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Flat Configurat ], "no-eval": [ 2, - { - "allowIndirect": false, - }, ], "no-ex-assign": [ 2, ], "no-extend-native": [ 2, - { - "exceptions": [], - }, ], "no-extra-bind": [ 2, ], "no-extra-boolean-cast": [ 2, - {}, ], "no-extra-label": [ 2, ], "no-fallthrough": [ 2, - { - "allowEmptyCase": false, - "reportUnusedFallthroughComment": false, - }, ], "no-func-assign": [ 0, @@ -1625,9 +1563,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Flat Configurat ], "no-implicit-globals": [ 2, - { - "lexicalBindings": false, - }, ], "no-implied-eval": [ 0, @@ -1637,34 +1572,18 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Flat Configurat ], "no-inline-comments": [ 0, - {}, ], "no-inner-declarations": [ 2, - "functions", - { - "blockScopedFunctions": "allow", - }, ], "no-invalid-regexp": [ 2, - {}, ], "no-invalid-this": [ 2, - { - "capIsConstructor": true, - }, ], "no-irregular-whitespace": [ 2, - { - "skipComments": false, - "skipJSXText": false, - "skipRegExps": false, - "skipStrings": true, - "skipTemplates": false, - }, ], "no-iterator": [ 2, @@ -1705,9 +1624,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Flat Configurat ], "no-multi-assign": [ 2, - { - "ignoreNonDeclaration": false, - }, ], "no-multi-str": [ 2, @@ -1775,9 +1691,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Flat Configurat ], "no-promise-executor-return": [ 2, - { - "allowVoid": false, - }, ], "no-proto": [ 2, @@ -1787,9 +1700,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Flat Configurat ], "no-redeclare": [ 0, - { - "builtinGlobals": true, - }, ], "no-regex-spaces": [ 2, @@ -2139,21 +2049,12 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Flat Configurat ], "no-sequences": [ 2, - { - "allowInParentheses": true, - }, ], "no-setter-return": [ 0, ], "no-shadow": [ 0, - { - "allow": [], - "builtinGlobals": false, - "hoist": "functions", - "ignoreOnInitialization": false, - }, ], "no-shadow-restricted-names": [ 2, @@ -2175,9 +2076,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Flat Configurat ], "no-undef": [ 0, - { - "typeof": false, - }, ], "no-undef-init": [ 2, @@ -2225,9 +2123,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Flat Configurat ], "no-unsafe-negation": [ 0, - { - "enforceForOrderingRelations": false, - }, ], "no-unsafe-optional-chaining": [ 2, @@ -2241,7 +2136,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Flat Configurat "allowShortCircuit": true, "allowTaggedTemplates": true, "allowTernary": true, - "enforceForJSX": false, }, ], "no-unused-labels": [ @@ -2260,12 +2154,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Flat Configurat ], "no-use-before-define": [ 0, - { - "allowNamedExports": false, - "classes": true, - "functions": true, - "variables": true, - }, ], "no-useless-backreference": [ 2, @@ -2278,9 +2166,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Flat Configurat ], "no-useless-computed-key": [ 2, - { - "enforceForClassMembers": true, - }, ], "no-useless-concat": [ 2, @@ -2307,9 +2192,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Flat Configurat ], "no-void": [ 2, - { - "allowAsStatement": false, - }, ], "no-warning-comments": [ 0, @@ -2448,7 +2330,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Flat Configurat ], "radix": [ 2, - "always", ], "react-hooks/exhaustive-deps": [ 2, @@ -2905,9 +2786,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Flat Configurat ], "require-atomic-updates": [ 0, - { - "allowProperties": false, - }, ], "require-await": [ 0, @@ -2921,7 +2799,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Flat Configurat "sort-imports": [ 0, { - "allowSeparatedGroups": false, "ignoreCase": false, "ignoreDeclarationSort": false, "ignoreMemberSort": false, @@ -2937,18 +2814,12 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Flat Configurat 0, "asc", { - "allowLineSeparatedGroups": false, "caseSensitive": false, - "ignoreComputedKeys": false, - "minKeys": 2, "natural": true, }, ], "sort-vars": [ 0, - { - "ignoreCase": false, - }, ], "symbol-description": [ 2, @@ -3363,10 +3234,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Flat Configurat ], "use-isnan": [ 2, - { - "enforceForIndexOf": false, - "enforceForSwitchCase": true, - }, ], "valid-typeof": [ 2, @@ -3379,11 +3246,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Flat Configurat ], "yoda": [ 2, - "never", - { - "exceptRange": false, - "onlyEquality": false, - }, ], }, "settings": { diff --git a/tests/snapshot-test/flat/node/__snapshots__/snapshot.test.js.snap b/tests/snapshot-test/flat/node/__snapshots__/snapshot.test.js.snap index 65d7e46f..900962b6 100644 --- a/tests/snapshot-test/flat/node/__snapshots__/snapshot.test.js.snap +++ b/tests/snapshot-test/flat/node/__snapshots__/snapshot.test.js.snap @@ -3,7 +3,7 @@ exports[`should match ESLint Flat Configuration snapshot: node 1`] = ` { "languageOptions": { - "ecmaVersion": 2025, + "ecmaVersion": "latest", "globals": { "AggregateError": false, "Array": false, @@ -102,7 +102,6 @@ exports[`should match ESLint Flat Configuration snapshot: node 1`] = ` "FunctionExpression": "FunctionExpression", "Identifier": "Identifier", "IfStatement": "IfStatement", - "ImportAttribute": "ImportAttribute", "ImportDeclaration": "ImportDeclaration", "ImportDefaultSpecifier": "ImportDefaultSpecifier", "ImportExpression": "ImportExpression", @@ -237,7 +236,6 @@ exports[`should match ESLint Flat Configuration snapshot: node 1`] = ` "ExportAllDeclaration": [ "exported", "source", - "attributes", ], "ExportDefaultDeclaration": [ "declaration", @@ -246,7 +244,6 @@ exports[`should match ESLint Flat Configuration snapshot: node 1`] = ` "declaration", "specifiers", "source", - "attributes", ], "ExportSpecifier": [ "exported", @@ -287,21 +284,15 @@ exports[`should match ESLint Flat Configuration snapshot: node 1`] = ` "consequent", "alternate", ], - "ImportAttribute": [ - "key", - "value", - ], "ImportDeclaration": [ "specifiers", "source", - "attributes", ], "ImportDefaultSpecifier": [ "local", ], "ImportExpression": [ "source", - "options", ], "ImportNamespaceSpecifier": [ "local", @@ -463,7 +454,7 @@ exports[`should match ESLint Flat Configuration snapshot: node 1`] = ` "argument", ], }, - "latestEcmaVersion": 16, + "latestEcmaVersion": 15, "name": "espree", "parse": [Function], "supportedEcmaVersions": [ @@ -479,10 +470,9 @@ exports[`should match ESLint Flat Configuration snapshot: node 1`] = ` 13, 14, 15, - 16, ], "tokenize": [Function], - "version": "10.3.0", + "version": "9.6.1", }, "parserOptions": { "ecmaVersion": "latest", @@ -493,11 +483,6 @@ exports[`should match ESLint Flat Configuration snapshot: node 1`] = ` "rules": { "accessor-pairs": [ 0, - { - "enforceForClassMembers": true, - "getWithoutSet": false, - "setWithoutGet": true, - }, ], "array-bracket-newline": [ 0, @@ -528,7 +513,6 @@ exports[`should match ESLint Flat Configuration snapshot: node 1`] = ` "camelcase": [ 2, { - "allow": [], "ignoreDestructuring": false, "ignoreGlobals": false, "ignoreImports": false, @@ -564,13 +548,9 @@ exports[`should match ESLint Flat Configuration snapshot: node 1`] = ` ], "consistent-return": [ 0, - { - "treatUndefinedAsUnspecified": false, - }, ], "consistent-this": [ 0, - "that", ], "constructor-super": [ 2, @@ -581,7 +561,6 @@ exports[`should match ESLint Flat Configuration snapshot: node 1`] = ` ], "default-case": [ 0, - {}, ], "default-case-last": [ 2, @@ -617,15 +596,10 @@ exports[`should match ESLint Flat Configuration snapshot: node 1`] = ` "func-names": [ 2, "as-needed", - {}, ], "func-style": [ 0, "expression", - { - "allowArrowFunctions": false, - "overrides": {}, - }, ], "getter-return": [ 2, @@ -635,7 +609,6 @@ exports[`should match ESLint Flat Configuration snapshot: node 1`] = ` ], "grouped-accessor-pairs": [ 2, - "anyOrder", ], "guard-for-in": [ 2, @@ -645,22 +618,9 @@ exports[`should match ESLint Flat Configuration snapshot: node 1`] = ` ], "id-length": [ 0, - { - "exceptionPatterns": [], - "exceptions": [], - "min": 2, - "properties": "always", - }, ], "id-match": [ 0, - "^.+$", - { - "classFields": false, - "ignoreDestructuring": false, - "onlyDeclarations": false, - "properties": false, - }, ], "import/consistent-type-specifier-style": [ 2, @@ -1011,10 +971,6 @@ exports[`should match ESLint Flat Configuration snapshot: node 1`] = ` ], "no-bitwise": [ 2, - { - "allow": [], - "int32Hint": false, - }, ], "no-caller": [ 2, @@ -1049,9 +1005,6 @@ exports[`should match ESLint Flat Configuration snapshot: node 1`] = ` ], "no-constant-condition": [ 2, - { - "checkLoops": "allExceptWhileTrue", - }, ], "no-constructor-return": [ 2, @@ -1088,9 +1041,6 @@ exports[`should match ESLint Flat Configuration snapshot: node 1`] = ` ], "no-duplicate-imports": [ 0, - { - "includeExports": false, - }, ], "no-else-return": [ 2, @@ -1100,9 +1050,6 @@ exports[`should match ESLint Flat Configuration snapshot: node 1`] = ` ], "no-empty": [ 2, - { - "allowEmptyCatch": false, - }, ], "no-empty-character-class": [ 2, @@ -1120,9 +1067,6 @@ exports[`should match ESLint Flat Configuration snapshot: node 1`] = ` ], "no-empty-pattern": [ 2, - { - "allowObjectPatternsAsParameters": false, - }, ], "no-empty-static-block": [ 2, @@ -1132,35 +1076,24 @@ exports[`should match ESLint Flat Configuration snapshot: node 1`] = ` ], "no-eval": [ 2, - { - "allowIndirect": false, - }, ], "no-ex-assign": [ 2, ], "no-extend-native": [ 2, - { - "exceptions": [], - }, ], "no-extra-bind": [ 2, ], "no-extra-boolean-cast": [ 2, - {}, ], "no-extra-label": [ 2, ], "no-fallthrough": [ 2, - { - "allowEmptyCase": false, - "reportUnusedFallthroughComment": false, - }, ], "no-func-assign": [ 2, @@ -1183,9 +1116,6 @@ exports[`should match ESLint Flat Configuration snapshot: node 1`] = ` ], "no-implicit-globals": [ 2, - { - "lexicalBindings": false, - }, ], "no-implied-eval": [ 2, @@ -1195,34 +1125,18 @@ exports[`should match ESLint Flat Configuration snapshot: node 1`] = ` ], "no-inline-comments": [ 0, - {}, ], "no-inner-declarations": [ 2, - "functions", - { - "blockScopedFunctions": "allow", - }, ], "no-invalid-regexp": [ 2, - {}, ], "no-invalid-this": [ 2, - { - "capIsConstructor": true, - }, ], "no-irregular-whitespace": [ 2, - { - "skipComments": false, - "skipJSXText": false, - "skipRegExps": false, - "skipStrings": true, - "skipTemplates": false, - }, ], "no-iterator": [ 2, @@ -1263,9 +1177,6 @@ exports[`should match ESLint Flat Configuration snapshot: node 1`] = ` ], "no-multi-assign": [ 2, - { - "ignoreNonDeclaration": false, - }, ], "no-multi-str": [ 2, @@ -1330,9 +1241,6 @@ exports[`should match ESLint Flat Configuration snapshot: node 1`] = ` ], "no-promise-executor-return": [ 2, - { - "allowVoid": false, - }, ], "no-proto": [ 2, @@ -1685,21 +1593,12 @@ exports[`should match ESLint Flat Configuration snapshot: node 1`] = ` ], "no-sequences": [ 2, - { - "allowInParentheses": true, - }, ], "no-setter-return": [ 2, ], "no-shadow": [ 0, - { - "allow": [], - "builtinGlobals": false, - "hoist": "functions", - "ignoreOnInitialization": false, - }, ], "no-shadow-restricted-names": [ 2, @@ -1721,9 +1620,6 @@ exports[`should match ESLint Flat Configuration snapshot: node 1`] = ` ], "no-undef": [ 0, - { - "typeof": false, - }, ], "no-undef-init": [ 2, @@ -1771,9 +1667,6 @@ exports[`should match ESLint Flat Configuration snapshot: node 1`] = ` ], "no-unsafe-negation": [ 2, - { - "enforceForOrderingRelations": false, - }, ], "no-unsafe-optional-chaining": [ 2, @@ -1806,12 +1699,6 @@ exports[`should match ESLint Flat Configuration snapshot: node 1`] = ` ], "no-use-before-define": [ 0, - { - "allowNamedExports": false, - "classes": true, - "functions": true, - "variables": true, - }, ], "no-useless-backreference": [ 2, @@ -1824,9 +1711,6 @@ exports[`should match ESLint Flat Configuration snapshot: node 1`] = ` ], "no-useless-computed-key": [ 2, - { - "enforceForClassMembers": true, - }, ], "no-useless-concat": [ 2, @@ -1853,9 +1737,6 @@ exports[`should match ESLint Flat Configuration snapshot: node 1`] = ` ], "no-void": [ 2, - { - "allowAsStatement": false, - }, ], "no-warning-comments": [ 0, @@ -1994,13 +1875,9 @@ exports[`should match ESLint Flat Configuration snapshot: node 1`] = ` ], "radix": [ 2, - "always", ], "require-atomic-updates": [ 0, - { - "allowProperties": false, - }, ], "require-await": [ 0, @@ -2014,7 +1891,6 @@ exports[`should match ESLint Flat Configuration snapshot: node 1`] = ` "sort-imports": [ 0, { - "allowSeparatedGroups": false, "ignoreCase": false, "ignoreDeclarationSort": false, "ignoreMemberSort": false, @@ -2030,18 +1906,12 @@ exports[`should match ESLint Flat Configuration snapshot: node 1`] = ` 0, "asc", { - "allowLineSeparatedGroups": false, "caseSensitive": false, - "ignoreComputedKeys": false, - "minKeys": 2, "natural": true, }, ], "sort-vars": [ 0, - { - "ignoreCase": false, - }, ], "symbol-description": [ 2, @@ -2456,10 +2326,6 @@ exports[`should match ESLint Flat Configuration snapshot: node 1`] = ` ], "use-isnan": [ 2, - { - "enforceForIndexOf": false, - "enforceForSwitchCase": true, - }, ], "valid-typeof": [ 2, @@ -2472,11 +2338,6 @@ exports[`should match ESLint Flat Configuration snapshot: node 1`] = ` ], "yoda": [ 2, - "never", - { - "exceptRange": false, - "onlyEquality": false, - }, ], }, "settings": { diff --git a/tests/snapshot-test/flat/react/__snapshots__/snapshot.test.js.snap b/tests/snapshot-test/flat/react/__snapshots__/snapshot.test.js.snap index a089a321..d1fe0a9e 100644 --- a/tests/snapshot-test/flat/react/__snapshots__/snapshot.test.js.snap +++ b/tests/snapshot-test/flat/react/__snapshots__/snapshot.test.js.snap @@ -3,7 +3,7 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Configuration snapshot: react 1`] = ` { "languageOptions": { - "ecmaVersion": 2025, + "ecmaVersion": "latest", "globals": { "AggregateError": false, "Array": false, @@ -191,9 +191,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Configuration s ], "@typescript-eslint/no-empty-function": [ 2, - { - "allow": [], - }, ], "@typescript-eslint/no-empty-object-type": [ 2, @@ -318,6 +315,7 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Configuration s "allowShortCircuit": true, "allowTaggedTemplates": true, "allowTernary": true, + "enforceForJSX": false, }, ], "@typescript-eslint/no-unused-vars": [ @@ -431,11 +429,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Configuration s ], "accessor-pairs": [ 0, - { - "enforceForClassMembers": true, - "getWithoutSet": false, - "setWithoutGet": true, - }, ], "array-bracket-newline": [ 0, @@ -466,10 +459,7 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Configuration s "camelcase": [ 0, { - "allow": [], "ignoreDestructuring": false, - "ignoreGlobals": false, - "ignoreImports": false, "properties": "never", }, ], @@ -502,13 +492,9 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Configuration s ], "consistent-return": [ 0, - { - "treatUndefinedAsUnspecified": false, - }, ], "consistent-this": [ 0, - "that", ], "constructor-super": [ 0, @@ -519,7 +505,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Configuration s ], "default-case": [ 0, - {}, ], "default-case-last": [ 2, @@ -531,7 +516,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Configuration s 0, { "allowKeywords": true, - "allowPattern": "", }, ], "eqeqeq": [ @@ -555,15 +539,10 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Configuration s "func-names": [ 2, "as-needed", - {}, ], "func-style": [ 0, "expression", - { - "allowArrowFunctions": false, - "overrides": {}, - }, ], "getter-return": [ 0, @@ -573,7 +552,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Configuration s ], "grouped-accessor-pairs": [ 2, - "anyOrder", ], "guard-for-in": [ 2, @@ -583,22 +561,9 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Configuration s ], "id-length": [ 0, - { - "exceptionPatterns": [], - "exceptions": [], - "min": 2, - "properties": "always", - }, ], "id-match": [ 0, - "^.+$", - { - "classFields": false, - "ignoreDestructuring": false, - "onlyDeclarations": false, - "properties": false, - }, ], "import/consistent-type-specifier-style": [ 2, @@ -1390,10 +1355,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Configuration s ], "no-bitwise": [ 2, - { - "allow": [], - "int32Hint": false, - }, ], "no-caller": [ 2, @@ -1428,9 +1389,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Configuration s ], "no-constant-condition": [ 2, - { - "checkLoops": "allExceptWhileTrue", - }, ], "no-constructor-return": [ 2, @@ -1467,9 +1425,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Configuration s ], "no-duplicate-imports": [ 0, - { - "includeExports": false, - }, ], "no-else-return": [ 2, @@ -1479,9 +1434,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Configuration s ], "no-empty": [ 2, - { - "allowEmptyCatch": false, - }, ], "no-empty-character-class": [ 2, @@ -1499,9 +1451,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Configuration s ], "no-empty-pattern": [ 2, - { - "allowObjectPatternsAsParameters": false, - }, ], "no-empty-static-block": [ 2, @@ -1511,35 +1460,24 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Configuration s ], "no-eval": [ 2, - { - "allowIndirect": false, - }, ], "no-ex-assign": [ 2, ], "no-extend-native": [ 2, - { - "exceptions": [], - }, ], "no-extra-bind": [ 2, ], "no-extra-boolean-cast": [ 2, - {}, ], "no-extra-label": [ 2, ], "no-fallthrough": [ 2, - { - "allowEmptyCase": false, - "reportUnusedFallthroughComment": false, - }, ], "no-func-assign": [ 0, @@ -1562,9 +1500,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Configuration s ], "no-implicit-globals": [ 2, - { - "lexicalBindings": false, - }, ], "no-implied-eval": [ 0, @@ -1574,34 +1509,18 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Configuration s ], "no-inline-comments": [ 0, - {}, ], "no-inner-declarations": [ 2, - "functions", - { - "blockScopedFunctions": "allow", - }, ], "no-invalid-regexp": [ 2, - {}, ], "no-invalid-this": [ 2, - { - "capIsConstructor": true, - }, ], "no-irregular-whitespace": [ 2, - { - "skipComments": false, - "skipJSXText": false, - "skipRegExps": false, - "skipStrings": true, - "skipTemplates": false, - }, ], "no-iterator": [ 2, @@ -1642,9 +1561,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Configuration s ], "no-multi-assign": [ 2, - { - "ignoreNonDeclaration": false, - }, ], "no-multi-str": [ 2, @@ -1712,9 +1628,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Configuration s ], "no-promise-executor-return": [ 2, - { - "allowVoid": false, - }, ], "no-proto": [ 2, @@ -1724,9 +1637,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Configuration s ], "no-redeclare": [ 0, - { - "builtinGlobals": true, - }, ], "no-regex-spaces": [ 2, @@ -2076,21 +1986,12 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Configuration s ], "no-sequences": [ 2, - { - "allowInParentheses": true, - }, ], "no-setter-return": [ 0, ], "no-shadow": [ 0, - { - "allow": [], - "builtinGlobals": false, - "hoist": "functions", - "ignoreOnInitialization": false, - }, ], "no-shadow-restricted-names": [ 2, @@ -2112,9 +2013,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Configuration s ], "no-undef": [ 0, - { - "typeof": false, - }, ], "no-undef-init": [ 2, @@ -2162,9 +2060,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Configuration s ], "no-unsafe-negation": [ 0, - { - "enforceForOrderingRelations": false, - }, ], "no-unsafe-optional-chaining": [ 2, @@ -2178,7 +2073,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Configuration s "allowShortCircuit": true, "allowTaggedTemplates": true, "allowTernary": true, - "enforceForJSX": false, }, ], "no-unused-labels": [ @@ -2197,12 +2091,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Configuration s ], "no-use-before-define": [ 0, - { - "allowNamedExports": false, - "classes": true, - "functions": true, - "variables": true, - }, ], "no-useless-backreference": [ 2, @@ -2215,9 +2103,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Configuration s ], "no-useless-computed-key": [ 2, - { - "enforceForClassMembers": true, - }, ], "no-useless-concat": [ 2, @@ -2244,9 +2129,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Configuration s ], "no-void": [ 2, - { - "allowAsStatement": false, - }, ], "no-warning-comments": [ 0, @@ -2385,7 +2267,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Configuration s ], "radix": [ 2, - "always", ], "react-hooks/exhaustive-deps": [ 2, @@ -2842,9 +2723,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Configuration s ], "require-atomic-updates": [ 0, - { - "allowProperties": false, - }, ], "require-await": [ 0, @@ -2858,7 +2736,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Configuration s "sort-imports": [ 0, { - "allowSeparatedGroups": false, "ignoreCase": false, "ignoreDeclarationSort": false, "ignoreMemberSort": false, @@ -2874,18 +2751,12 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Configuration s 0, "asc", { - "allowLineSeparatedGroups": false, "caseSensitive": false, - "ignoreComputedKeys": false, - "minKeys": 2, "natural": true, }, ], "sort-vars": [ 0, - { - "ignoreCase": false, - }, ], "symbol-description": [ 2, @@ -3300,10 +3171,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Configuration s ], "use-isnan": [ 2, - { - "enforceForIndexOf": false, - "enforceForSwitchCase": true, - }, ], "valid-typeof": [ 2, @@ -3316,11 +3183,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Configuration s ], "yoda": [ 2, - "never", - { - "exceptRange": false, - "onlyEquality": false, - }, ], }, "settings": { diff --git a/tests/snapshot-test/flat/storybook/__snapshots__/snapshot.test.js.snap b/tests/snapshot-test/flat/storybook/__snapshots__/snapshot.test.js.snap index f90dd4b4..5176bd79 100644 --- a/tests/snapshot-test/flat/storybook/__snapshots__/snapshot.test.js.snap +++ b/tests/snapshot-test/flat/storybook/__snapshots__/snapshot.test.js.snap @@ -3,7 +3,7 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Flat Configuration snapshot: storybook 1`] = ` { "languageOptions": { - "ecmaVersion": 2025, + "ecmaVersion": "latest", "globals": { "AggregateError": false, "Array": false, @@ -191,9 +191,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Flat Configurat ], "@typescript-eslint/no-empty-function": [ 2, - { - "allow": [], - }, ], "@typescript-eslint/no-empty-object-type": [ 2, @@ -318,6 +315,7 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Flat Configurat "allowShortCircuit": true, "allowTaggedTemplates": true, "allowTernary": true, + "enforceForJSX": false, }, ], "@typescript-eslint/no-unused-vars": [ @@ -431,11 +429,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Flat Configurat ], "accessor-pairs": [ 0, - { - "enforceForClassMembers": true, - "getWithoutSet": false, - "setWithoutGet": true, - }, ], "array-bracket-newline": [ 0, @@ -466,10 +459,7 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Flat Configurat "camelcase": [ 0, { - "allow": [], "ignoreDestructuring": false, - "ignoreGlobals": false, - "ignoreImports": false, "properties": "never", }, ], @@ -502,13 +492,9 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Flat Configurat ], "consistent-return": [ 0, - { - "treatUndefinedAsUnspecified": false, - }, ], "consistent-this": [ 0, - "that", ], "constructor-super": [ 0, @@ -519,7 +505,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Flat Configurat ], "default-case": [ 0, - {}, ], "default-case-last": [ 2, @@ -531,7 +516,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Flat Configurat 0, { "allowKeywords": true, - "allowPattern": "", }, ], "eqeqeq": [ @@ -555,15 +539,10 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Flat Configurat "func-names": [ 2, "as-needed", - {}, ], "func-style": [ 0, "expression", - { - "allowArrowFunctions": false, - "overrides": {}, - }, ], "getter-return": [ 0, @@ -573,7 +552,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Flat Configurat ], "grouped-accessor-pairs": [ 2, - "anyOrder", ], "guard-for-in": [ 2, @@ -583,22 +561,9 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Flat Configurat ], "id-length": [ 0, - { - "exceptionPatterns": [], - "exceptions": [], - "min": 2, - "properties": "always", - }, ], "id-match": [ 0, - "^.+$", - { - "classFields": false, - "ignoreDestructuring": false, - "onlyDeclarations": false, - "properties": false, - }, ], "import/consistent-type-specifier-style": [ 2, @@ -1147,10 +1112,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Flat Configurat ], "no-bitwise": [ 2, - { - "allow": [], - "int32Hint": false, - }, ], "no-caller": [ 2, @@ -1185,9 +1146,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Flat Configurat ], "no-constant-condition": [ 2, - { - "checkLoops": "allExceptWhileTrue", - }, ], "no-constructor-return": [ 2, @@ -1224,9 +1182,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Flat Configurat ], "no-duplicate-imports": [ 0, - { - "includeExports": false, - }, ], "no-else-return": [ 2, @@ -1236,9 +1191,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Flat Configurat ], "no-empty": [ 2, - { - "allowEmptyCatch": false, - }, ], "no-empty-character-class": [ 2, @@ -1256,9 +1208,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Flat Configurat ], "no-empty-pattern": [ 2, - { - "allowObjectPatternsAsParameters": false, - }, ], "no-empty-static-block": [ 2, @@ -1268,35 +1217,24 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Flat Configurat ], "no-eval": [ 2, - { - "allowIndirect": false, - }, ], "no-ex-assign": [ 2, ], "no-extend-native": [ 2, - { - "exceptions": [], - }, ], "no-extra-bind": [ 2, ], "no-extra-boolean-cast": [ 2, - {}, ], "no-extra-label": [ 2, ], "no-fallthrough": [ 2, - { - "allowEmptyCase": false, - "reportUnusedFallthroughComment": false, - }, ], "no-func-assign": [ 0, @@ -1319,9 +1257,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Flat Configurat ], "no-implicit-globals": [ 2, - { - "lexicalBindings": false, - }, ], "no-implied-eval": [ 0, @@ -1331,34 +1266,18 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Flat Configurat ], "no-inline-comments": [ 0, - {}, ], "no-inner-declarations": [ 2, - "functions", - { - "blockScopedFunctions": "allow", - }, ], "no-invalid-regexp": [ 2, - {}, ], "no-invalid-this": [ 2, - { - "capIsConstructor": true, - }, ], "no-irregular-whitespace": [ 2, - { - "skipComments": false, - "skipJSXText": false, - "skipRegExps": false, - "skipStrings": true, - "skipTemplates": false, - }, ], "no-iterator": [ 2, @@ -1399,9 +1318,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Flat Configurat ], "no-multi-assign": [ 2, - { - "ignoreNonDeclaration": false, - }, ], "no-multi-str": [ 2, @@ -1469,9 +1385,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Flat Configurat ], "no-promise-executor-return": [ 2, - { - "allowVoid": false, - }, ], "no-proto": [ 2, @@ -1481,9 +1394,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Flat Configurat ], "no-redeclare": [ 0, - { - "builtinGlobals": true, - }, ], "no-regex-spaces": [ 2, @@ -1833,21 +1743,12 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Flat Configurat ], "no-sequences": [ 2, - { - "allowInParentheses": true, - }, ], "no-setter-return": [ 0, ], "no-shadow": [ 0, - { - "allow": [], - "builtinGlobals": false, - "hoist": "functions", - "ignoreOnInitialization": false, - }, ], "no-shadow-restricted-names": [ 2, @@ -1869,9 +1770,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Flat Configurat ], "no-undef": [ 0, - { - "typeof": false, - }, ], "no-undef-init": [ 2, @@ -1919,9 +1817,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Flat Configurat ], "no-unsafe-negation": [ 0, - { - "enforceForOrderingRelations": false, - }, ], "no-unsafe-optional-chaining": [ 2, @@ -1935,7 +1830,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Flat Configurat "allowShortCircuit": true, "allowTaggedTemplates": true, "allowTernary": true, - "enforceForJSX": false, }, ], "no-unused-labels": [ @@ -1954,12 +1848,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Flat Configurat ], "no-use-before-define": [ 0, - { - "allowNamedExports": false, - "classes": true, - "functions": true, - "variables": true, - }, ], "no-useless-backreference": [ 2, @@ -1972,9 +1860,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Flat Configurat ], "no-useless-computed-key": [ 2, - { - "enforceForClassMembers": true, - }, ], "no-useless-concat": [ 2, @@ -2001,9 +1886,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Flat Configurat ], "no-void": [ 2, - { - "allowAsStatement": false, - }, ], "no-warning-comments": [ 0, @@ -2142,7 +2024,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Flat Configurat ], "radix": [ 2, - "always", ], "react-hooks/exhaustive-deps": [ 2, @@ -2599,9 +2480,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Flat Configurat ], "require-atomic-updates": [ 0, - { - "allowProperties": false, - }, ], "require-await": [ 0, @@ -2615,7 +2493,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Flat Configurat "sort-imports": [ 0, { - "allowSeparatedGroups": false, "ignoreCase": false, "ignoreDeclarationSort": false, "ignoreMemberSort": false, @@ -2631,18 +2508,12 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Flat Configurat 0, "asc", { - "allowLineSeparatedGroups": false, "caseSensitive": false, - "ignoreComputedKeys": false, - "minKeys": 2, "natural": true, }, ], "sort-vars": [ 0, - { - "ignoreCase": false, - }, ], "storybook/await-interactions": [ 2, @@ -3093,10 +2964,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Flat Configurat ], "use-isnan": [ 2, - { - "enforceForIndexOf": false, - "enforceForSwitchCase": true, - }, ], "valid-typeof": [ 2, @@ -3109,11 +2976,6 @@ exports[`ESLint Configuration Snapshot Tests should match ESLint Flat Configurat ], "yoda": [ 2, - "never", - { - "exceptRange": false, - "onlyEquality": false, - }, ], }, "settings": {