From 035129363b58b8aacc2ff8ae094cc33208735f6e Mon Sep 17 00:00:00 2001 From: wakamsha Date: Sat, 7 Dec 2024 12:12:07 +0900 Subject: [PATCH] update snapshot --- .../next/__snapshots__/snapshot.test.js.snap | 26 +++ .../node/__snapshots__/snapshot.test.js.snap | 14 ++ .../react/__snapshots__/snapshot.test.js.snap | 26 +++ .../__snapshots__/snapshot.test.js.snap | 14 ++ .../next/__snapshots__/snapshot.test.js.snap | 151 ++---------------- .../node/__snapshots__/snapshot.test.js.snap | 145 +---------------- .../react/__snapshots__/snapshot.test.js.snap | 151 ++---------------- .../__snapshots__/snapshot.test.js.snap | 139 +--------------- 8 files changed, 113 insertions(+), 553 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 e9feb11..e2cb099 100644 --- a/tests/snapshot-test/eslintrc/next/__snapshots__/snapshot.test.js.snap +++ b/tests/snapshot-test/eslintrc/next/__snapshots__/snapshot.test.js.snap @@ -290,6 +290,7 @@ exports[`should match ESLint configuration snapshot: next 1`] = ` "allowShortCircuit": true, "allowTaggedTemplates": true, "allowTernary": true, + "enforceForJSX": false, }, ], "@typescript-eslint/no-unused-vars": [ @@ -405,6 +406,8 @@ exports[`should match ESLint configuration snapshot: next 1`] = ` 2, { "allowImplicit": true, + "allowVoid": false, + "checkForEach": false, }, ], "arrow-body-style": [ @@ -425,6 +428,8 @@ exports[`should match ESLint configuration snapshot: next 1`] = ` 0, { "ignoreDestructuring": false, + "ignoreGlobals": false, + "ignoreImports": false, "properties": "never", }, ], @@ -447,6 +452,7 @@ exports[`should match ESLint configuration snapshot: next 1`] = ` "class-methods-use-this": [ 2, { + "enforceForClassFields": true, "exceptMethods": [], }, ], @@ -784,12 +790,18 @@ exports[`should match ESLint configuration snapshot: next 1`] = ` ], }, ], + "jsdoc/check-template-names": [ + 0, + ], "jsdoc/check-types": [ 2, ], "jsdoc/check-values": [ 2, ], + "jsdoc/convert-to-jsdoc-comments": [ + 0, + ], "jsdoc/empty-tags": [ 2, ], @@ -802,6 +814,9 @@ exports[`should match ESLint configuration snapshot: next 1`] = ` "jsdoc/informative-docs": [ 0, ], + "jsdoc/lines-before-block": [ + 0, + ], "jsdoc/match-description": [ 0, ], @@ -950,6 +965,9 @@ exports[`should match ESLint configuration snapshot: next 1`] = ` "jsdoc/require-returns-type": [ 0, ], + "jsdoc/require-template": [ + 0, + ], "jsdoc/require-throws": [ 0, ], @@ -1305,6 +1323,7 @@ exports[`should match ESLint configuration snapshot: next 1`] = ` ], "newIsCap": true, "newIsCapExceptions": [], + "properties": true, }, ], "no-alert": [ @@ -1459,6 +1478,7 @@ exports[`should match ESLint configuration snapshot: next 1`] = ` { "allow": [], "boolean": false, + "disallowTemplateShorthand": false, "number": true, "string": true, }, @@ -1988,6 +2008,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, }, ], @@ -2030,6 +2055,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 e8b87c9..411803b 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 a7b5928..a6d3fd1 100644 --- a/tests/snapshot-test/eslintrc/react/__snapshots__/snapshot.test.js.snap +++ b/tests/snapshot-test/eslintrc/react/__snapshots__/snapshot.test.js.snap @@ -227,6 +227,7 @@ exports[`should match ESLint configuration snapshot: react 1`] = ` "allowShortCircuit": true, "allowTaggedTemplates": true, "allowTernary": true, + "enforceForJSX": false, }, ], "@typescript-eslint/no-unused-vars": [ @@ -342,6 +343,8 @@ exports[`should match ESLint configuration snapshot: react 1`] = ` 2, { "allowImplicit": true, + "allowVoid": false, + "checkForEach": false, }, ], "arrow-body-style": [ @@ -362,6 +365,8 @@ exports[`should match ESLint configuration snapshot: react 1`] = ` 0, { "ignoreDestructuring": false, + "ignoreGlobals": false, + "ignoreImports": false, "properties": "never", }, ], @@ -384,6 +389,7 @@ exports[`should match ESLint configuration snapshot: react 1`] = ` "class-methods-use-this": [ 2, { + "enforceForClassFields": true, "exceptMethods": [], }, ], @@ -721,12 +727,18 @@ exports[`should match ESLint configuration snapshot: react 1`] = ` ], }, ], + "jsdoc/check-template-names": [ + 0, + ], "jsdoc/check-types": [ 2, ], "jsdoc/check-values": [ 2, ], + "jsdoc/convert-to-jsdoc-comments": [ + 0, + ], "jsdoc/empty-tags": [ 2, ], @@ -739,6 +751,9 @@ exports[`should match ESLint configuration snapshot: react 1`] = ` "jsdoc/informative-docs": [ 0, ], + "jsdoc/lines-before-block": [ + 0, + ], "jsdoc/match-description": [ 0, ], @@ -887,6 +902,9 @@ exports[`should match ESLint configuration snapshot: react 1`] = ` "jsdoc/require-returns-type": [ 0, ], + "jsdoc/require-template": [ + 0, + ], "jsdoc/require-throws": [ 0, ], @@ -1242,6 +1260,7 @@ exports[`should match ESLint configuration snapshot: react 1`] = ` ], "newIsCap": true, "newIsCapExceptions": [], + "properties": true, }, ], "no-alert": [ @@ -1396,6 +1415,7 @@ exports[`should match ESLint configuration snapshot: react 1`] = ` { "allow": [], "boolean": false, + "disallowTemplateShorthand": false, "number": true, "string": true, }, @@ -1925,6 +1945,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, }, ], @@ -1967,6 +1992,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 439e379..5505acc 100644 --- a/tests/snapshot-test/eslintrc/storybook/__snapshots__/snapshot.test.js.snap +++ b/tests/snapshot-test/eslintrc/storybook/__snapshots__/snapshot.test.js.snap @@ -227,6 +227,7 @@ exports[`should match ESLint configuration snapshot: storybook 1`] = ` "allowShortCircuit": true, "allowTaggedTemplates": true, "allowTernary": true, + "enforceForJSX": false, }, ], "@typescript-eslint/no-unused-vars": [ @@ -342,6 +343,8 @@ exports[`should match ESLint configuration snapshot: storybook 1`] = ` 2, { "allowImplicit": true, + "allowVoid": false, + "checkForEach": false, }, ], "arrow-body-style": [ @@ -362,6 +365,8 @@ exports[`should match ESLint configuration snapshot: storybook 1`] = ` 0, { "ignoreDestructuring": false, + "ignoreGlobals": false, + "ignoreImports": false, "properties": "never", }, ], @@ -384,6 +389,7 @@ exports[`should match ESLint configuration snapshot: storybook 1`] = ` "class-methods-use-this": [ 2, { + "enforceForClassFields": true, "exceptMethods": [], }, ], @@ -1011,6 +1017,7 @@ exports[`should match ESLint configuration snapshot: storybook 1`] = ` ], "newIsCap": true, "newIsCapExceptions": [], + "properties": true, }, ], "no-alert": [ @@ -1165,6 +1172,7 @@ exports[`should match ESLint configuration snapshot: storybook 1`] = ` { "allow": [], "boolean": false, + "disallowTemplateShorthand": false, "number": true, "string": true, }, @@ -1694,6 +1702,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, }, ], @@ -1736,6 +1749,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 a65b804..9b2236a 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[`should match ESLint Flat Configuration snapshot: next 1`] = ` { "languageOptions": { - "ecmaVersion": 2025, + "ecmaVersion": "latest", "globals": { "AggregateError": false, "Array": false, @@ -372,6 +372,7 @@ exports[`should match ESLint Flat Configuration snapshot: next 1`] = ` "allowShortCircuit": true, "allowTaggedTemplates": true, "allowTernary": true, + "enforceForJSX": false, }, ], "@typescript-eslint/no-unused-vars": [ @@ -478,11 +479,6 @@ exports[`should match ESLint Flat Configuration snapshot: next 1`] = ` ], "accessor-pairs": [ 0, - { - "enforceForClassMembers": true, - "getWithoutSet": false, - "setWithoutGet": true, - }, ], "array-bracket-newline": [ 0, @@ -513,10 +509,7 @@ exports[`should match ESLint Flat Configuration snapshot: next 1`] = ` "camelcase": [ 0, { - "allow": [], "ignoreDestructuring": false, - "ignoreGlobals": false, - "ignoreImports": false, "properties": "never", }, ], @@ -549,13 +542,9 @@ exports[`should match ESLint Flat Configuration snapshot: next 1`] = ` ], "consistent-return": [ 0, - { - "treatUndefinedAsUnspecified": false, - }, ], "consistent-this": [ 0, - "that", ], "constructor-super": [ 0, @@ -566,7 +555,6 @@ exports[`should match ESLint Flat Configuration snapshot: next 1`] = ` ], "default-case": [ 0, - {}, ], "default-case-last": [ 2, @@ -578,7 +566,6 @@ exports[`should match ESLint Flat Configuration snapshot: next 1`] = ` 0, { "allowKeywords": true, - "allowPattern": "", }, ], "eqeqeq": [ @@ -602,15 +589,10 @@ exports[`should match ESLint Flat Configuration snapshot: next 1`] = ` "func-names": [ 2, "as-needed", - {}, ], "func-style": [ 0, "expression", - { - "allowArrowFunctions": false, - "overrides": {}, - }, ], "getter-return": [ 0, @@ -620,7 +602,6 @@ exports[`should match ESLint Flat Configuration snapshot: next 1`] = ` ], "grouped-accessor-pairs": [ 2, - "anyOrder", ], "guard-for-in": [ 2, @@ -630,22 +611,9 @@ exports[`should match ESLint Flat Configuration snapshot: next 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, @@ -898,12 +866,18 @@ exports[`should match ESLint Flat Configuration snapshot: next 1`] = ` ], }, ], + "jsdoc/check-template-names": [ + 0, + ], "jsdoc/check-types": [ 2, ], "jsdoc/check-values": [ 2, ], + "jsdoc/convert-to-jsdoc-comments": [ + 0, + ], "jsdoc/empty-tags": [ 2, ], @@ -916,6 +890,9 @@ exports[`should match ESLint Flat Configuration snapshot: next 1`] = ` "jsdoc/informative-docs": [ 0, ], + "jsdoc/lines-before-block": [ + 0, + ], "jsdoc/match-description": [ 0, ], @@ -1064,6 +1041,9 @@ exports[`should match ESLint Flat Configuration snapshot: next 1`] = ` "jsdoc/require-returns-type": [ 0, ], + "jsdoc/require-template": [ + 0, + ], "jsdoc/require-throws": [ 0, ], @@ -1425,10 +1405,6 @@ exports[`should match ESLint Flat Configuration snapshot: next 1`] = ` ], "no-bitwise": [ 2, - { - "allow": [], - "int32Hint": false, - }, ], "no-caller": [ 2, @@ -1463,9 +1439,6 @@ exports[`should match ESLint Flat Configuration snapshot: next 1`] = ` ], "no-constant-condition": [ 2, - { - "checkLoops": "allExceptWhileTrue", - }, ], "no-constructor-return": [ 2, @@ -1502,9 +1475,6 @@ exports[`should match ESLint Flat Configuration snapshot: next 1`] = ` ], "no-duplicate-imports": [ 0, - { - "includeExports": false, - }, ], "no-else-return": [ 2, @@ -1514,9 +1484,6 @@ exports[`should match ESLint Flat Configuration snapshot: next 1`] = ` ], "no-empty": [ 2, - { - "allowEmptyCatch": false, - }, ], "no-empty-character-class": [ 2, @@ -1534,9 +1501,6 @@ exports[`should match ESLint Flat Configuration snapshot: next 1`] = ` ], "no-empty-pattern": [ 2, - { - "allowObjectPatternsAsParameters": false, - }, ], "no-empty-static-block": [ 2, @@ -1546,35 +1510,24 @@ exports[`should match ESLint Flat Configuration snapshot: next 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": [ 0, @@ -1597,9 +1550,6 @@ exports[`should match ESLint Flat Configuration snapshot: next 1`] = ` ], "no-implicit-globals": [ 2, - { - "lexicalBindings": false, - }, ], "no-implied-eval": [ 0, @@ -1609,34 +1559,18 @@ exports[`should match ESLint Flat Configuration snapshot: next 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, @@ -1677,9 +1611,6 @@ exports[`should match ESLint Flat Configuration snapshot: next 1`] = ` ], "no-multi-assign": [ 2, - { - "ignoreNonDeclaration": false, - }, ], "no-multi-str": [ 2, @@ -1747,9 +1678,6 @@ exports[`should match ESLint Flat Configuration snapshot: next 1`] = ` ], "no-promise-executor-return": [ 2, - { - "allowVoid": false, - }, ], "no-proto": [ 2, @@ -1759,9 +1687,6 @@ exports[`should match ESLint Flat Configuration snapshot: next 1`] = ` ], "no-redeclare": [ 0, - { - "builtinGlobals": true, - }, ], "no-regex-spaces": [ 2, @@ -2108,21 +2033,12 @@ exports[`should match ESLint Flat Configuration snapshot: next 1`] = ` ], "no-sequences": [ 2, - { - "allowInParentheses": true, - }, ], "no-setter-return": [ 0, ], "no-shadow": [ 0, - { - "allow": [], - "builtinGlobals": false, - "hoist": "functions", - "ignoreOnInitialization": false, - }, ], "no-shadow-restricted-names": [ 2, @@ -2144,9 +2060,6 @@ exports[`should match ESLint Flat Configuration snapshot: next 1`] = ` ], "no-undef": [ 0, - { - "typeof": false, - }, ], "no-undef-init": [ 2, @@ -2194,9 +2107,6 @@ exports[`should match ESLint Flat Configuration snapshot: next 1`] = ` ], "no-unsafe-negation": [ 0, - { - "enforceForOrderingRelations": false, - }, ], "no-unsafe-optional-chaining": [ 2, @@ -2210,7 +2120,6 @@ exports[`should match ESLint Flat Configuration snapshot: next 1`] = ` "allowShortCircuit": true, "allowTaggedTemplates": true, "allowTernary": true, - "enforceForJSX": false, }, ], "no-unused-labels": [ @@ -2229,12 +2138,6 @@ exports[`should match ESLint Flat Configuration snapshot: next 1`] = ` ], "no-use-before-define": [ 0, - { - "allowNamedExports": false, - "classes": true, - "functions": true, - "variables": true, - }, ], "no-useless-backreference": [ 2, @@ -2247,9 +2150,6 @@ exports[`should match ESLint Flat Configuration snapshot: next 1`] = ` ], "no-useless-computed-key": [ 2, - { - "enforceForClassMembers": true, - }, ], "no-useless-concat": [ 2, @@ -2276,9 +2176,6 @@ exports[`should match ESLint Flat Configuration snapshot: next 1`] = ` ], "no-void": [ 2, - { - "allowAsStatement": false, - }, ], "no-warning-comments": [ 0, @@ -2417,7 +2314,6 @@ exports[`should match ESLint Flat Configuration snapshot: next 1`] = ` ], "radix": [ 2, - "always", ], "react-hooks/exhaustive-deps": [ 2, @@ -2874,9 +2770,6 @@ exports[`should match ESLint Flat Configuration snapshot: next 1`] = ` ], "require-atomic-updates": [ 0, - { - "allowProperties": false, - }, ], "require-await": [ 0, @@ -2890,7 +2783,6 @@ exports[`should match ESLint Flat Configuration snapshot: next 1`] = ` "sort-imports": [ 0, { - "allowSeparatedGroups": false, "ignoreCase": false, "ignoreDeclarationSort": false, "ignoreMemberSort": false, @@ -2906,18 +2798,12 @@ exports[`should match ESLint Flat Configuration snapshot: next 1`] = ` 0, "asc", { - "allowLineSeparatedGroups": false, "caseSensitive": false, - "ignoreComputedKeys": false, - "minKeys": 2, "natural": true, }, ], "sort-vars": [ 0, - { - "ignoreCase": false, - }, ], "symbol-description": [ 2, @@ -3332,10 +3218,6 @@ exports[`should match ESLint Flat Configuration snapshot: next 1`] = ` ], "use-isnan": [ 2, - { - "enforceForIndexOf": false, - "enforceForSwitchCase": true, - }, ], "valid-typeof": [ 2, @@ -3348,11 +3230,6 @@ exports[`should match ESLint Flat Configuration snapshot: next 1`] = ` ], "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 65d7e46..900962b 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 07b50a0..5822159 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[`should match ESLint Configuration snapshot: react 1`] = ` { "languageOptions": { - "ecmaVersion": 2025, + "ecmaVersion": "latest", "globals": { "AggregateError": false, "Array": false, @@ -309,6 +309,7 @@ exports[`should match ESLint Configuration snapshot: react 1`] = ` "allowShortCircuit": true, "allowTaggedTemplates": true, "allowTernary": true, + "enforceForJSX": false, }, ], "@typescript-eslint/no-unused-vars": [ @@ -415,11 +416,6 @@ exports[`should match ESLint Configuration snapshot: react 1`] = ` ], "accessor-pairs": [ 0, - { - "enforceForClassMembers": true, - "getWithoutSet": false, - "setWithoutGet": true, - }, ], "array-bracket-newline": [ 0, @@ -450,10 +446,7 @@ exports[`should match ESLint Configuration snapshot: react 1`] = ` "camelcase": [ 0, { - "allow": [], "ignoreDestructuring": false, - "ignoreGlobals": false, - "ignoreImports": false, "properties": "never", }, ], @@ -486,13 +479,9 @@ exports[`should match ESLint Configuration snapshot: react 1`] = ` ], "consistent-return": [ 0, - { - "treatUndefinedAsUnspecified": false, - }, ], "consistent-this": [ 0, - "that", ], "constructor-super": [ 0, @@ -503,7 +492,6 @@ exports[`should match ESLint Configuration snapshot: react 1`] = ` ], "default-case": [ 0, - {}, ], "default-case-last": [ 2, @@ -515,7 +503,6 @@ exports[`should match ESLint Configuration snapshot: react 1`] = ` 0, { "allowKeywords": true, - "allowPattern": "", }, ], "eqeqeq": [ @@ -539,15 +526,10 @@ exports[`should match ESLint Configuration snapshot: react 1`] = ` "func-names": [ 2, "as-needed", - {}, ], "func-style": [ 0, "expression", - { - "allowArrowFunctions": false, - "overrides": {}, - }, ], "getter-return": [ 0, @@ -557,7 +539,6 @@ exports[`should match ESLint Configuration snapshot: react 1`] = ` ], "grouped-accessor-pairs": [ 2, - "anyOrder", ], "guard-for-in": [ 2, @@ -567,22 +548,9 @@ exports[`should match ESLint Configuration snapshot: react 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, @@ -835,12 +803,18 @@ exports[`should match ESLint Configuration snapshot: react 1`] = ` ], }, ], + "jsdoc/check-template-names": [ + 0, + ], "jsdoc/check-types": [ 2, ], "jsdoc/check-values": [ 2, ], + "jsdoc/convert-to-jsdoc-comments": [ + 0, + ], "jsdoc/empty-tags": [ 2, ], @@ -853,6 +827,9 @@ exports[`should match ESLint Configuration snapshot: react 1`] = ` "jsdoc/informative-docs": [ 0, ], + "jsdoc/lines-before-block": [ + 0, + ], "jsdoc/match-description": [ 0, ], @@ -1001,6 +978,9 @@ exports[`should match ESLint Configuration snapshot: react 1`] = ` "jsdoc/require-returns-type": [ 0, ], + "jsdoc/require-template": [ + 0, + ], "jsdoc/require-throws": [ 0, ], @@ -1362,10 +1342,6 @@ exports[`should match ESLint Configuration snapshot: react 1`] = ` ], "no-bitwise": [ 2, - { - "allow": [], - "int32Hint": false, - }, ], "no-caller": [ 2, @@ -1400,9 +1376,6 @@ exports[`should match ESLint Configuration snapshot: react 1`] = ` ], "no-constant-condition": [ 2, - { - "checkLoops": "allExceptWhileTrue", - }, ], "no-constructor-return": [ 2, @@ -1439,9 +1412,6 @@ exports[`should match ESLint Configuration snapshot: react 1`] = ` ], "no-duplicate-imports": [ 0, - { - "includeExports": false, - }, ], "no-else-return": [ 2, @@ -1451,9 +1421,6 @@ exports[`should match ESLint Configuration snapshot: react 1`] = ` ], "no-empty": [ 2, - { - "allowEmptyCatch": false, - }, ], "no-empty-character-class": [ 2, @@ -1471,9 +1438,6 @@ exports[`should match ESLint Configuration snapshot: react 1`] = ` ], "no-empty-pattern": [ 2, - { - "allowObjectPatternsAsParameters": false, - }, ], "no-empty-static-block": [ 2, @@ -1483,35 +1447,24 @@ exports[`should match ESLint Configuration snapshot: react 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": [ 0, @@ -1534,9 +1487,6 @@ exports[`should match ESLint Configuration snapshot: react 1`] = ` ], "no-implicit-globals": [ 2, - { - "lexicalBindings": false, - }, ], "no-implied-eval": [ 0, @@ -1546,34 +1496,18 @@ exports[`should match ESLint Configuration snapshot: react 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, @@ -1614,9 +1548,6 @@ exports[`should match ESLint Configuration snapshot: react 1`] = ` ], "no-multi-assign": [ 2, - { - "ignoreNonDeclaration": false, - }, ], "no-multi-str": [ 2, @@ -1684,9 +1615,6 @@ exports[`should match ESLint Configuration snapshot: react 1`] = ` ], "no-promise-executor-return": [ 2, - { - "allowVoid": false, - }, ], "no-proto": [ 2, @@ -1696,9 +1624,6 @@ exports[`should match ESLint Configuration snapshot: react 1`] = ` ], "no-redeclare": [ 0, - { - "builtinGlobals": true, - }, ], "no-regex-spaces": [ 2, @@ -2045,21 +1970,12 @@ exports[`should match ESLint Configuration snapshot: react 1`] = ` ], "no-sequences": [ 2, - { - "allowInParentheses": true, - }, ], "no-setter-return": [ 0, ], "no-shadow": [ 0, - { - "allow": [], - "builtinGlobals": false, - "hoist": "functions", - "ignoreOnInitialization": false, - }, ], "no-shadow-restricted-names": [ 2, @@ -2081,9 +1997,6 @@ exports[`should match ESLint Configuration snapshot: react 1`] = ` ], "no-undef": [ 0, - { - "typeof": false, - }, ], "no-undef-init": [ 2, @@ -2131,9 +2044,6 @@ exports[`should match ESLint Configuration snapshot: react 1`] = ` ], "no-unsafe-negation": [ 0, - { - "enforceForOrderingRelations": false, - }, ], "no-unsafe-optional-chaining": [ 2, @@ -2147,7 +2057,6 @@ exports[`should match ESLint Configuration snapshot: react 1`] = ` "allowShortCircuit": true, "allowTaggedTemplates": true, "allowTernary": true, - "enforceForJSX": false, }, ], "no-unused-labels": [ @@ -2166,12 +2075,6 @@ exports[`should match ESLint Configuration snapshot: react 1`] = ` ], "no-use-before-define": [ 0, - { - "allowNamedExports": false, - "classes": true, - "functions": true, - "variables": true, - }, ], "no-useless-backreference": [ 2, @@ -2184,9 +2087,6 @@ exports[`should match ESLint Configuration snapshot: react 1`] = ` ], "no-useless-computed-key": [ 2, - { - "enforceForClassMembers": true, - }, ], "no-useless-concat": [ 2, @@ -2213,9 +2113,6 @@ exports[`should match ESLint Configuration snapshot: react 1`] = ` ], "no-void": [ 2, - { - "allowAsStatement": false, - }, ], "no-warning-comments": [ 0, @@ -2354,7 +2251,6 @@ exports[`should match ESLint Configuration snapshot: react 1`] = ` ], "radix": [ 2, - "always", ], "react-hooks/exhaustive-deps": [ 2, @@ -2811,9 +2707,6 @@ exports[`should match ESLint Configuration snapshot: react 1`] = ` ], "require-atomic-updates": [ 0, - { - "allowProperties": false, - }, ], "require-await": [ 0, @@ -2827,7 +2720,6 @@ exports[`should match ESLint Configuration snapshot: react 1`] = ` "sort-imports": [ 0, { - "allowSeparatedGroups": false, "ignoreCase": false, "ignoreDeclarationSort": false, "ignoreMemberSort": false, @@ -2843,18 +2735,12 @@ exports[`should match ESLint Configuration snapshot: react 1`] = ` 0, "asc", { - "allowLineSeparatedGroups": false, "caseSensitive": false, - "ignoreComputedKeys": false, - "minKeys": 2, "natural": true, }, ], "sort-vars": [ 0, - { - "ignoreCase": false, - }, ], "symbol-description": [ 2, @@ -3269,10 +3155,6 @@ exports[`should match ESLint Configuration snapshot: react 1`] = ` ], "use-isnan": [ 2, - { - "enforceForIndexOf": false, - "enforceForSwitchCase": true, - }, ], "valid-typeof": [ 2, @@ -3285,11 +3167,6 @@ exports[`should match ESLint Configuration snapshot: react 1`] = ` ], "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 29b6771..eeddc8b 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[`should match ESLint Flat Configuration snapshot: storybook 1`] = ` { "languageOptions": { - "ecmaVersion": 2025, + "ecmaVersion": "latest", "globals": { "AggregateError": false, "Array": false, @@ -309,6 +309,7 @@ exports[`should match ESLint Flat Configuration snapshot: storybook 1`] = ` "allowShortCircuit": true, "allowTaggedTemplates": true, "allowTernary": true, + "enforceForJSX": false, }, ], "@typescript-eslint/no-unused-vars": [ @@ -415,11 +416,6 @@ exports[`should match ESLint Flat Configuration snapshot: storybook 1`] = ` ], "accessor-pairs": [ 0, - { - "enforceForClassMembers": true, - "getWithoutSet": false, - "setWithoutGet": true, - }, ], "array-bracket-newline": [ 0, @@ -450,10 +446,7 @@ exports[`should match ESLint Flat Configuration snapshot: storybook 1`] = ` "camelcase": [ 0, { - "allow": [], "ignoreDestructuring": false, - "ignoreGlobals": false, - "ignoreImports": false, "properties": "never", }, ], @@ -486,13 +479,9 @@ exports[`should match ESLint Flat Configuration snapshot: storybook 1`] = ` ], "consistent-return": [ 0, - { - "treatUndefinedAsUnspecified": false, - }, ], "consistent-this": [ 0, - "that", ], "constructor-super": [ 0, @@ -503,7 +492,6 @@ exports[`should match ESLint Flat Configuration snapshot: storybook 1`] = ` ], "default-case": [ 0, - {}, ], "default-case-last": [ 2, @@ -515,7 +503,6 @@ exports[`should match ESLint Flat Configuration snapshot: storybook 1`] = ` 0, { "allowKeywords": true, - "allowPattern": "", }, ], "eqeqeq": [ @@ -539,15 +526,10 @@ exports[`should match ESLint Flat Configuration snapshot: storybook 1`] = ` "func-names": [ 2, "as-needed", - {}, ], "func-style": [ 0, "expression", - { - "allowArrowFunctions": false, - "overrides": {}, - }, ], "getter-return": [ 0, @@ -557,7 +539,6 @@ exports[`should match ESLint Flat Configuration snapshot: storybook 1`] = ` ], "grouped-accessor-pairs": [ 2, - "anyOrder", ], "guard-for-in": [ 2, @@ -567,22 +548,9 @@ exports[`should match ESLint Flat Configuration snapshot: storybook 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, @@ -1131,10 +1099,6 @@ exports[`should match ESLint Flat Configuration snapshot: storybook 1`] = ` ], "no-bitwise": [ 2, - { - "allow": [], - "int32Hint": false, - }, ], "no-caller": [ 2, @@ -1169,9 +1133,6 @@ exports[`should match ESLint Flat Configuration snapshot: storybook 1`] = ` ], "no-constant-condition": [ 2, - { - "checkLoops": "allExceptWhileTrue", - }, ], "no-constructor-return": [ 2, @@ -1208,9 +1169,6 @@ exports[`should match ESLint Flat Configuration snapshot: storybook 1`] = ` ], "no-duplicate-imports": [ 0, - { - "includeExports": false, - }, ], "no-else-return": [ 2, @@ -1220,9 +1178,6 @@ exports[`should match ESLint Flat Configuration snapshot: storybook 1`] = ` ], "no-empty": [ 2, - { - "allowEmptyCatch": false, - }, ], "no-empty-character-class": [ 2, @@ -1240,9 +1195,6 @@ exports[`should match ESLint Flat Configuration snapshot: storybook 1`] = ` ], "no-empty-pattern": [ 2, - { - "allowObjectPatternsAsParameters": false, - }, ], "no-empty-static-block": [ 2, @@ -1252,35 +1204,24 @@ exports[`should match ESLint Flat Configuration snapshot: storybook 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": [ 0, @@ -1303,9 +1244,6 @@ exports[`should match ESLint Flat Configuration snapshot: storybook 1`] = ` ], "no-implicit-globals": [ 2, - { - "lexicalBindings": false, - }, ], "no-implied-eval": [ 0, @@ -1315,34 +1253,18 @@ exports[`should match ESLint Flat Configuration snapshot: storybook 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, @@ -1383,9 +1305,6 @@ exports[`should match ESLint Flat Configuration snapshot: storybook 1`] = ` ], "no-multi-assign": [ 2, - { - "ignoreNonDeclaration": false, - }, ], "no-multi-str": [ 2, @@ -1453,9 +1372,6 @@ exports[`should match ESLint Flat Configuration snapshot: storybook 1`] = ` ], "no-promise-executor-return": [ 2, - { - "allowVoid": false, - }, ], "no-proto": [ 2, @@ -1465,9 +1381,6 @@ exports[`should match ESLint Flat Configuration snapshot: storybook 1`] = ` ], "no-redeclare": [ 0, - { - "builtinGlobals": true, - }, ], "no-regex-spaces": [ 2, @@ -1814,21 +1727,12 @@ exports[`should match ESLint Flat Configuration snapshot: storybook 1`] = ` ], "no-sequences": [ 2, - { - "allowInParentheses": true, - }, ], "no-setter-return": [ 0, ], "no-shadow": [ 0, - { - "allow": [], - "builtinGlobals": false, - "hoist": "functions", - "ignoreOnInitialization": false, - }, ], "no-shadow-restricted-names": [ 2, @@ -1850,9 +1754,6 @@ exports[`should match ESLint Flat Configuration snapshot: storybook 1`] = ` ], "no-undef": [ 0, - { - "typeof": false, - }, ], "no-undef-init": [ 2, @@ -1900,9 +1801,6 @@ exports[`should match ESLint Flat Configuration snapshot: storybook 1`] = ` ], "no-unsafe-negation": [ 0, - { - "enforceForOrderingRelations": false, - }, ], "no-unsafe-optional-chaining": [ 2, @@ -1916,7 +1814,6 @@ exports[`should match ESLint Flat Configuration snapshot: storybook 1`] = ` "allowShortCircuit": true, "allowTaggedTemplates": true, "allowTernary": true, - "enforceForJSX": false, }, ], "no-unused-labels": [ @@ -1935,12 +1832,6 @@ exports[`should match ESLint Flat Configuration snapshot: storybook 1`] = ` ], "no-use-before-define": [ 0, - { - "allowNamedExports": false, - "classes": true, - "functions": true, - "variables": true, - }, ], "no-useless-backreference": [ 2, @@ -1953,9 +1844,6 @@ exports[`should match ESLint Flat Configuration snapshot: storybook 1`] = ` ], "no-useless-computed-key": [ 2, - { - "enforceForClassMembers": true, - }, ], "no-useless-concat": [ 2, @@ -1982,9 +1870,6 @@ exports[`should match ESLint Flat Configuration snapshot: storybook 1`] = ` ], "no-void": [ 2, - { - "allowAsStatement": false, - }, ], "no-warning-comments": [ 0, @@ -2123,7 +2008,6 @@ exports[`should match ESLint Flat Configuration snapshot: storybook 1`] = ` ], "radix": [ 2, - "always", ], "react-hooks/exhaustive-deps": [ 2, @@ -2580,9 +2464,6 @@ exports[`should match ESLint Flat Configuration snapshot: storybook 1`] = ` ], "require-atomic-updates": [ 0, - { - "allowProperties": false, - }, ], "require-await": [ 0, @@ -2596,7 +2477,6 @@ exports[`should match ESLint Flat Configuration snapshot: storybook 1`] = ` "sort-imports": [ 0, { - "allowSeparatedGroups": false, "ignoreCase": false, "ignoreDeclarationSort": false, "ignoreMemberSort": false, @@ -2612,18 +2492,12 @@ exports[`should match ESLint Flat Configuration snapshot: storybook 1`] = ` 0, "asc", { - "allowLineSeparatedGroups": false, "caseSensitive": false, - "ignoreComputedKeys": false, - "minKeys": 2, "natural": true, }, ], "sort-vars": [ 0, - { - "ignoreCase": false, - }, ], "storybook/await-interactions": [ 2, @@ -3071,10 +2945,6 @@ exports[`should match ESLint Flat Configuration snapshot: storybook 1`] = ` ], "use-isnan": [ 2, - { - "enforceForIndexOf": false, - "enforceForSwitchCase": true, - }, ], "valid-typeof": [ 2, @@ -3087,11 +2957,6 @@ exports[`should match ESLint Flat Configuration snapshot: storybook 1`] = ` ], "yoda": [ 2, - "never", - { - "exceptRange": false, - "onlyEquality": false, - }, ], }, "settings": {