@w5s/eslint-config 3.1.0 → 3.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -39,7 +39,7 @@ var require_package = __commonJS({
39
39
  "../../node_modules/@eslint/js/package.json"(exports, module) {
40
40
  module.exports = {
41
41
  name: "@eslint/js",
42
- version: "9.38.0",
42
+ version: "9.39.1",
43
43
  description: "ESLint JavaScript language implementation",
44
44
  funding: "https://eslint.org/donate",
45
45
  main: "./src/index.js",
@@ -879,6 +879,149 @@ var errors = () => ({
879
879
  "valid-typeof": ["error", { requireStringLiterals: true }]
880
880
  });
881
881
 
882
+ // src/rules/esRules/es6.ts
883
+ var es6 = () => ({
884
+ // enforces no braces where they can be omitted
885
+ // https://eslint.org/docs/rules/arrow-body-style
886
+ // TODO: enable requireReturnForObjectLiteral?
887
+ "arrow-body-style": ["error", "as-needed", {
888
+ requireReturnForObjectLiteral: false
889
+ }],
890
+ // require parens in arrow function arguments
891
+ // https://eslint.org/docs/rules/arrow-parens
892
+ "arrow-parens": ["error", "always"],
893
+ // require space before/after arrow function's arrow
894
+ // https://eslint.org/docs/rules/arrow-spacing
895
+ "arrow-spacing": ["error", { before: true, after: true }],
896
+ // verify super() callings in constructors
897
+ "constructor-super": "error",
898
+ // enforce the spacing around the * in generator functions
899
+ // https://eslint.org/docs/rules/generator-star-spacing
900
+ "generator-star-spacing": ["error", { before: false, after: true }],
901
+ // disallow modifying variables of class declarations
902
+ // https://eslint.org/docs/rules/no-class-assign
903
+ "no-class-assign": "error",
904
+ // disallow arrow functions where they could be confused with comparisons
905
+ // https://eslint.org/docs/rules/no-confusing-arrow
906
+ "no-confusing-arrow": ["error", {
907
+ allowParens: true
908
+ }],
909
+ // disallow modifying variables that are declared using const
910
+ "no-const-assign": "error",
911
+ // disallow duplicate class members
912
+ // https://eslint.org/docs/rules/no-dupe-class-members
913
+ "no-dupe-class-members": "error",
914
+ // disallow importing from the same path more than once
915
+ // https://eslint.org/docs/rules/no-duplicate-imports
916
+ // replaced by https://github.com/import-js/eslint-plugin-import/blob/master/docs/rules/no-duplicates.md
917
+ "no-duplicate-imports": "off",
918
+ // disallow symbol constructor
919
+ // https://eslint.org/docs/rules/no-new-symbol
920
+ "no-new-symbol": "error",
921
+ // Disallow specified names in exports
922
+ // https://eslint.org/docs/rules/no-restricted-exports
923
+ "no-restricted-exports": ["error", {
924
+ restrictedNamedExports: [
925
+ "default",
926
+ // use `export default` to provide a default export
927
+ "then"
928
+ // this will cause tons of confusion when your module is dynamically `import()`ed, and will break in most node ESM versions
929
+ ]
930
+ }],
931
+ // disallow specific imports
932
+ // https://eslint.org/docs/rules/no-restricted-imports
933
+ "no-restricted-imports": ["off", {
934
+ paths: [],
935
+ patterns: []
936
+ }],
937
+ // disallow to use this/super before super() calling in constructors.
938
+ // https://eslint.org/docs/rules/no-this-before-super
939
+ "no-this-before-super": "error",
940
+ // disallow useless computed property keys
941
+ // https://eslint.org/docs/rules/no-useless-computed-key
942
+ "no-useless-computed-key": "error",
943
+ // disallow unnecessary constructor
944
+ // https://eslint.org/docs/rules/no-useless-constructor
945
+ "no-useless-constructor": "error",
946
+ // disallow renaming import, export, and destructured assignments to the same name
947
+ // https://eslint.org/docs/rules/no-useless-rename
948
+ "no-useless-rename": ["error", {
949
+ ignoreDestructuring: false,
950
+ ignoreImport: false,
951
+ ignoreExport: false
952
+ }],
953
+ // require let or const instead of var
954
+ "no-var": "error",
955
+ // require method and property shorthand syntax for object literals
956
+ // https://eslint.org/docs/rules/object-shorthand
957
+ "object-shorthand": ["error", "always", {
958
+ ignoreConstructors: false,
959
+ avoidQuotes: true
960
+ }],
961
+ // suggest using arrow functions as callbacks
962
+ "prefer-arrow-callback": ["error", {
963
+ allowNamedFunctions: false,
964
+ allowUnboundThis: true
965
+ }],
966
+ // suggest using of const declaration for variables that are never modified after declared
967
+ "prefer-const": ["error", {
968
+ destructuring: "any",
969
+ ignoreReadBeforeAssign: true
970
+ }],
971
+ // Prefer destructuring from arrays and objects
972
+ // https://eslint.org/docs/rules/prefer-destructuring
973
+ "prefer-destructuring": ["error", {
974
+ VariableDeclarator: {
975
+ array: false,
976
+ object: true
977
+ },
978
+ AssignmentExpression: {
979
+ array: true,
980
+ object: false
981
+ }
982
+ }, {
983
+ enforceForRenamedProperties: false
984
+ }],
985
+ // disallow parseInt() in favor of binary, octal, and hexadecimal literals
986
+ // https://eslint.org/docs/rules/prefer-numeric-literals
987
+ "prefer-numeric-literals": "error",
988
+ // suggest using Reflect methods where applicable
989
+ // https://eslint.org/docs/rules/prefer-reflect
990
+ "prefer-reflect": "off",
991
+ // use rest parameters instead of arguments
992
+ // https://eslint.org/docs/rules/prefer-rest-params
993
+ "prefer-rest-params": "error",
994
+ // suggest using the spread syntax instead of .apply()
995
+ // https://eslint.org/docs/rules/prefer-spread
996
+ "prefer-spread": "error",
997
+ // suggest using template literals instead of string concatenation
998
+ // https://eslint.org/docs/rules/prefer-template
999
+ "prefer-template": "error",
1000
+ // disallow generator functions that do not have yield
1001
+ // https://eslint.org/docs/rules/require-yield
1002
+ "require-yield": "error",
1003
+ // enforce spacing between object rest-spread
1004
+ // https://eslint.org/docs/rules/rest-spread-spacing
1005
+ "rest-spread-spacing": ["error", "never"],
1006
+ // import sorting
1007
+ // https://eslint.org/docs/rules/sort-imports
1008
+ "sort-imports": ["off", {
1009
+ ignoreCase: false,
1010
+ ignoreDeclarationSort: false,
1011
+ ignoreMemberSort: false,
1012
+ memberSyntaxSortOrder: ["none", "all", "multiple", "single"]
1013
+ }],
1014
+ // require a Symbol description
1015
+ // https://eslint.org/docs/rules/symbol-description
1016
+ "symbol-description": "error",
1017
+ // enforce usage of spacing in template strings
1018
+ // https://eslint.org/docs/rules/template-curly-spacing
1019
+ "template-curly-spacing": "error",
1020
+ // enforce spacing around the * in yield* expressions
1021
+ // https://eslint.org/docs/rules/yield-star-spacing
1022
+ "yield-star-spacing": ["error", "after"]
1023
+ });
1024
+
882
1025
  // src/rules/esRules/overrides.ts
883
1026
  var overrides = () => ({
884
1027
  // Too many errors in components
@@ -907,10 +1050,65 @@ var overrides = () => ({
907
1050
  "unicode-bom": ["error", "never"]
908
1051
  });
909
1052
 
1053
+ // src/rules/esRules/strict.ts
1054
+ var strict = () => ({
1055
+ // babel inserts `'use strict';` for us
1056
+ strict: ["error", "never"]
1057
+ });
1058
+
1059
+ // src/rules/esRules/variables.ts
1060
+ var variables = () => ({
1061
+ // enforce or disallow variable initializations at definition
1062
+ "init-declarations": "off",
1063
+ // disallow the catch clause parameter name being the same as a variable in the outer scope
1064
+ "no-catch-shadow": "off",
1065
+ // disallow deletion of variables
1066
+ "no-delete-var": "error",
1067
+ // disallow labels that share a name with a variable
1068
+ // https://eslint.org/docs/rules/no-label-var
1069
+ "no-label-var": "error",
1070
+ // disallow specific globals
1071
+ "no-restricted-globals": [
1072
+ "error",
1073
+ {
1074
+ name: "isFinite",
1075
+ message: "Use Number.isFinite instead https://github.com/airbnb/javascript#standard-library--isfinite"
1076
+ },
1077
+ {
1078
+ name: "isNaN",
1079
+ message: "Use Number.isNaN instead https://github.com/airbnb/javascript#standard-library--isnan"
1080
+ }
1081
+ // ...confusingBrowserGlobals.map((g) => ({
1082
+ // name: g,
1083
+ // message: `Use window.${g} instead. https://github.com/facebook/create-react-app/blob/HEAD/packages/confusing-browser-globals/README.md`,
1084
+ // })),
1085
+ ],
1086
+ // disallow declaration of variables already declared in the outer scope
1087
+ "no-shadow": "error",
1088
+ // disallow shadowing of names such as arguments
1089
+ "no-shadow-restricted-names": "error",
1090
+ // disallow use of undeclared variables unless mentioned in a /*global */ block
1091
+ "no-undef": "error",
1092
+ // disallow use of undefined when initializing variables
1093
+ "no-undef-init": "error",
1094
+ // disallow use of undefined variable
1095
+ // https://eslint.org/docs/rules/no-undefined
1096
+ // TODO: enable?
1097
+ "no-undefined": "off",
1098
+ // disallow declaration of variables that are not used in the code
1099
+ "no-unused-vars": ["error", { vars: "all", args: "after-used", ignoreRestSiblings: true }],
1100
+ // disallow use of variables before they are defined
1101
+ "no-use-before-define": ["error", { functions: true, classes: true, variables: true }]
1102
+ });
1103
+
910
1104
  // src/rules/esRules.ts
911
1105
  var esRules = () => ({
912
1106
  ...bestPractices(),
913
1107
  ...errors(),
1108
+ ...es6(),
1109
+ ...strict(),
1110
+ ...variables(),
1111
+ // Must be last
914
1112
  ...overrides()
915
1113
  });
916
1114
 
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../node_modules/@eslint/js/package.json","../../../node_modules/@eslint/js/src/configs/eslint-all.js","../../../node_modules/@eslint/js/src/configs/eslint-recommended.js","../../../node_modules/@eslint/js/src/index.js","../src/config/es.ts","../src/config/createRules.ts","../src/rules/esRules/bestPractices.ts","../src/rules/esRules/errors.ts","../src/rules/esRules/overrides.ts","../src/rules/esRules.ts","../src/config/ignores.ts","../src/type/StylisticConfig.ts","../src/config/jsdoc.ts","../src/config/jsonc.ts","../src/config/imports.ts","../src/config/node.ts","../src/config/stylistic.ts","../src/config/test.ts","../src/config/ts.ts","../src/config/unicorn.ts","../src/config/yml.ts","../src/defineConfig.ts"],"names":["eslintConfig","stylistic","defaultFiles","Project","interopDefault","ESLintConfig","options"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAA,eAAA,GAAA,UAAA,CAAA;AAAA,EAAA,4CAAA,CAAA,OAAA,EAAA,MAAA,EAAA;AAAA,IAAA,MAAA,CAAA,OAAA,GAAA;AAAA,MACE,IAAA,EAAQ,YAAA;AAAA,MACR,OAAA,EAAW,QAAA;AAAA,MACX,WAAA,EAAe,2CAAA;AAAA,MACf,OAAA,EAAW,2BAAA;AAAA,MACX,IAAA,EAAQ,gBAAA;AAAA,MACR,KAAA,EAAS,oBAAA;AAAA,MACT,OAAA,EAAW;AAAA,QACT,YAAA,EAAc;AAAA,OAChB;AAAA,MACA,KAAA,EAAS;AAAA,QACP,SAAA;AAAA,QACA,WAAA;AA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AAG,SAAS,CAAC,CAAA;AACpB,EAAA,MAAA,CAAO,OAAA,CAAQ,OAAO,CAAC,CAAA;AAEvB,EAAA,IAAI,aAAa,OAAA,EAAS;AACxB,IAAA,MAAA,CAAO,KAAA,CAAM,YAAY,CAAC,CAAA;AAAA,EAC5B;AACA,EAAA,IAAI,aAAa,OAAA,EAAS;AACxB,IAAA,MAAA,CAAO,KAAA,CAAM,YAAY,CAAC,CAAA;AAAA,EAC5B;AACA,EAAA,IAAI,iBAAiB,OAAA,EAAS;AAC5B,IAAA,MAAA,CAAO,SAAA,CAAU,gBAAgB,CAAC,CAAA;AAAA,EACpC;AACA,EAAA,IAAI,cAAc,OAAA,EAAS;AACzB,IAAA,MAAA,CAAO,OAAA,CAAQ,aAAa,CAAC,CAAA;AAAA,EAC/B;AACA,EAAA,IAAI,YAAY,OAAA,EAAS;AACvB,IAAA,MAAA,CAAO,IAAA,CAAK,WAAW,CAAC,CAAA;AAAA,EAC1B;AACA,EAAA,IAAI,UAAU,OAAA,EAAS;AACrB,IAAA,MAAA,CAAO,EAAA,CAAG,SAAS,CAAC,CAAA;AAAA,EACtB;AACA,EAAA,IAAI,WAAW,OAAA,EAAS;AACtB,IAAA,MAAA,CAAO,GAAA,CAAI,UAAU,CAAC,CAAA;AAAA,EACxB;AACA,EAAA,IAAI,eAAe,OAAA,EAAS;AAC1B,IAAA,MAAA,CAAO,OAAA,CAAQ,cAAc,CAAC,CAAA;AAAA,EAChC;AACA,EAAA,MAAM,MAAA,GAAS,MAAM,OAAA,CAAQ,GAAA,CAAI,WAAW,CAAA;AAC5C,EAAA,OAAO,MAAA,CAAO,MAAA,CAAO,CAAC,GAAA,EAAK,IAAA,KAAS,CAAC,GAAG,GAAA,EAAK,GAAG,IAAI,CAAA,EAAG,EAAmB,CAAA;AAC5E","file":"index.js","sourcesContent":["{\n \"name\": \"@eslint/js\",\n \"version\": \"9.38.0\",\n \"description\": \"ESLint JavaScript language implementation\",\n \"funding\": \"https://eslint.org/donate\",\n \"main\": \"./src/index.js\",\n \"types\": \"./types/index.d.ts\",\n \"scripts\": {\n \"test:types\": \"tsc -p tests/types/tsconfig.json\"\n },\n \"files\": [\n \"LICENSE\",\n \"README.md\",\n \"src\",\n \"types\"\n ],\n \"publishConfig\": {\n \"access\": \"public\"\n },\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/eslint/eslint.git\",\n \"directory\": \"packages/js\"\n },\n \"homepage\": \"https://eslint.org\",\n \"bugs\": \"https://github.com/eslint/eslint/issues/\",\n \"keywords\": [\n \"javascript\",\n \"eslint-plugin\",\n \"eslint\"\n ],\n \"license\": \"MIT\",\n \"engines\": {\n \"node\": \"^18.18.0 || ^20.9.0 || >=21.1.0\"\n }\n}\n","/*\n * WARNING: This file is autogenerated using the tools/update-eslint-all.js\n * script. Do not edit manually.\n */\n\"use strict\";\n\n/*\n * IMPORTANT!\n *\n * We cannot add a \"name\" property to this object because it's still used in eslintrc\n * which doesn't support the \"name\" property. If we add a \"name\" property, it will\n * cause an error.\n */\n\nmodule.exports = Object.freeze({\n rules: Object.freeze({\n \"accessor-pairs\": \"error\",\n \"array-callback-return\": \"error\",\n \"arrow-body-style\": \"error\",\n \"block-scoped-var\": \"error\",\n \"camelcase\": \"error\",\n \"capitalized-comments\": \"error\",\n \"class-methods-use-this\": \"error\",\n \"complexity\": \"error\",\n \"consistent-return\": \"error\",\n \"consistent-this\": \"error\",\n \"constructor-super\": \"error\",\n \"curly\": \"error\",\n \"default-case\": \"error\",\n \"default-case-last\": \"error\",\n \"default-param-last\": \"error\",\n \"dot-notation\": \"error\",\n \"eqeqeq\": \"error\",\n \"for-direction\": \"error\",\n \"func-name-matching\": \"error\",\n \"func-names\": \"error\",\n \"func-style\": \"error\",\n \"getter-return\": \"error\",\n \"grouped-accessor-pairs\": \"error\",\n \"guard-for-in\": \"error\",\n \"id-denylist\": \"error\",\n \"id-length\": \"error\",\n \"id-match\": \"error\",\n \"init-declarations\": \"error\",\n \"logical-assignment-operators\": \"error\",\n \"max-classes-per-file\": \"error\",\n \"max-depth\": \"error\",\n \"max-lines\": \"error\",\n \"max-lines-per-function\": \"error\",\n \"max-nested-callbacks\": \"error\",\n \"max-params\": \"error\",\n \"max-statements\": \"error\",\n \"new-cap\": \"error\",\n \"no-alert\": \"error\",\n \"no-array-constructor\": \"error\",\n \"no-async-promise-executor\": \"error\",\n \"no-await-in-loop\": \"error\",\n \"no-bitwise\": \"error\",\n \"no-caller\": \"error\",\n \"no-case-declarations\": \"error\",\n \"no-class-assign\": \"error\",\n \"no-compare-neg-zero\": \"error\",\n \"no-cond-assign\": \"error\",\n \"no-console\": \"error\",\n \"no-const-assign\": \"error\",\n \"no-constant-binary-expression\": \"error\",\n \"no-constant-condition\": \"error\",\n \"no-constructor-return\": \"error\",\n \"no-continue\": \"error\",\n \"no-control-regex\": \"error\",\n \"no-debugger\": \"error\",\n \"no-delete-var\": \"error\",\n \"no-div-regex\": \"error\",\n \"no-dupe-args\": \"error\",\n \"no-dupe-class-members\": \"error\",\n \"no-dupe-else-if\": \"error\",\n \"no-dupe-keys\": \"error\",\n \"no-duplicate-case\": \"error\",\n \"no-duplicate-imports\": \"error\",\n \"no-else-return\": \"error\",\n \"no-empty\": \"error\",\n \"no-empty-character-class\": \"error\",\n \"no-empty-function\": \"error\",\n \"no-empty-pattern\": \"error\",\n \"no-empty-static-block\": \"error\",\n \"no-eq-null\": \"error\",\n \"no-eval\": \"error\",\n \"no-ex-assign\": \"error\",\n \"no-extend-native\": \"error\",\n \"no-extra-bind\": \"error\",\n \"no-extra-boolean-cast\": \"error\",\n \"no-extra-label\": \"error\",\n \"no-fallthrough\": \"error\",\n \"no-func-assign\": \"error\",\n \"no-global-assign\": \"error\",\n \"no-implicit-coercion\": \"error\",\n \"no-implicit-globals\": \"error\",\n \"no-implied-eval\": \"error\",\n \"no-import-assign\": \"error\",\n \"no-inline-comments\": \"error\",\n \"no-inner-declarations\": \"error\",\n \"no-invalid-regexp\": \"error\",\n \"no-invalid-this\": \"error\",\n \"no-irregular-whitespace\": \"error\",\n \"no-iterator\": \"error\",\n \"no-label-var\": \"error\",\n \"no-labels\": \"error\",\n \"no-lone-blocks\": \"error\",\n \"no-lonely-if\": \"error\",\n \"no-loop-func\": \"error\",\n \"no-loss-of-precision\": \"error\",\n \"no-magic-numbers\": \"error\",\n \"no-misleading-character-class\": \"error\",\n \"no-multi-assign\": \"error\",\n \"no-multi-str\": \"error\",\n \"no-negated-condition\": \"error\",\n \"no-nested-ternary\": \"error\",\n \"no-new\": \"error\",\n \"no-new-func\": \"error\",\n \"no-new-native-nonconstructor\": \"error\",\n \"no-new-wrappers\": \"error\",\n \"no-nonoctal-decimal-escape\": \"error\",\n \"no-obj-calls\": \"error\",\n \"no-object-constructor\": \"error\",\n \"no-octal\": \"error\",\n \"no-octal-escape\": \"error\",\n \"no-param-reassign\": \"error\",\n \"no-plusplus\": \"error\",\n \"no-promise-executor-return\": \"error\",\n \"no-proto\": \"error\",\n \"no-prototype-builtins\": \"error\",\n \"no-redeclare\": \"error\",\n \"no-regex-spaces\": \"error\",\n \"no-restricted-exports\": \"error\",\n \"no-restricted-globals\": \"error\",\n \"no-restricted-imports\": \"error\",\n \"no-restricted-properties\": \"error\",\n \"no-restricted-syntax\": \"error\",\n \"no-return-assign\": \"error\",\n \"no-script-url\": \"error\",\n \"no-self-assign\": \"error\",\n \"no-self-compare\": \"error\",\n \"no-sequences\": \"error\",\n \"no-setter-return\": \"error\",\n \"no-shadow\": \"error\",\n \"no-shadow-restricted-names\": \"error\",\n \"no-sparse-arrays\": \"error\",\n \"no-template-curly-in-string\": \"error\",\n \"no-ternary\": \"error\",\n \"no-this-before-super\": \"error\",\n \"no-throw-literal\": \"error\",\n \"no-unassigned-vars\": \"error\",\n \"no-undef\": \"error\",\n \"no-undef-init\": \"error\",\n \"no-undefined\": \"error\",\n \"no-underscore-dangle\": \"error\",\n \"no-unexpected-multiline\": \"error\",\n \"no-unmodified-loop-condition\": \"error\",\n \"no-unneeded-ternary\": \"error\",\n \"no-unreachable\": \"error\",\n \"no-unreachable-loop\": \"error\",\n \"no-unsafe-finally\": \"error\",\n \"no-unsafe-negation\": \"error\",\n \"no-unsafe-optional-chaining\": \"error\",\n \"no-unused-expressions\": \"error\",\n \"no-unused-labels\": \"error\",\n \"no-unused-private-class-members\": \"error\",\n \"no-unused-vars\": \"error\",\n \"no-use-before-define\": \"error\",\n \"no-useless-assignment\": \"error\",\n \"no-useless-backreference\": \"error\",\n \"no-useless-call\": \"error\",\n \"no-useless-catch\": \"error\",\n \"no-useless-computed-key\": \"error\",\n \"no-useless-concat\": \"error\",\n \"no-useless-constructor\": \"error\",\n \"no-useless-escape\": \"error\",\n \"no-useless-rename\": \"error\",\n \"no-useless-return\": \"error\",\n \"no-var\": \"error\",\n \"no-void\": \"error\",\n \"no-warning-comments\": \"error\",\n \"no-with\": \"error\",\n \"object-shorthand\": \"error\",\n \"one-var\": \"error\",\n \"operator-assignment\": \"error\",\n \"prefer-arrow-callback\": \"error\",\n \"prefer-const\": \"error\",\n \"prefer-destructuring\": \"error\",\n \"prefer-exponentiation-operator\": \"error\",\n \"prefer-named-capture-group\": \"error\",\n \"prefer-numeric-literals\": \"error\",\n \"prefer-object-has-own\": \"error\",\n \"prefer-object-spread\": \"error\",\n \"prefer-promise-reject-errors\": \"error\",\n \"prefer-regex-literals\": \"error\",\n \"prefer-rest-params\": \"error\",\n \"prefer-spread\": \"error\",\n \"prefer-template\": \"error\",\n \"preserve-caught-error\": \"error\",\n \"radix\": \"error\",\n \"require-atomic-updates\": \"error\",\n \"require-await\": \"error\",\n \"require-unicode-regexp\": \"error\",\n \"require-yield\": \"error\",\n \"sort-imports\": \"error\",\n \"sort-keys\": \"error\",\n \"sort-vars\": \"error\",\n \"strict\": \"error\",\n \"symbol-description\": \"error\",\n \"unicode-bom\": \"error\",\n \"use-isnan\": \"error\",\n \"valid-typeof\": \"error\",\n \"vars-on-top\": \"error\",\n \"yoda\": \"error\"\n })\n});\n","/**\n * @fileoverview Configuration applied when a user configuration extends from\n * eslint:recommended.\n * @author Nicholas C. Zakas\n */\n\n\"use strict\";\n\n/* eslint sort-keys: [\"error\", \"asc\"] -- Long, so make more readable */\n\n/*\n * IMPORTANT!\n *\n * We cannot add a \"name\" property to this object because it's still used in eslintrc\n * which doesn't support the \"name\" property. If we add a \"name\" property, it will\n * cause an error.\n */\n\nmodule.exports = Object.freeze({\n\trules: Object.freeze({\n\t\t\"constructor-super\": \"error\",\n\t\t\"for-direction\": \"error\",\n\t\t\"getter-return\": \"error\",\n\t\t\"no-async-promise-executor\": \"error\",\n\t\t\"no-case-declarations\": \"error\",\n\t\t\"no-class-assign\": \"error\",\n\t\t\"no-compare-neg-zero\": \"error\",\n\t\t\"no-cond-assign\": \"error\",\n\t\t\"no-const-assign\": \"error\",\n\t\t\"no-constant-binary-expression\": \"error\",\n\t\t\"no-constant-condition\": \"error\",\n\t\t\"no-control-regex\": \"error\",\n\t\t\"no-debugger\": \"error\",\n\t\t\"no-delete-var\": \"error\",\n\t\t\"no-dupe-args\": \"error\",\n\t\t\"no-dupe-class-members\": \"error\",\n\t\t\"no-dupe-else-if\": \"error\",\n\t\t\"no-dupe-keys\": \"error\",\n\t\t\"no-duplicate-case\": \"error\",\n\t\t\"no-empty\": \"error\",\n\t\t\"no-empty-character-class\": \"error\",\n\t\t\"no-empty-pattern\": \"error\",\n\t\t\"no-empty-static-block\": \"error\",\n\t\t\"no-ex-assign\": \"error\",\n\t\t\"no-extra-boolean-cast\": \"error\",\n\t\t\"no-fallthrough\": \"error\",\n\t\t\"no-func-assign\": \"error\",\n\t\t\"no-global-assign\": \"error\",\n\t\t\"no-import-assign\": \"error\",\n\t\t\"no-invalid-regexp\": \"error\",\n\t\t\"no-irregular-whitespace\": \"error\",\n\t\t\"no-loss-of-precision\": \"error\",\n\t\t\"no-misleading-character-class\": \"error\",\n\t\t\"no-new-native-nonconstructor\": \"error\",\n\t\t\"no-nonoctal-decimal-escape\": \"error\",\n\t\t\"no-obj-calls\": \"error\",\n\t\t\"no-octal\": \"error\",\n\t\t\"no-prototype-builtins\": \"error\",\n\t\t\"no-redeclare\": \"error\",\n\t\t\"no-regex-spaces\": \"error\",\n\t\t\"no-self-assign\": \"error\",\n\t\t\"no-setter-return\": \"error\",\n\t\t\"no-shadow-restricted-names\": \"error\",\n\t\t\"no-sparse-arrays\": \"error\",\n\t\t\"no-this-before-super\": \"error\",\n\t\t\"no-undef\": \"error\",\n\t\t\"no-unexpected-multiline\": \"error\",\n\t\t\"no-unreachable\": \"error\",\n\t\t\"no-unsafe-finally\": \"error\",\n\t\t\"no-unsafe-negation\": \"error\",\n\t\t\"no-unsafe-optional-chaining\": \"error\",\n\t\t\"no-unused-labels\": \"error\",\n\t\t\"no-unused-private-class-members\": \"error\",\n\t\t\"no-unused-vars\": \"error\",\n\t\t\"no-useless-backreference\": \"error\",\n\t\t\"no-useless-catch\": \"error\",\n\t\t\"no-useless-escape\": \"error\",\n\t\t\"no-with\": \"error\",\n\t\t\"require-yield\": \"error\",\n\t\t\"use-isnan\": \"error\",\n\t\t\"valid-typeof\": \"error\",\n\t}),\n});\n","/**\n * @fileoverview Main package entrypoint.\n * @author Nicholas C. Zakas\n */\n\n\"use strict\";\n\nconst { name, version } = require(\"../package.json\");\n\n//------------------------------------------------------------------------------\n// Public Interface\n//------------------------------------------------------------------------------\n\nmodule.exports = {\n\tmeta: {\n\t\tname,\n\t\tversion,\n\t},\n\tconfigs: {\n\t\tall: require(\"./configs/eslint-all\"),\n\t\trecommended: require(\"./configs/eslint-recommended\"),\n\t},\n};\n","import globals from 'globals';\nimport eslintConfig from '@eslint/js';\nimport { Project } from '@w5s/dev';\nimport { type PluginOptionsBase, type Config } from '../type.js';\nimport type { RuleOptions } from '../typegen/jsonc.js';\nimport { createRules } from './createRules.js';\nimport { esRules } from '../rules/esRules.js';\n\nconst defaultFiles = [`**/${Project.extensionsToGlob(Project.queryExtensions(['javascript', 'javascriptreact']))}`];\n\nexport async function es(\n options: es.Options,\n) {\n const { rules = {} } = options;\n\n return [\n {\n name: 'w5s/es/setup',\n languageOptions: {\n ecmaVersion: Project.ecmaVersion(),\n globals: {\n ...globals.browser,\n ...globals[`es${Project.ecmaVersion()}`],\n ...globals.node,\n __DEV__: 'readonly',\n __PROD__: 'readonly',\n __TEST__: 'readonly',\n document: 'readonly',\n navigator: 'readonly',\n window: 'readonly',\n },\n parserOptions: {\n ecmaFeatures: {\n jsx: true,\n },\n ecmaVersion: Project.ecmaVersion(),\n sourceType: 'module',\n },\n sourceType: 'module',\n },\n linterOptions: {\n reportUnusedDisableDirectives: true,\n },\n },\n {\n name: 'w5s/es/rules',\n files: defaultFiles,\n rules: {\n ...eslintConfig.configs.recommended.rules,\n ...createRules(''),\n ...esRules(),\n ...rules,\n },\n },\n ] as [Config, Config] satisfies Array<Config>;\n}\n\nexport namespace es {\n export type Rules = RuleOptions;\n\n export interface Options extends PluginOptionsBase<Rules> {}\n}\n","import { ESLintConfig } from '@w5s/dev';\n\nexport function createRules(prefix: string) {\n return ESLintConfig.renameRules({\n 'no-unused-vars': ['error', { argsIgnorePattern: '^_' }],\n }, {\n '': prefix,\n });\n}\n","import type { Linter } from 'eslint';\n\nexport const bestPractices = () => ({\n // enforces getter/setter pairs in objects\n // https://eslint.org/docs/rules/accessor-pairs\n 'accessor-pairs': 'off',\n\n // enforces return statements in callbacks of array's methods\n // https://eslint.org/docs/rules/array-callback-return\n 'array-callback-return': ['error', { allowImplicit: true }],\n\n // treat var statements as if they were block scoped\n // https://eslint.org/docs/rules/block-scoped-var\n 'block-scoped-var': 'error',\n\n // specify the maximum cyclomatic complexity allowed in a program\n // https://eslint.org/docs/rules/complexity\n 'complexity': ['off', 20],\n\n // enforce that class methods use \"this\"\n // https://eslint.org/docs/rules/class-methods-use-this\n 'class-methods-use-this': ['error', {\n exceptMethods: [],\n }],\n\n // require return statements to either always or never specify values\n // https://eslint.org/docs/rules/consistent-return\n 'consistent-return': 'error',\n\n // specify curly brace conventions for all control statements\n // https://eslint.org/docs/rules/curly\n 'curly': ['error', 'multi-line'], // multiline\n\n // require default case in switch statements\n // https://eslint.org/docs/rules/default-case\n 'default-case': ['error', { commentPattern: '^no default$' }],\n\n // Enforce default clauses in switch statements to be last\n // https://eslint.org/docs/rules/default-case-last\n 'default-case-last': 'error',\n\n // https://eslint.org/docs/rules/default-param-last\n 'default-param-last': 'error',\n\n // encourages use of dot notation whenever possible\n // https://eslint.org/docs/rules/dot-notation\n 'dot-notation': ['error', { allowKeywords: true }],\n\n // enforces consistent newlines before or after dots\n // https://eslint.org/docs/rules/dot-location\n 'dot-location': ['error', 'property'],\n\n // require the use of === and !==\n // https://eslint.org/docs/rules/eqeqeq\n 'eqeqeq': ['error', 'always', { null: 'ignore' }],\n\n // Require grouped accessor pairs in object literals and classes\n // https://eslint.org/docs/rules/grouped-accessor-pairs\n 'grouped-accessor-pairs': 'error',\n\n // make sure for-in loops have an if statement\n // https://eslint.org/docs/rules/guard-for-in\n 'guard-for-in': 'error',\n\n // enforce a maximum number of classes per file\n // https://eslint.org/docs/rules/max-classes-per-file\n 'max-classes-per-file': ['error', 1],\n\n // disallow the use of alert, confirm, and prompt\n // https://eslint.org/docs/rules/no-alert\n // TODO: enable, semver-major\n 'no-alert': 'warn',\n\n // disallow use of arguments.caller or arguments.callee\n // https://eslint.org/docs/rules/no-caller\n 'no-caller': 'error',\n\n // disallow lexical declarations in case/default clauses\n // https://eslint.org/docs/rules/no-case-declarations\n 'no-case-declarations': 'error',\n\n // Disallow returning value in constructor\n // https://eslint.org/docs/rules/no-constructor-return\n 'no-constructor-return': 'error',\n\n // disallow division operators explicitly at beginning of regular expression\n // https://eslint.org/docs/rules/no-div-regex\n 'no-div-regex': 'off',\n\n // disallow else after a return in an if\n // https://eslint.org/docs/rules/no-else-return\n 'no-else-return': ['error', { allowElseIf: false }],\n\n // disallow empty functions, except for standalone funcs/arrows\n // https://eslint.org/docs/rules/no-empty-function\n 'no-empty-function': ['error', {\n allow: [\n 'arrowFunctions',\n 'functions',\n 'methods',\n ],\n }],\n\n // disallow empty destructuring patterns\n // https://eslint.org/docs/rules/no-empty-pattern\n 'no-empty-pattern': 'error',\n\n // Disallow empty static blocks\n // https://eslint.org/docs/latest/rules/no-empty-static-block\n // TODO: semver-major, enable\n 'no-empty-static-block': 'off',\n\n // disallow comparisons to null without a type-checking operator\n // https://eslint.org/docs/rules/no-eq-null\n 'no-eq-null': 'off',\n\n // disallow use of eval()\n // https://eslint.org/docs/rules/no-eval\n 'no-eval': 'error',\n\n // disallow adding to native types\n // https://eslint.org/docs/rules/no-extend-native\n 'no-extend-native': 'error',\n\n // disallow unnecessary function binding\n // https://eslint.org/docs/rules/no-extra-bind\n 'no-extra-bind': 'error',\n\n // disallow Unnecessary Labels\n // https://eslint.org/docs/rules/no-extra-label\n 'no-extra-label': 'error',\n\n // disallow fallthrough of case statements\n // https://eslint.org/docs/rules/no-fallthrough\n 'no-fallthrough': 'error',\n\n // disallow the use of leading or trailing decimal points in numeric literals\n // https://eslint.org/docs/rules/no-floating-decimal\n 'no-floating-decimal': 'error',\n\n // disallow reassignments of native objects or read-only globals\n // https://eslint.org/docs/rules/no-global-assign\n 'no-global-assign': ['error', { exceptions: [] }],\n\n // deprecated in favor of no-global-assign\n // https://eslint.org/docs/rules/no-native-reassign\n 'no-native-reassign': 'off',\n\n // disallow implicit type conversions\n // https://eslint.org/docs/rules/no-implicit-coercion\n 'no-implicit-coercion': ['off', {\n boolean: false,\n number: true,\n string: true,\n allow: [],\n }],\n\n // disallow var and named functions in global scope\n // https://eslint.org/docs/rules/no-implicit-globals\n 'no-implicit-globals': 'off',\n\n // disallow use of eval()-like methods\n // https://eslint.org/docs/rules/no-implied-eval\n 'no-implied-eval': 'error',\n\n // disallow this keywords outside of classes or class-like objects\n // https://eslint.org/docs/rules/no-invalid-this\n 'no-invalid-this': 'off',\n\n // disallow usage of __iterator__ property\n // https://eslint.org/docs/rules/no-iterator\n 'no-iterator': 'error',\n\n // disallow use of labels for anything other than loops and switches\n // https://eslint.org/docs/rules/no-labels\n 'no-labels': ['error', { allowLoop: false, allowSwitch: false }],\n\n // disallow unnecessary nested blocks\n // https://eslint.org/docs/rules/no-lone-blocks\n 'no-lone-blocks': 'error',\n\n // disallow creation of functions within loops\n // https://eslint.org/docs/rules/no-loop-func\n 'no-loop-func': 'error',\n\n // disallow magic numbers\n // https://eslint.org/docs/rules/no-magic-numbers\n 'no-magic-numbers': ['off', {\n ignore: [],\n ignoreArrayIndexes: true,\n enforceConst: true,\n detectObjects: false,\n }],\n\n // disallow use of multiple spaces\n // https://eslint.org/docs/rules/no-multi-spaces\n 'no-multi-spaces': ['error', {\n ignoreEOLComments: false,\n }],\n\n // disallow use of multiline strings\n // https://eslint.org/docs/rules/no-multi-str\n 'no-multi-str': 'error',\n\n // disallow use of new operator when not part of the assignment or comparison\n // https://eslint.org/docs/rules/no-new\n 'no-new': 'error',\n\n // disallow use of new operator for Function object\n // https://eslint.org/docs/rules/no-new-func\n 'no-new-func': 'error',\n\n // disallows creating new instances of String, Number, and Boolean\n // https://eslint.org/docs/rules/no-new-wrappers\n 'no-new-wrappers': 'error',\n\n // Disallow \\8 and \\9 escape sequences in string literals\n // https://eslint.org/docs/rules/no-nonoctal-decimal-escape\n 'no-nonoctal-decimal-escape': 'error',\n\n // Disallow calls to the Object constructor without an argument\n // https://eslint.org/docs/latest/rules/no-object-constructor\n // TODO: enable, semver-major\n 'no-object-constructor': 'off',\n\n // disallow use of (old style) octal literals\n // https://eslint.org/docs/rules/no-octal\n 'no-octal': 'error',\n\n // disallow use of octal escape sequences in string literals, such as\n // var foo = 'Copyright \\251';\n // https://eslint.org/docs/rules/no-octal-escape\n 'no-octal-escape': 'error',\n\n // disallow reassignment of function parameters\n // disallow parameter object manipulation except for specific exclusions\n // rule: https://eslint.org/docs/rules/no-param-reassign.html\n 'no-param-reassign': ['error', {\n props: true,\n ignorePropertyModificationsFor: [\n 'acc', // for reduce accumulators\n 'accumulator', // for reduce accumulators\n 'e', // for e.returnvalue\n 'ctx', // for Koa routing\n 'context', // for Koa routing\n 'req', // for Express requests\n 'request', // for Express requests\n 'res', // for Express responses\n 'response', // for Express responses\n '$scope', // for Angular 1 scopes\n 'staticContext', // for ReactRouter context\n ],\n }],\n\n // disallow usage of __proto__ property\n // https://eslint.org/docs/rules/no-proto\n 'no-proto': 'error',\n\n // disallow declaring the same variable more than once\n // https://eslint.org/docs/rules/no-redeclare\n 'no-redeclare': 'error',\n\n // disallow certain object properties\n // https://eslint.org/docs/rules/no-restricted-properties\n 'no-restricted-properties': ['error', {\n object: 'arguments',\n property: 'callee',\n message: 'arguments.callee is deprecated',\n }, {\n object: 'global',\n property: 'isFinite',\n message: 'Please use Number.isFinite instead',\n }, {\n object: 'self',\n property: 'isFinite',\n message: 'Please use Number.isFinite instead',\n }, {\n object: 'window',\n property: 'isFinite',\n message: 'Please use Number.isFinite instead',\n }, {\n object: 'global',\n property: 'isNaN',\n message: 'Please use Number.isNaN instead',\n }, {\n object: 'self',\n property: 'isNaN',\n message: 'Please use Number.isNaN instead',\n }, {\n object: 'window',\n property: 'isNaN',\n message: 'Please use Number.isNaN instead',\n }, {\n property: '__defineGetter__',\n message: 'Please use Object.defineProperty instead.',\n }, {\n property: '__defineSetter__',\n message: 'Please use Object.defineProperty instead.',\n }, {\n object: 'Math',\n property: 'pow',\n message: 'Use the exponentiation operator (**) instead.',\n }],\n\n // disallow use of assignment in return statement\n // https://eslint.org/docs/rules/no-return-assign\n 'no-return-assign': ['error', 'always'],\n\n // disallow redundant `return await`\n // https://eslint.org/docs/rules/no-return-await\n 'no-return-await': 'error',\n\n // disallow use of `javascript:` urls.\n // https://eslint.org/docs/rules/no-script-url\n 'no-script-url': 'error',\n\n // disallow self assignment\n // https://eslint.org/docs/rules/no-self-assign\n 'no-self-assign': ['error', {\n props: true,\n }],\n\n // disallow comparisons where both sides are exactly the same\n // https://eslint.org/docs/rules/no-self-compare\n 'no-self-compare': 'error',\n\n // disallow use of comma operator\n // https://eslint.org/docs/rules/no-sequences\n 'no-sequences': 'error',\n\n // restrict what can be thrown as an exception\n // https://eslint.org/docs/rules/no-throw-literal\n 'no-throw-literal': 'error',\n\n // disallow unmodified conditions of loops\n // https://eslint.org/docs/rules/no-unmodified-loop-condition\n 'no-unmodified-loop-condition': 'off',\n\n // disallow usage of expressions in statement position\n // https://eslint.org/docs/rules/no-unused-expressions\n 'no-unused-expressions': ['error', {\n allowShortCircuit: false,\n allowTernary: false,\n allowTaggedTemplates: false,\n }],\n\n // disallow unused labels\n // https://eslint.org/docs/rules/no-unused-labels\n 'no-unused-labels': 'error',\n\n // disallow unnecessary .call() and .apply()\n // https://eslint.org/docs/rules/no-useless-call\n 'no-useless-call': 'off',\n\n // Disallow unnecessary catch clauses\n // https://eslint.org/docs/rules/no-useless-catch\n 'no-useless-catch': 'error',\n\n // disallow useless string concatenation\n // https://eslint.org/docs/rules/no-useless-concat\n 'no-useless-concat': 'error',\n\n // disallow unnecessary string escaping\n // https://eslint.org/docs/rules/no-useless-escape\n 'no-useless-escape': 'error',\n\n // disallow redundant return; keywords\n // https://eslint.org/docs/rules/no-useless-return\n 'no-useless-return': 'error',\n\n // disallow use of void operator\n // https://eslint.org/docs/rules/no-void\n 'no-void': 'error',\n\n // disallow usage of configurable warning terms in comments: e.g. todo\n // https://eslint.org/docs/rules/no-warning-comments\n 'no-warning-comments': ['off', { terms: ['todo', 'fixme', 'xxx'], location: 'start' }],\n\n // disallow use of the with statement\n // https://eslint.org/docs/rules/no-with\n 'no-with': 'error',\n\n // require using Error objects as Promise rejection reasons\n // https://eslint.org/docs/rules/prefer-promise-reject-errors\n 'prefer-promise-reject-errors': ['error', { allowEmptyReject: true }],\n\n // Suggest using named capture group in regular expression\n // https://eslint.org/docs/rules/prefer-named-capture-group\n 'prefer-named-capture-group': 'off',\n\n // Prefer Object.hasOwn() over Object.prototype.hasOwnProperty.call()\n // https://eslint.org/docs/rules/prefer-object-has-own\n // TODO: semver-major: enable thus rule, once eslint v8.5.0 is required\n 'prefer-object-has-own': 'off',\n\n // https://eslint.org/docs/rules/prefer-regex-literals\n 'prefer-regex-literals': ['error', {\n disallowRedundantWrapping: true,\n }],\n\n // require use of the second argument for parseInt()\n // https://eslint.org/docs/rules/radix\n 'radix': 'error',\n\n // require `await` in `async function` (note: this is a horrible rule that should never be used)\n // https://eslint.org/docs/rules/require-await\n 'require-await': 'off',\n\n // Enforce the use of u flag on RegExp\n // https://eslint.org/docs/rules/require-unicode-regexp\n 'require-unicode-regexp': 'off',\n\n // requires to declare all vars on top of their containing scope\n // https://eslint.org/docs/rules/vars-on-top\n 'vars-on-top': 'error',\n\n // require immediate function invocation to be wrapped in parentheses\n // https://eslint.org/docs/rules/wrap-iife.html\n 'wrap-iife': ['error', 'outside', { functionPrototypeMethods: false }],\n\n // require or disallow Yoda conditions\n // https://eslint.org/docs/rules/yoda\n 'yoda': 'error',\n} satisfies Linter.RulesRecord);\n","import type { Linter } from 'eslint';\n\nexport const errors = () => ({\n // Enforce “for” loop update clause moving the counter in the right direction\n // https://eslint.org/docs/rules/for-direction\n 'for-direction': 'error',\n\n // Enforces that a return statement is present in property getters\n // https://eslint.org/docs/rules/getter-return\n 'getter-return': ['error', { allowImplicit: true }],\n\n // disallow using an async function as a Promise executor\n // https://eslint.org/docs/rules/no-async-promise-executor\n 'no-async-promise-executor': 'error',\n\n // Disallow await inside of loops\n // https://eslint.org/docs/rules/no-await-in-loop\n 'no-await-in-loop': 'error',\n\n // Disallow comparisons to negative zero\n // https://eslint.org/docs/rules/no-compare-neg-zero\n 'no-compare-neg-zero': 'error',\n\n // disallow assignment in conditional expressions\n 'no-cond-assign': ['error', 'always'],\n\n // disallow use of console\n 'no-console': 'warn',\n\n // Disallows expressions where the operation doesn't affect the value\n // https://eslint.org/docs/rules/no-constant-binary-expression\n // TODO: semver-major, enable\n 'no-constant-binary-expression': 'off',\n\n // disallow use of constant expressions in conditions\n 'no-constant-condition': 'warn',\n\n // disallow control characters in regular expressions\n 'no-control-regex': 'error',\n\n // disallow use of debugger\n 'no-debugger': 'error',\n\n // disallow duplicate arguments in functions\n 'no-dupe-args': 'error',\n\n // Disallow duplicate conditions in if-else-if chains\n // https://eslint.org/docs/rules/no-dupe-else-if\n 'no-dupe-else-if': 'error',\n\n // disallow duplicate keys when creating object literals\n 'no-dupe-keys': 'error',\n\n // disallow a duplicate case label.\n 'no-duplicate-case': 'error',\n\n // disallow empty statements\n 'no-empty': 'error',\n\n // disallow the use of empty character classes in regular expressions\n 'no-empty-character-class': 'error',\n\n // disallow assigning to the exception in a catch block\n 'no-ex-assign': 'error',\n\n // disallow double-negation boolean casts in a boolean context\n // https://eslint.org/docs/rules/no-extra-boolean-cast\n 'no-extra-boolean-cast': 'error',\n\n // disallow unnecessary parentheses\n // https://eslint.org/docs/rules/no-extra-parens\n 'no-extra-parens': ['off', 'all', {\n conditionalAssign: true,\n nestedBinaryExpressions: false,\n returnAssign: false,\n ignoreJSX: 'all', // delegate to eslint-plugin-react\n enforceForArrowConditionals: false,\n }],\n\n // disallow unnecessary semicolons\n 'no-extra-semi': 'error',\n\n // disallow overwriting functions written as function declarations\n 'no-func-assign': 'error',\n\n // https://eslint.org/docs/rules/no-import-assign\n 'no-import-assign': 'error',\n\n // disallow function or variable declarations in nested blocks\n 'no-inner-declarations': 'error',\n\n // disallow invalid regular expression strings in the RegExp constructor\n 'no-invalid-regexp': 'error',\n\n // disallow irregular whitespace outside of strings and comments\n 'no-irregular-whitespace': 'error',\n\n // Disallow Number Literals That Lose Precision\n // https://eslint.org/docs/rules/no-loss-of-precision\n 'no-loss-of-precision': 'error',\n\n // Disallow characters which are made with multiple code points in character class syntax\n // https://eslint.org/docs/rules/no-misleading-character-class\n 'no-misleading-character-class': 'error',\n\n // disallow the use of object properties of the global object (Math and JSON) as functions\n 'no-obj-calls': 'error',\n\n // Disallow new operators with global non-constructor functions\n // https://eslint.org/docs/latest/rules/no-new-native-nonconstructor\n // TODO: semver-major, enable\n 'no-new-native-nonconstructor': 'off',\n\n // Disallow returning values from Promise executor functions\n // https://eslint.org/docs/rules/no-promise-executor-return\n 'no-promise-executor-return': 'error',\n\n // disallow use of Object.prototypes builtins directly\n // https://eslint.org/docs/rules/no-prototype-builtins\n 'no-prototype-builtins': 'error',\n\n // disallow multiple spaces in a regular expression literal\n 'no-regex-spaces': 'error',\n\n // Disallow returning values from setters\n // https://eslint.org/docs/rules/no-setter-return\n 'no-setter-return': 'error',\n\n // disallow sparse arrays\n 'no-sparse-arrays': 'error',\n\n // Disallow template literal placeholder syntax in regular strings\n // https://eslint.org/docs/rules/no-template-curly-in-string\n 'no-template-curly-in-string': 'error',\n\n // Avoid code that looks like two expressions but is actually one\n // https://eslint.org/docs/rules/no-unexpected-multiline\n 'no-unexpected-multiline': 'error',\n\n // disallow unreachable statements after a return, throw, continue, or break statement\n 'no-unreachable': 'error',\n\n // Disallow loops with a body that allows only one iteration\n // https://eslint.org/docs/rules/no-unreachable-loop\n 'no-unreachable-loop': ['error', {\n ignore: [], // WhileStatement, DoWhileStatement, ForStatement, ForInStatement, ForOfStatement\n }],\n\n // disallow return/throw/break/continue inside finally blocks\n // https://eslint.org/docs/rules/no-unsafe-finally\n 'no-unsafe-finally': 'error',\n\n // disallow negating the left operand of relational operators\n // https://eslint.org/docs/rules/no-unsafe-negation\n 'no-unsafe-negation': 'error',\n\n // disallow use of optional chaining in contexts where the undefined value is not allowed\n // https://eslint.org/docs/rules/no-unsafe-optional-chaining\n 'no-unsafe-optional-chaining': ['error', { disallowArithmeticOperators: true }],\n\n // Disallow Unused Private Class Members\n // https://eslint.org/docs/rules/no-unused-private-class-members\n // TODO: enable once eslint 7 is dropped (which is semver-major)\n 'no-unused-private-class-members': 'off',\n\n // Disallow useless backreferences in regular expressions\n // https://eslint.org/docs/rules/no-useless-backreference\n 'no-useless-backreference': 'error',\n\n // disallow negation of the left operand of an in expression\n // deprecated in favor of no-unsafe-negation\n 'no-negated-in-lhs': 'off',\n\n // Disallow assignments that can lead to race conditions due to usage of await or yield\n // https://eslint.org/docs/rules/require-atomic-updates\n // note: not enabled because it is very buggy\n 'require-atomic-updates': 'off',\n\n // disallow comparisons with the value NaN\n 'use-isnan': 'error',\n\n // ensure JSDoc comments are valid\n // https://eslint.org/docs/rules/valid-jsdoc\n 'valid-jsdoc': 'off',\n\n // ensure that the results of typeof are compared against a valid string\n // https://eslint.org/docs/rules/valid-typeof\n 'valid-typeof': ['error', { requireStringLiterals: true }],\n} satisfies Linter.RulesRecord);\n","import type { Linter } from 'eslint';\n\nexport const overrides = () => ({\n // Too many errors in components\n 'class-methods-use-this': 'off',\n // Annoying because it is not always wanted\n 'default-case': 'off',\n // We do not want console.* in production. Disable this rule on a per line basis if needed\n 'no-console': 'error',\n // Often useful in jsx\n 'no-nested-ternary': 'off',\n // Too strict, for pure code prefer the functional plugin\n 'no-param-reassign': ['error', { props: false }],\n // Allow for-of syntax\n // 'no-restricted-syntax': baseConfig.rules['no-restricted-syntax'].filter(\n // // @ts-ignore No typing available\n // ({ selector }) => selector !== 'ForOfStatement',\n // ),\n // underscore is often used (mongodb, etc)\n 'no-underscore-dangle': 'off',\n // Ignore underscore case arguments\n 'no-unused-vars': ['error', { argsIgnorePattern: '^_' }],\n // Allow in some cases https://github.com/airbnb/javascript/issues/1089#issuecomment-1024351821\n 'no-use-before-define': ['error', 'nofunc'],\n // Allow statements, to be compatible with '@typescript-eslint/no-floating-promises' fix\n 'no-void': ['error', { allowAsStatement: true }],\n 'unicode-bom': ['error', 'never'],\n} satisfies Linter.RulesRecord);\n","import { bestPractices } from './esRules/bestPractices.js';\nimport { errors } from './esRules/errors.js';\nimport { overrides } from './esRules/overrides.js';\nexport const esRules = () => ({\n ...bestPractices(),\n ...errors(),\n ...overrides(),\n});\n","import fs from 'node:fs';\nimport nodePath from 'node:path';\nimport process from 'node:process';\nimport { findUp } from 'find-up';\nimport parseGitignore from 'parse-gitignore';\nimport type { Config } from '../type.js';\n\nconst getGitignore = async (cwd: string, prefix = ''): Promise<Array<string>> => {\n const gitIgnoreFile = await findUp(nodePath.join(prefix, '.gitignore'), { cwd });\n if (gitIgnoreFile != null) {\n const { patterns } = parseGitignore.parse(await fs.promises.readFile(gitIgnoreFile));\n const returnValue = patterns.map((pattern) => nodePath.join(prefix, pattern));\n return returnValue;\n }\n return [];\n};\n\nexport async function ignores(options: ignores.Options = {}) {\n const cwd = process.cwd();\n const [ignoreRoot, ignoreAndroid, ignoreIOS] = await Promise.all([\n getGitignore(cwd),\n getGitignore(cwd, 'android'),\n getGitignore(cwd, 'ios'),\n ]);\n\n return [\n {\n ignores: [\n '**/node_modules',\n '**/dist',\n '**/package-lock.json',\n '**/yarn.lock',\n '**/pnpm-lock.yaml',\n '**/bun.lockb',\n\n '**/.docusaurus',\n '**/output',\n '**/coverage',\n '**/temp',\n '**/.temp',\n '**/tmp',\n '**/.tmp',\n '**/.history',\n '**/.vitepress/cache',\n '**/.nuxt',\n '**/.next',\n '**/.svelte-kit',\n '**/.vercel',\n '**/.changeset',\n '**/.idea',\n '**/.cache',\n '**/.output',\n '**/.vite-inspect',\n '**/.yarn',\n '**/vendor',\n '**/vendors',\n '**/*.min.*',\n\n '**/*.timestamp-*.mjs', // esbuild/vite temporary files\n\n '.modules/',\n '.go/',\n '.pnpm-store/',\n // '!.*',\n // '.venv/',\n // 'deprecated/',\n // 'test-output/',\n // 'venv/',\n // '_generated_/',\n\n ...ignoreRoot,\n ...ignoreAndroid,\n ...ignoreIOS,\n ...(options.ignores ?? []),\n ] as Array<string>,\n name: 'w5s/ignore',\n },\n ] as const satisfies Array<Config>;\n}\nexport namespace ignores {\n export interface Options {\n ignores?: string[];\n }\n}\n","import type { StylisticCustomizeOptions } from '@stylistic/eslint-plugin';\nimport prettierConfig from '@w5s/prettier-config';\n\nexport interface StylisticConfig {\n enabled: boolean;\n indent: NonNullable<StylisticCustomizeOptions['indent']>;\n quotes: NonNullable<StylisticCustomizeOptions['quotes']>;\n jsx: NonNullable<StylisticCustomizeOptions['jsx']>;\n semi: NonNullable<StylisticCustomizeOptions['semi']>;\n}\n\nexport interface StylisticParameters extends Partial<StylisticConfig> {}\n\nconst defaultConfig = {\n enabled: true,\n indent: prettierConfig.tabWidth ?? 2,\n quotes: prettierConfig.singleQuote ? 'single' : 'double',\n jsx: true,\n semi: prettierConfig.semi ?? true,\n} satisfies StylisticConfig;\n\n/**\n * @namespace\n */\nexport const StylisticConfig = {\n /**\n * Default config\n */\n default: defaultConfig,\n\n /**\n * Return a new StylisticConfig from input\n *\n * @param input\n */\n from(input: boolean | StylisticParameters): StylisticConfig {\n return typeof input === 'boolean' ? { ...defaultConfig, enabled: input } : { ...defaultConfig, ...input };\n },\n};\n","import { interopDefault } from '@w5s/dev';\nimport { StylisticConfig, type PluginOptionsBase, type Config } from '../type.js';\nimport type { RuleOptions } from '../typegen/jsdoc.js';\n\nexport async function jsdoc(options: jsdoc.Options = {}): Promise<readonly Config[]> {\n const [jsdocPlugin] = await Promise.all([\n interopDefault(import('eslint-plugin-jsdoc')),\n ] as const);\n const { rules = {}, stylistic = true } = options;\n const { enabled: stylisticEnabled } = StylisticConfig.from(stylistic);\n\n return [\n {\n name: 'w5s/jsdoc/setup',\n plugins: {\n jsdoc: jsdocPlugin,\n },\n },\n {\n name: 'w5s/jsdoc/rules',\n rules: {\n ...(jsdocPlugin.configs['flat/recommended'].rules),\n 'jsdoc/no-undefined-types': 'off', // https://github.com/gajus/eslint-plugin-jsdoc/issues/839\n 'jsdoc/require-hyphen-before-param-description': ['warn', 'always'],\n 'jsdoc/require-jsdoc': 'off',\n 'jsdoc/require-param-description': 'off',\n 'jsdoc/require-returns': 'off',\n 'jsdoc/tag-lines': ['warn', 'any', { startLines: 1 }],\n 'jsdoc/valid-types': 'off', // FIXME: reports lots of false positive\n // 'strict': ['error', 'safe'],\n ...(stylisticEnabled\n ? {\n // ...(jsdocPlugin.configs['flat/stylistic'].rules),\n 'jsdoc/check-alignment': 'warn',\n 'jsdoc/multiline-blocks': 'warn',\n }\n : {}),\n ...rules,\n },\n settings: {\n jsdoc: {\n mode: 'typescript',\n },\n },\n },\n ] as [Config, Config] satisfies Array<Config>;\n}\n\nexport namespace jsdoc {\n export type Rules = RuleOptions;\n\n export interface Options extends PluginOptionsBase<Rules> {}\n}\n","/* cSpell:disable */\nimport { interopDefault, Project } from '@w5s/dev';\nimport { StylisticConfig, type PluginOptionsBase, type Config } from '../type.js';\nimport type { RuleOptions } from '../typegen/jsonc.js';\n\nconst defaultFiles = [`**/${Project.extensionsToGlob(['.json', '.json5', '.jsonc'])}`];\n\nexport async function jsonc(options: jsonc.Options = {}): Promise<readonly Config[]> {\n const [jsoncPlugin, jsoncParser] = await Promise.all([\n interopDefault(import('eslint-plugin-jsonc')),\n interopDefault(import('jsonc-eslint-parser')),\n ] as const);\n const { files = defaultFiles, rules = {}, stylistic = true } = options;\n const { enabled: stylisticEnabled, indent } = StylisticConfig.from(stylistic);\n\n return [\n {\n name: 'w5s/jsonc/setup',\n plugins: {\n jsonc: jsoncPlugin,\n },\n },\n {\n files,\n languageOptions: {\n parser: jsoncParser,\n },\n name: 'w5s/jsonc/rules',\n rules: {\n ...(jsoncPlugin.configs['flat/recommended-with-json'][0]?.rules),\n ...(stylisticEnabled\n ? {\n 'jsonc/array-bracket-spacing': ['error', 'never'],\n 'jsonc/comma-dangle': ['error', 'never'],\n 'jsonc/comma-style': ['error', 'last'],\n 'jsonc/indent': ['error', indent],\n 'jsonc/key-spacing': ['error', { afterColon: true, beforeColon: false }],\n 'jsonc/object-curly-newline': ['error', { consistent: true, multiline: true }],\n 'jsonc/object-curly-spacing': ['error', 'always'],\n 'jsonc/object-property-newline': ['error', { allowMultiplePropertiesPerLine: true }],\n 'jsonc/quote-props': 'error',\n 'jsonc/quotes': 'error',\n }\n : {}),\n ...rules,\n },\n },\n stylisticEnabled ? sortPackageJson() : {},\n stylisticEnabled ? sortTsconfigJson() : {},\n ] as [Config, Config, Config, Config] satisfies Array<Config>;\n}\n\nfunction sortTsconfigJson() {\n return {\n files: ['tsconfig*.json'],\n rules: {\n 'jsonc/sort-keys': [\n 'error',\n {\n order: ['$schema', 'display', 'extends', 'compilerOptions', 'include', 'exclude', 'files', 'references'],\n pathPattern: '^$',\n },\n {\n order: { type: 'asc' },\n pathPattern: '.*',\n },\n ],\n },\n };\n}\n\nfunction sortPackageJson() {\n return {\n files: ['package.json'],\n rules: {\n 'jsonc/sort-keys': [\n 'error',\n {\n order: [\n '$schema',\n 'name',\n 'displayName',\n 'version',\n 'private',\n 'description',\n 'categories',\n 'keywords',\n 'homepage',\n 'bugs',\n 'repository',\n 'funding',\n 'license',\n 'qna',\n 'author',\n 'maintainers', // Key order (per item): name, email, url\n 'contributors', // Key order (per item): name, email, url\n 'publisher',\n 'sideEffects',\n 'type',\n 'imports',\n 'exports',\n 'main',\n 'svelte',\n 'umd:main',\n 'jsdelivr',\n 'unpkg',\n 'module',\n 'source',\n 'jsnext:main',\n 'browser',\n 'react-native',\n 'types',\n 'typesVersions',\n 'typings',\n 'style',\n 'example',\n 'examplestyle',\n 'assets',\n 'bin',\n 'man',\n 'directories', // Key order: lib, bin, man, doc, example, test\n 'files', // Unique items\n 'workspaces',\n 'binary', // Key order: module_name, module_path, remote_path, package_name, host\n 'scripts', // Script sort\n 'betterScripts', // Script sort\n 'contributes',\n 'activationEvents', // Unique items\n 'husky', // Sorts the hooks field using git hook sort\n 'simple-git-hooks', // Key sort using git hook sort\n 'pre-commit',\n 'commitlint',\n 'lint-staged',\n 'config',\n 'nodemonConfig',\n 'browserify',\n 'babel',\n 'browserslist',\n 'xo',\n 'prettier', // Prettier sort\n 'eslintConfig', // ESLint sort\n 'eslintIgnore',\n 'npmpackagejsonlint', // Key sort (also recognizes: npmPackageJsonLintConfig, npmpkgjsonlint)\n 'release',\n 'remarkConfig',\n 'stylelint',\n 'ava',\n 'jest',\n 'mocha',\n 'nyc',\n 'tap',\n 'resolutions',\n 'dependencies',\n 'devDependencies',\n 'dependenciesMeta', // Key sort (deep)\n 'peerDependencies',\n 'peerDependenciesMeta', // Key sort (deep)\n 'optionalDependencies',\n 'bundledDependencies',\n 'bundleDependencies',\n 'extensionPack',\n 'extensionDependencies',\n 'flat',\n 'packageManager',\n 'engines',\n 'engineStrict',\n 'volta', // Key order: node, npm, yarn\n 'languageName',\n 'os',\n 'cpu',\n 'preferGlobal',\n 'publishConfig',\n 'icon',\n 'badges', // Key order (per item): description, url, href\n 'galleryBanner',\n 'preview',\n 'markdown',\n ],\n pathPattern: '^$',\n },\n {\n order: ['url', 'email'],\n pathPattern: `^bugs$`,\n },\n ...['repository', 'funding', 'license', 'author'].map((key) => ({\n order: ['type', 'name', 'email', 'url'],\n pathPattern: `^${key}$`,\n })),\n ...['scripts', 'betterScripts'].map((key) => ({\n order: { type: 'asc' },\n pathPattern: `^${key}$`,\n })),\n ...[\n 'bin',\n 'contributes',\n 'commitlint',\n 'config',\n 'nodemonConfig',\n 'browserify',\n 'babel',\n 'xo',\n 'release',\n 'remarkConfig',\n 'ava',\n 'jest',\n 'mocha',\n 'nyc',\n 'tap',\n 'resolutions',\n 'engines',\n 'engineStrict',\n 'preferGlobal',\n 'publishConfig',\n 'galleryBanner',\n ].map((key) => ({\n order: { type: 'asc' },\n pathPattern: `^${key}$`,\n })),\n {\n order: { type: 'asc' },\n pathPattern: '^(?:dev|peer|optional|bundled|extension)?[Dd]ependencies$',\n },\n {\n order: ['types', 'require', 'import'],\n pathPattern: '^exports.*$',\n },\n ],\n\n },\n };\n}\n\nexport namespace jsonc {\n export type Rules = RuleOptions;\n\n export interface Options extends PluginOptionsBase<Rules> {}\n}\n","import { PluginOptionsBase, StylisticConfig, type Config } from '../type.js';\nimport type { RuleOptions } from '../typegen/import.js';\n// @ts-ignore\nimport importPlugin from 'eslint-plugin-import';\n\nconst importConfig = importPlugin.flatConfigs['recommended'];\n\nexport async function imports(options: imports.Options = {}) {\n const { rules = {}, stylistic = true } = options;\n const { enabled: stylisticEnabled } = StylisticConfig.from(stylistic);\n return [\n {\n name: 'w5s/import/rules',\n plugins: importConfig.plugins ?? {},\n rules: {\n ...(importConfig?.rules),\n ...(stylisticEnabled\n ? {\n // Stylistic rules\n }\n : {}),\n ...rules,\n },\n },\n ] as [Config] satisfies Array<Config>;\n}\n\nexport namespace imports {\n export type Rules = RuleOptions;\n\n export interface Options extends PluginOptionsBase<Rules> {}\n}\n","import { interopDefault } from '@w5s/dev';\nimport { type Config, type PluginOptionsBase } from '../type.js';\nimport type { RuleOptions } from '../typegen/node.js';\n\nexport async function node(options: node.Options = {}) {\n const [nodePlugin] = await Promise.all([\n interopDefault(import('eslint-plugin-n')),\n ] as const);\n const { rules = {} } = options;\n return [\n {\n name: 'w5s/node/setup',\n plugins: {\n node: nodePlugin,\n },\n },\n {\n name: 'w5s/node/rules',\n rules: {\n // 'node/handle-callback-err': ['error', '^(err|error|_error)$'],\n 'node/no-deprecated-api': 'error',\n 'node/no-exports-assign': 'error',\n 'node/no-new-require': 'error',\n 'node/no-path-concat': 'error',\n 'node/no-sync': 'error',\n 'node/prefer-global/buffer': ['error', 'never'],\n 'node/prefer-global/console': ['error', 'always'],\n // 'node/prefer-global/process': ['error', 'never'],\n 'node/prefer-global/url': ['error', 'always'],\n 'node/prefer-global/url-search-params': ['error', 'always'],\n 'node/process-exit-as-throw': 'error',\n ...rules,\n },\n },\n ] as [Config, Config] satisfies Array<Config>;\n}\n\nexport namespace node {\n export type Rules = RuleOptions;\n\n export interface Options extends Omit<PluginOptionsBase<Rules>, 'files' | 'stylistic'> {}\n}\n","import { interopDefault } from '@w5s/dev';\nimport { StylisticConfig, type PluginOptionsBase, type Config, type StylisticParameters } from '../type.js';\nimport type { RuleOptions } from '../typegen/style.js';\n\nexport async function stylistic(options: stylistic.Options = {}) {\n const [stylisticPlugin] = await Promise.all([\n interopDefault(import('@stylistic/eslint-plugin')),\n ] as const);\n const { rules = {} } = options;\n const { enabled: stylisticEnabled, indent, jsx, quotes, semi } = StylisticConfig.from(options);\n const config = stylisticEnabled\n ? stylisticPlugin.configs.customize({\n indent,\n jsx,\n pluginName: 'style',\n quotes,\n semi,\n })\n : { rules: {} };\n\n return [\n {\n name: 'w5s/style/setup',\n plugins: {\n style: stylisticPlugin,\n },\n },\n {\n name: 'w5s/style/rules',\n rules: {\n ...(stylisticEnabled\n ? {\n ...config.rules,\n 'style/arrow-parens': ['error', 'always'],\n 'style/brace-style': ['error', '1tbs'],\n 'style/operator-linebreak': ['error', 'after', { overrides: { ':': 'before', '?': 'before', '|>': 'before', '|': 'before' } }],\n 'style/quotes': ['error', quotes ?? StylisticConfig.default.quotes, { avoidEscape: true, allowTemplateLiterals: 'always' }],\n }\n : {}),\n ...rules,\n },\n },\n ] as [Config, Config] satisfies Array<Config>;\n}\n\nexport namespace stylistic {\n export type Rules = RuleOptions;\n\n export interface Options extends Pick<PluginOptionsBase<Rules>, 'rules'>, StylisticParameters {}\n}\n","import { interopDefault, Project } from '@w5s/dev';\nimport { StylisticConfig, type PluginOptionsBase, type Config } from '../type.js';\nimport type { RuleOptions } from '../typegen/test.js';\n\nconst sourceGlob = Project.extensionsToGlob(Project.sourceExtensions());\nconst defaultFiles = [\n `**/__mocks__/**/${sourceGlob}`,\n `**/__tests__/**/${sourceGlob}`,\n `**/?(*.)+(spec|test)${sourceGlob.slice(1)}`,\n];\n\nexport async function test(options: test.Options = {}) {\n const [vitestPlugin] = await Promise.all([\n interopDefault(import('@vitest/eslint-plugin')),\n ] as const);\n const { files = defaultFiles, rules = {}, stylistic = true } = options;\n const { enabled: stylisticEnabled } = StylisticConfig.from(stylistic);\n\n return [\n {\n name: 'w5s/test/setup',\n plugins: {\n test: vitestPlugin,\n },\n },\n {\n files,\n name: 'w5s/test/rules',\n rules: {\n ...vitestPlugin.configs.recommended.rules,\n ...(stylisticEnabled\n ? {}\n : {}),\n ...rules,\n },\n },\n ] as [Config, Config] satisfies Array<Config>;\n}\n\nexport namespace test {\n export type Rules = RuleOptions;\n\n export interface Options extends PluginOptionsBase<Rules> {}\n}\n","/* eslint-disable ts/no-non-null-assertion */\nimport { ESLintConfig, interopDefault, Project } from '@w5s/dev';\nimport { StylisticConfig, type PluginOptionsBase, type Config } from '../type.js';\nimport type { RuleOptions } from '../typegen/ts.js';\nimport { createRules } from './createRules.js';\n\nconst defaultFiles = [`**/${Project.extensionsToGlob(Project.queryExtensions(['typescript', 'typescriptreact']))}`];\n\nexport async function ts(options: ts.Options = {}) {\n const [tsPlugin, tsParser] = await Promise.all([\n interopDefault(import('@typescript-eslint/eslint-plugin')),\n interopDefault(import('@typescript-eslint/parser')),\n ] as const);\n const tsRecommendedRules = tsPlugin.configs['eslint-recommended']!.overrides![0]!.rules!;\n const tsStrictRules = tsPlugin.configs['strict']!.rules!;\n const tsTypeCheckedRules = tsPlugin.configs['recommended-type-checked-only']!.rules!;\n const { files = defaultFiles, rules = {}, stylistic = true, typeChecked = false } = options;\n const { enabled: stylisticEnabled } = StylisticConfig.from(stylistic);\n\n return [\n {\n name: 'w5s/ts/setup',\n plugins: {\n ts: tsPlugin,\n },\n },\n {\n files,\n languageOptions: {\n parser: tsParser,\n parserOptions: {\n sourceType: 'module',\n // extraFileExtensions: componentExts.map(ext => `.${ext}`),\n // ...typeAware\n // ? {\n // projectService: {\n // allowDefaultProject: ['./*.js'],\n // defaultProject: tsconfigPath,\n // },\n // tsconfigRootDir: process.cwd(),\n // }\n // : {},\n // ...parserOptions as any,\n },\n },\n name: 'w5s/ts/rules',\n rules: {\n ...ESLintConfig.renameRules(\n tsRecommendedRules,\n { '@typescript-eslint': 'ts' },\n ),\n ...ESLintConfig.renameRules(\n tsStrictRules,\n { '@typescript-eslint': 'ts' },\n ),\n 'ts/ban-ts-comment': [\n 'warn',\n {\n 'minimumDescriptionLength': 3,\n 'ts-check': false,\n 'ts-expect-error': 'allow-with-description',\n 'ts-ignore': 'allow-with-description',\n 'ts-nocheck': true,\n },\n ],\n 'ts/no-empty-object-type': 'off',\n 'ts/no-explicit-any': 'off', // if any is explicit then it's wanted\n 'ts/no-namespace': 'off', // We don't agree with community, namespaces are great and not deprecated\n ...createRules('ts/'),\n ...(stylisticEnabled\n ? {}\n : {}),\n ...rules,\n },\n },\n ...(typeChecked\n ? [{\n files: defaultFiles,\n // ignores: ignoresTypeAware,\n name: 'w5s/ts/rules-type-checked',\n rules: {\n ...ESLintConfig.renameRules(\n tsTypeCheckedRules,\n { '@typescript-eslint': 'ts' },\n ),\n },\n }] as const\n : []),\n ] as ([Config, Config] | [Config, Config, Config]) satisfies Array<Config>;\n}\nexport namespace ts {\n export type Rules = RuleOptions;\n\n export interface Options extends PluginOptionsBase<Rules> {\n typeChecked?: boolean;\n }\n}\n","import { interopDefault } from '@w5s/dev';\nimport { StylisticConfig, type Config, type PluginOptionsBase } from '../type.js';\nimport type { RuleOptions } from '../typegen/unicorn.js';\n\nexport async function unicorn(options: unicorn.Options = {}) {\n const [unicornPlugin] = await Promise.all([\n interopDefault(import('eslint-plugin-unicorn')),\n ] as const);\n const { rules = {}, stylistic = true } = options;\n const { enabled: stylisticEnabled } = StylisticConfig.from(stylistic);\n\n return [\n {\n name: 'w5s/unicorn/setup',\n plugins: {\n unicorn: unicornPlugin,\n },\n },\n {\n name: 'w5s/unicorn/rules',\n rules: {\n ...(unicornPlugin.configs.recommended?.rules),\n // Disabled for safety\n 'unicorn/consistent-destructuring': 'off',\n 'unicorn/consistent-function-scoping': 'off', // Too many false positive\n 'unicorn/filename-case': 'off',\n 'unicorn/import-index': 'off', // Not playing well with ES Module\n 'unicorn/new-for-builtins': 'off', // error, @see https://github.com/sindresorhus/eslint-plugin-unicorn/issues/122\n 'unicorn/no-array-callback-reference': 'off', // Many false positive reported\n 'unicorn/no-array-for-each': 'off', // This rule could change browser compatibility\n 'unicorn/no-array-method-this-argument': 'off', // Many false positive reported\n 'unicorn/no-array-reduce': 'off', // Array#reduce can be used\n 'unicorn/no-console-spaces': 'off',\n 'unicorn/no-fn-reference-in-iterator': 'off', // error ?\n 'unicorn/no-nested-ternary': 'off',\n 'unicorn/no-null': 'off', // https://github.com/sindresorhus/eslint-plugin-unicorn/issues/612\n 'unicorn/no-object-as-default-parameter': 'off',\n 'unicorn/no-process-exit': 'off',\n 'unicorn/no-unreadable-array-destructuring': 'off',\n 'unicorn/no-unused-properties': 'warn',\n 'unicorn/no-useless-undefined': 'off',\n 'unicorn/prefer-add-event-listener': 'off',\n 'unicorn/prefer-default-parameters': 'off',\n 'unicorn/prefer-set-has': 'off',\n 'unicorn/prevent-abbreviations': 'off', // This rule is so dangerous : it potentially break code while fixing in many cases !!\n 'unicorn/throw-new-error': 'off', // Creating errors with call signature is OK\n ...(stylisticEnabled\n ? {}\n : {}),\n ...rules,\n },\n },\n // TODO: move to another file ?\n {\n name: 'w5s/unicorn/overrides',\n files: ['**/*.config.cjs', '**/*.config.js'],\n rules: {\n 'unicorn/prefer-module': 'off',\n },\n },\n ] as [Config, Config, Config] satisfies Array<Config>;\n}\n\nexport namespace unicorn {\n export type Rules = RuleOptions;\n\n export interface Options extends PluginOptionsBase<Rules> {}\n}\n","/* eslint-disable ts/no-non-null-assertion */\nimport { interopDefault, Project } from '@w5s/dev';\nimport { StylisticConfig, type Config, type PluginOptionsBase } from '../type.js';\nimport type { RuleOptions } from '../typegen/yml.js';\n\nconst defaultFiles = [`**/${Project.extensionsToGlob(Project.queryExtensions(['yaml']))}`];\n\nexport async function yml(options: yml.Options = {}) {\n const [ymlPlugin, ymlParser] = await Promise.all([\n interopDefault(import('eslint-plugin-yml')),\n interopDefault(import('yaml-eslint-parser')),\n ] as const);\n const { files = defaultFiles, rules = {}, stylistic = true } = options;\n const { enabled: stylisticEnabled, indent, quotes } = StylisticConfig.from(stylistic);\n\n return [\n {\n name: 'w5s/yml/setup',\n plugins: {\n yml: ymlPlugin,\n },\n },\n {\n files,\n languageOptions: {\n parser: ymlParser,\n },\n name: 'w5s/yml/rules',\n rules: {\n ...(ymlPlugin.configs['flat/recommended'][0]!.rules),\n ...(ymlPlugin.configs['flat/recommended'][1]!.rules),\n ...(ymlPlugin.configs['flat/recommended'][2]!.rules),\n ...(stylisticEnabled\n ? {\n // ...(ymlPlugin.configs['flat/standard'][3]!.rules),\n // 'yml/array-bracket-spacing': ['error', 'never'],\n // 'yml/comma-dangle': ['error', 'never'],\n // 'yml/comma-style': ['error', 'last'],\n\n // 'yml/object-curly-newline': ['error', { consistent: true, multiline: true }],\n // 'yml/object-curly-spacing': ['error', 'always'],\n // 'yml/object-property-newline': ['error', { allowMultiplePropertiesPerLine: true }],\n // 'yml/quote-props': 'error',\n\n 'style/spaced-comment': 'off', // Fix\n\n 'yml/block-mapping-question-indicator-newline': 'error',\n 'yml/block-sequence-hyphen-indicator-newline': 'error',\n 'yml/flow-mapping-curly-newline': 'error',\n 'yml/flow-mapping-curly-spacing': 'error',\n 'yml/flow-sequence-bracket-newline': 'error',\n 'yml/flow-sequence-bracket-spacing': 'error',\n 'yml/indent': ['error', indent === 'tab' ? 2 : indent],\n 'yml/key-spacing': ['error', { afterColon: true, beforeColon: false }],\n 'yml/no-tab-indent': 'error',\n 'yml/quotes': ['error', { avoidEscape: true, prefer: quotes === 'backtick' ? 'single' as const : quotes }],\n 'yml/spaced-comment': 'error',\n }\n : {}),\n ...rules,\n },\n },\n ] as [Config, Config] satisfies Array<Config>;\n}\n\nexport namespace yml {\n export type Rules = RuleOptions;\n\n export interface Options extends PluginOptionsBase<Rules> {}\n}\n","import { jsdoc, jsonc, ignores, imports, node, ts, yml, unicorn, stylistic, es } from './config.js';\nimport type { Config } from './type.js';\n\nexport interface DefineConfigOptions extends ignores.Options {\n es?: boolean | es.Options;\n import?: boolean | imports.Options;\n jsdoc?: boolean | jsdoc.Options;\n jsonc?: boolean | jsonc.Options;\n node?: boolean | node.Options;\n stylistic?: boolean | stylistic.Options;\n ts?: boolean | ts.Options;\n unicorn?: boolean | unicorn.Options;\n yml?: boolean | yml.Options;\n}\n\nexport async function defineConfig(options: DefineConfigOptions = {}) {\n const stylisticOptions = typeof options.stylistic === 'boolean' ? { enabled: options.stylistic } : { enabled: true, ...options.stylistic };\n const withDefaultStylistic = <T>(options: T) => ({ stylistic: stylisticOptions, ...options });\n const toOption = <T extends {}>(optionsOrBoolean: T | boolean | undefined) => withDefaultStylistic((typeof optionsOrBoolean === 'boolean' ? { enabled: optionsOrBoolean } : ({ enabled: true, ...optionsOrBoolean })) as T & { enabled: boolean });\n const esOptions = toOption(options.es);\n const importOptions = toOption(options.import);\n const jsdocOptions = toOption(options.jsdoc);\n const jsoncOptions = toOption(options.jsonc);\n const nodeOptions = toOption(options.node);\n const tsOptions = toOption(options.ts);\n const unicornOptions = toOption(options.unicorn);\n const ymlOptions = toOption(options.yml);\n\n const returnValue: Array<Promise<Array<Config>>> = [];\n const append = (config: Promise<ReadonlyArray<any>>) => {\n returnValue.push(config as any);\n };\n append(es(esOptions));\n append(ignores(options));\n\n if (jsoncOptions.enabled) {\n append(jsonc(jsoncOptions));\n }\n if (jsdocOptions.enabled) {\n append(jsdoc(jsdocOptions));\n }\n if (stylisticOptions.enabled) {\n append(stylistic(stylisticOptions));\n }\n if (importOptions.enabled) {\n append(imports(importOptions));\n }\n if (nodeOptions.enabled) {\n append(node(nodeOptions));\n }\n if (tsOptions.enabled) {\n append(ts(tsOptions));\n }\n if (ymlOptions.enabled) {\n append(yml(ymlOptions));\n }\n if (unicornOptions.enabled) {\n append(unicorn(unicornOptions));\n }\n const nested = await Promise.all(returnValue);\n return nested.reduce((acc, curr) => [...acc, ...curr], [] as Array<Config>);\n}\n"]}
1
+ {"version":3,"sources":["../../../node_modules/@eslint/js/package.json","../../../node_modules/@eslint/js/src/configs/eslint-all.js","../../../node_modules/@eslint/js/src/configs/eslint-recommended.js","../../../node_modules/@eslint/js/src/index.js","../src/config/es.ts","../src/config/createRules.ts","../src/rules/esRules/bestPractices.ts","../src/rules/esRules/errors.ts","../src/rules/esRules/es6.ts","../src/rules/esRules/overrides.ts","../src/rules/esRules/strict.ts","../src/rules/esRules/variables.ts","../src/rules/esRules.ts","../src/config/ignores.ts","../src/type/StylisticConfig.ts","../src/config/jsdoc.ts","../src/config/jsonc.ts","../src/config/imports.ts","../src/config/node.ts","../src/config/stylistic.ts","../src/config/test.ts","../src/config/ts.ts","../src/config/unicorn.ts","../src/config/yml.ts","../src/defineConfig.ts"],"names":["eslintConfig","stylistic","defaultFiles","Project","interopDefault","ESLintConfig","options"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAA,eAAA,GAAA,UAAA,CAAA;AAAA,EAAA,4CAAA,CAAA,OAAA,EAAA,MAAA,EAAA;AAAA,IAAA,MAAA,CAAA,OAAA,GAAA;AAAA,MACE,IAAA,EAAQ,YAAA;AAAA,MACR,OAAA,EAAW,QAAA;AAAA,MACX,WAAA,EAAe,2CAAA;AAAA,MACf,OAAA,EAAW,2BAAA;AAAA,MACX,IAAA,EAAQ,gBAAA;AAAA,MACR,KAAA,EAAS,oBAAA;AAAA,MACT,OAAA,EAAW;AAAA,QACT,YAAA,EAAc;AAAA,OAChB;AAAA,MACA,KAAA,EAAS;AAAA,QACP,SAAA;AAAA,QACA,WAAA;AAAA,QACA,KAAA;AAAA,QACA;AAAA,OACF;AAAA,MACA,aAAA,EAAiB;AAAA,QACf,MAAA,EAAU;AAAA,OACZ;AAAA,MACA,UAAA,EAAc;AAAA,QACZ,IAAA,EAAQ,KAAA;AAAA,QACR,GAAA,EAAO,sCAAA;AAAA,QACP,SAAA,EAAa;AAAA,OACf;AAAA,MACA,QAAA,EAAY,oBAAA;AAAA,MACZ,IAAA,EAAQ,0CAAA;AAAA,MACR,QAAA,EAAY;AAAA,QACV,YAAA;AAAA,QACA,eAAA;AAAA,QACA;AAAA,OACF;AAAA,MACA,OAAA,EAAW,KAAA;AAAA,MACX,OAAA,EAAW;AAAA,QACT,IAAA,EAAQ;AAAA;AACV,KACF;AAAA,EAAA;AAAA,CAAA,CAAA;;;ACnCA,IAAA,kBAAA,GAAA,UAAA,CAAA;AAAA,EAAA,yDAAA,CAAA,OAAA,EAAA,MAAA,EAAA;AAcA,IAAA,MAAA,CAAO,OAAA,GAAU,OAAO,MAA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,IAAI,cAAc,OAAA,EAAS;AACzB,IAAA,MAAA,CAAO,OAAA,CAAQ,aAAa,CAAC,CAAA;AAAA,EAC/B;AACA,EAAA,IAAI,YAAY,OAAA,EAAS;AACvB,IAAA,MAAA,CAAO,IAAA,CAAK,WAAW,CAAC,CAAA;AAAA,EAC1B;AACA,EAAA,IAAI,UAAU,OAAA,EAAS;AACrB,IAAA,MAAA,CAAO,EAAA,CAAG,SAAS,CAAC,CAAA;AAAA,EACtB;AACA,EAAA,IAAI,WAAW,OAAA,EAAS;AACtB,IAAA,MAAA,CAAO,GAAA,CAAI,UAAU,CAAC,CAAA;AAAA,EACxB;AACA,EAAA,IAAI,eAAe,OAAA,EAAS;AAC1B,IAAA,MAAA,CAAO,OAAA,CAAQ,cAAc,CAAC,CAAA;AAAA,EAChC;AACA,EAAA,MAAM,MAAA,GAAS,MAAM,OAAA,CAAQ,GAAA,CAAI,WAAW,CAAA;AAC5C,EAAA,OAAO,MAAA,CAAO,MAAA,CAAO,CAAC,GAAA,EAAK,IAAA,KAAS,CAAC,GAAG,GAAA,EAAK,GAAG,IAAI,CAAA,EAAG,EAAmB,CAAA;AAC5E","file":"index.js","sourcesContent":["{\n \"name\": \"@eslint/js\",\n \"version\": \"9.39.1\",\n \"description\": \"ESLint JavaScript language implementation\",\n \"funding\": \"https://eslint.org/donate\",\n \"main\": \"./src/index.js\",\n \"types\": \"./types/index.d.ts\",\n \"scripts\": {\n \"test:types\": \"tsc -p tests/types/tsconfig.json\"\n },\n \"files\": [\n \"LICENSE\",\n \"README.md\",\n \"src\",\n \"types\"\n ],\n \"publishConfig\": {\n \"access\": \"public\"\n },\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/eslint/eslint.git\",\n \"directory\": \"packages/js\"\n },\n \"homepage\": \"https://eslint.org\",\n \"bugs\": \"https://github.com/eslint/eslint/issues/\",\n \"keywords\": [\n \"javascript\",\n \"eslint-plugin\",\n \"eslint\"\n ],\n \"license\": \"MIT\",\n \"engines\": {\n \"node\": \"^18.18.0 || ^20.9.0 || >=21.1.0\"\n }\n}\n","/*\n * WARNING: This file is autogenerated using the tools/update-eslint-all.js\n * script. Do not edit manually.\n */\n\"use strict\";\n\n/*\n * IMPORTANT!\n *\n * We cannot add a \"name\" property to this object because it's still used in eslintrc\n * which doesn't support the \"name\" property. If we add a \"name\" property, it will\n * cause an error.\n */\n\nmodule.exports = Object.freeze({\n rules: Object.freeze({\n \"accessor-pairs\": \"error\",\n \"array-callback-return\": \"error\",\n \"arrow-body-style\": \"error\",\n \"block-scoped-var\": \"error\",\n \"camelcase\": \"error\",\n \"capitalized-comments\": \"error\",\n \"class-methods-use-this\": \"error\",\n \"complexity\": \"error\",\n \"consistent-return\": \"error\",\n \"consistent-this\": \"error\",\n \"constructor-super\": \"error\",\n \"curly\": \"error\",\n \"default-case\": \"error\",\n \"default-case-last\": \"error\",\n \"default-param-last\": \"error\",\n \"dot-notation\": \"error\",\n \"eqeqeq\": \"error\",\n \"for-direction\": \"error\",\n \"func-name-matching\": \"error\",\n \"func-names\": \"error\",\n \"func-style\": \"error\",\n \"getter-return\": \"error\",\n \"grouped-accessor-pairs\": \"error\",\n \"guard-for-in\": \"error\",\n \"id-denylist\": \"error\",\n \"id-length\": \"error\",\n \"id-match\": \"error\",\n \"init-declarations\": \"error\",\n \"logical-assignment-operators\": \"error\",\n \"max-classes-per-file\": \"error\",\n \"max-depth\": \"error\",\n \"max-lines\": \"error\",\n \"max-lines-per-function\": \"error\",\n \"max-nested-callbacks\": \"error\",\n \"max-params\": \"error\",\n \"max-statements\": \"error\",\n \"new-cap\": \"error\",\n \"no-alert\": \"error\",\n \"no-array-constructor\": \"error\",\n \"no-async-promise-executor\": \"error\",\n \"no-await-in-loop\": \"error\",\n \"no-bitwise\": \"error\",\n \"no-caller\": \"error\",\n \"no-case-declarations\": \"error\",\n \"no-class-assign\": \"error\",\n \"no-compare-neg-zero\": \"error\",\n \"no-cond-assign\": \"error\",\n \"no-console\": \"error\",\n \"no-const-assign\": \"error\",\n \"no-constant-binary-expression\": \"error\",\n \"no-constant-condition\": \"error\",\n \"no-constructor-return\": \"error\",\n \"no-continue\": \"error\",\n \"no-control-regex\": \"error\",\n \"no-debugger\": \"error\",\n \"no-delete-var\": \"error\",\n \"no-div-regex\": \"error\",\n \"no-dupe-args\": \"error\",\n \"no-dupe-class-members\": \"error\",\n \"no-dupe-else-if\": \"error\",\n \"no-dupe-keys\": \"error\",\n \"no-duplicate-case\": \"error\",\n \"no-duplicate-imports\": \"error\",\n \"no-else-return\": \"error\",\n \"no-empty\": \"error\",\n \"no-empty-character-class\": \"error\",\n \"no-empty-function\": \"error\",\n \"no-empty-pattern\": \"error\",\n \"no-empty-static-block\": \"error\",\n \"no-eq-null\": \"error\",\n \"no-eval\": \"error\",\n \"no-ex-assign\": \"error\",\n \"no-extend-native\": \"error\",\n \"no-extra-bind\": \"error\",\n \"no-extra-boolean-cast\": \"error\",\n \"no-extra-label\": \"error\",\n \"no-fallthrough\": \"error\",\n \"no-func-assign\": \"error\",\n \"no-global-assign\": \"error\",\n \"no-implicit-coercion\": \"error\",\n \"no-implicit-globals\": \"error\",\n \"no-implied-eval\": \"error\",\n \"no-import-assign\": \"error\",\n \"no-inline-comments\": \"error\",\n \"no-inner-declarations\": \"error\",\n \"no-invalid-regexp\": \"error\",\n \"no-invalid-this\": \"error\",\n \"no-irregular-whitespace\": \"error\",\n \"no-iterator\": \"error\",\n \"no-label-var\": \"error\",\n \"no-labels\": \"error\",\n \"no-lone-blocks\": \"error\",\n \"no-lonely-if\": \"error\",\n \"no-loop-func\": \"error\",\n \"no-loss-of-precision\": \"error\",\n \"no-magic-numbers\": \"error\",\n \"no-misleading-character-class\": \"error\",\n \"no-multi-assign\": \"error\",\n \"no-multi-str\": \"error\",\n \"no-negated-condition\": \"error\",\n \"no-nested-ternary\": \"error\",\n \"no-new\": \"error\",\n \"no-new-func\": \"error\",\n \"no-new-native-nonconstructor\": \"error\",\n \"no-new-wrappers\": \"error\",\n \"no-nonoctal-decimal-escape\": \"error\",\n \"no-obj-calls\": \"error\",\n \"no-object-constructor\": \"error\",\n \"no-octal\": \"error\",\n \"no-octal-escape\": \"error\",\n \"no-param-reassign\": \"error\",\n \"no-plusplus\": \"error\",\n \"no-promise-executor-return\": \"error\",\n \"no-proto\": \"error\",\n \"no-prototype-builtins\": \"error\",\n \"no-redeclare\": \"error\",\n \"no-regex-spaces\": \"error\",\n \"no-restricted-exports\": \"error\",\n \"no-restricted-globals\": \"error\",\n \"no-restricted-imports\": \"error\",\n \"no-restricted-properties\": \"error\",\n \"no-restricted-syntax\": \"error\",\n \"no-return-assign\": \"error\",\n \"no-script-url\": \"error\",\n \"no-self-assign\": \"error\",\n \"no-self-compare\": \"error\",\n \"no-sequences\": \"error\",\n \"no-setter-return\": \"error\",\n \"no-shadow\": \"error\",\n \"no-shadow-restricted-names\": \"error\",\n \"no-sparse-arrays\": \"error\",\n \"no-template-curly-in-string\": \"error\",\n \"no-ternary\": \"error\",\n \"no-this-before-super\": \"error\",\n \"no-throw-literal\": \"error\",\n \"no-unassigned-vars\": \"error\",\n \"no-undef\": \"error\",\n \"no-undef-init\": \"error\",\n \"no-undefined\": \"error\",\n \"no-underscore-dangle\": \"error\",\n \"no-unexpected-multiline\": \"error\",\n \"no-unmodified-loop-condition\": \"error\",\n \"no-unneeded-ternary\": \"error\",\n \"no-unreachable\": \"error\",\n \"no-unreachable-loop\": \"error\",\n \"no-unsafe-finally\": \"error\",\n \"no-unsafe-negation\": \"error\",\n \"no-unsafe-optional-chaining\": \"error\",\n \"no-unused-expressions\": \"error\",\n \"no-unused-labels\": \"error\",\n \"no-unused-private-class-members\": \"error\",\n \"no-unused-vars\": \"error\",\n \"no-use-before-define\": \"error\",\n \"no-useless-assignment\": \"error\",\n \"no-useless-backreference\": \"error\",\n \"no-useless-call\": \"error\",\n \"no-useless-catch\": \"error\",\n \"no-useless-computed-key\": \"error\",\n \"no-useless-concat\": \"error\",\n \"no-useless-constructor\": \"error\",\n \"no-useless-escape\": \"error\",\n \"no-useless-rename\": \"error\",\n \"no-useless-return\": \"error\",\n \"no-var\": \"error\",\n \"no-void\": \"error\",\n \"no-warning-comments\": \"error\",\n \"no-with\": \"error\",\n \"object-shorthand\": \"error\",\n \"one-var\": \"error\",\n \"operator-assignment\": \"error\",\n \"prefer-arrow-callback\": \"error\",\n \"prefer-const\": \"error\",\n \"prefer-destructuring\": \"error\",\n \"prefer-exponentiation-operator\": \"error\",\n \"prefer-named-capture-group\": \"error\",\n \"prefer-numeric-literals\": \"error\",\n \"prefer-object-has-own\": \"error\",\n \"prefer-object-spread\": \"error\",\n \"prefer-promise-reject-errors\": \"error\",\n \"prefer-regex-literals\": \"error\",\n \"prefer-rest-params\": \"error\",\n \"prefer-spread\": \"error\",\n \"prefer-template\": \"error\",\n \"preserve-caught-error\": \"error\",\n \"radix\": \"error\",\n \"require-atomic-updates\": \"error\",\n \"require-await\": \"error\",\n \"require-unicode-regexp\": \"error\",\n \"require-yield\": \"error\",\n \"sort-imports\": \"error\",\n \"sort-keys\": \"error\",\n \"sort-vars\": \"error\",\n \"strict\": \"error\",\n \"symbol-description\": \"error\",\n \"unicode-bom\": \"error\",\n \"use-isnan\": \"error\",\n \"valid-typeof\": \"error\",\n \"vars-on-top\": \"error\",\n \"yoda\": \"error\"\n })\n});\n","/*\n * WARNING: This file is autogenerated using the tools/update-eslint-recommended.js\n * script. Do not edit manually.\n */\n\"use strict\";\n\n/*\n * IMPORTANT!\n *\n * We cannot add a \"name\" property to this object because it's still used in eslintrc\n * which doesn't support the \"name\" property. If we add a \"name\" property, it will\n * cause an error.\n */\n\nmodule.exports = Object.freeze({\n rules: Object.freeze({\n \"constructor-super\": \"error\",\n \"for-direction\": \"error\",\n \"getter-return\": \"error\",\n \"no-async-promise-executor\": \"error\",\n \"no-case-declarations\": \"error\",\n \"no-class-assign\": \"error\",\n \"no-compare-neg-zero\": \"error\",\n \"no-cond-assign\": \"error\",\n \"no-const-assign\": \"error\",\n \"no-constant-binary-expression\": \"error\",\n \"no-constant-condition\": \"error\",\n \"no-control-regex\": \"error\",\n \"no-debugger\": \"error\",\n \"no-delete-var\": \"error\",\n \"no-dupe-args\": \"error\",\n \"no-dupe-class-members\": \"error\",\n \"no-dupe-else-if\": \"error\",\n \"no-dupe-keys\": \"error\",\n \"no-duplicate-case\": \"error\",\n \"no-empty\": \"error\",\n \"no-empty-character-class\": \"error\",\n \"no-empty-pattern\": \"error\",\n \"no-empty-static-block\": \"error\",\n \"no-ex-assign\": \"error\",\n \"no-extra-boolean-cast\": \"error\",\n \"no-fallthrough\": \"error\",\n \"no-func-assign\": \"error\",\n \"no-global-assign\": \"error\",\n \"no-import-assign\": \"error\",\n \"no-invalid-regexp\": \"error\",\n \"no-irregular-whitespace\": \"error\",\n \"no-loss-of-precision\": \"error\",\n \"no-misleading-character-class\": \"error\",\n \"no-new-native-nonconstructor\": \"error\",\n \"no-nonoctal-decimal-escape\": \"error\",\n \"no-obj-calls\": \"error\",\n \"no-octal\": \"error\",\n \"no-prototype-builtins\": \"error\",\n \"no-redeclare\": \"error\",\n \"no-regex-spaces\": \"error\",\n \"no-self-assign\": \"error\",\n \"no-setter-return\": \"error\",\n \"no-shadow-restricted-names\": \"error\",\n \"no-sparse-arrays\": \"error\",\n \"no-this-before-super\": \"error\",\n \"no-undef\": \"error\",\n \"no-unexpected-multiline\": \"error\",\n \"no-unreachable\": \"error\",\n \"no-unsafe-finally\": \"error\",\n \"no-unsafe-negation\": \"error\",\n \"no-unsafe-optional-chaining\": \"error\",\n \"no-unused-labels\": \"error\",\n \"no-unused-private-class-members\": \"error\",\n \"no-unused-vars\": \"error\",\n \"no-useless-backreference\": \"error\",\n \"no-useless-catch\": \"error\",\n \"no-useless-escape\": \"error\",\n \"no-with\": \"error\",\n \"require-yield\": \"error\",\n \"use-isnan\": \"error\",\n \"valid-typeof\": \"error\"\n }),\n});\n","/**\n * @fileoverview Main package entrypoint.\n * @author Nicholas C. Zakas\n */\n\n\"use strict\";\n\nconst { name, version } = require(\"../package.json\");\n\n//------------------------------------------------------------------------------\n// Public Interface\n//------------------------------------------------------------------------------\n\nmodule.exports = {\n\tmeta: {\n\t\tname,\n\t\tversion,\n\t},\n\tconfigs: {\n\t\tall: require(\"./configs/eslint-all\"),\n\t\trecommended: require(\"./configs/eslint-recommended\"),\n\t},\n};\n","import globals from 'globals';\nimport eslintConfig from '@eslint/js';\nimport { Project } from '@w5s/dev';\nimport { type PluginOptionsBase, type Config } from '../type.js';\nimport type { RuleOptions } from '../typegen/jsonc.js';\nimport { createRules } from './createRules.js';\nimport { esRules } from '../rules/esRules.js';\n\nconst defaultFiles = [`**/${Project.extensionsToGlob(Project.queryExtensions(['javascript', 'javascriptreact']))}`];\n\nexport async function es(\n options: es.Options,\n) {\n const { rules = {} } = options;\n\n return [\n {\n name: 'w5s/es/setup',\n languageOptions: {\n ecmaVersion: Project.ecmaVersion(),\n globals: {\n ...globals.browser,\n ...globals[`es${Project.ecmaVersion()}`],\n ...globals.node,\n __DEV__: 'readonly',\n __PROD__: 'readonly',\n __TEST__: 'readonly',\n document: 'readonly',\n navigator: 'readonly',\n window: 'readonly',\n },\n parserOptions: {\n ecmaFeatures: {\n jsx: true,\n },\n ecmaVersion: Project.ecmaVersion(),\n sourceType: 'module',\n },\n sourceType: 'module',\n },\n linterOptions: {\n reportUnusedDisableDirectives: true,\n },\n },\n {\n name: 'w5s/es/rules',\n files: defaultFiles,\n rules: {\n ...eslintConfig.configs.recommended.rules,\n ...createRules(''),\n ...esRules(),\n ...rules,\n },\n },\n ] as [Config, Config] satisfies Array<Config>;\n}\n\nexport namespace es {\n export type Rules = RuleOptions;\n\n export interface Options extends PluginOptionsBase<Rules> {}\n}\n","import { ESLintConfig } from '@w5s/dev';\n\nexport function createRules(prefix: string) {\n return ESLintConfig.renameRules({\n 'no-unused-vars': ['error', { argsIgnorePattern: '^_' }],\n }, {\n '': prefix,\n });\n}\n","import type { Linter } from 'eslint';\n\nexport const bestPractices = () => ({\n // enforces getter/setter pairs in objects\n // https://eslint.org/docs/rules/accessor-pairs\n 'accessor-pairs': 'off',\n\n // enforces return statements in callbacks of array's methods\n // https://eslint.org/docs/rules/array-callback-return\n 'array-callback-return': ['error', { allowImplicit: true }],\n\n // treat var statements as if they were block scoped\n // https://eslint.org/docs/rules/block-scoped-var\n 'block-scoped-var': 'error',\n\n // specify the maximum cyclomatic complexity allowed in a program\n // https://eslint.org/docs/rules/complexity\n 'complexity': ['off', 20],\n\n // enforce that class methods use \"this\"\n // https://eslint.org/docs/rules/class-methods-use-this\n 'class-methods-use-this': ['error', {\n exceptMethods: [],\n }],\n\n // require return statements to either always or never specify values\n // https://eslint.org/docs/rules/consistent-return\n 'consistent-return': 'error',\n\n // specify curly brace conventions for all control statements\n // https://eslint.org/docs/rules/curly\n 'curly': ['error', 'multi-line'], // multiline\n\n // require default case in switch statements\n // https://eslint.org/docs/rules/default-case\n 'default-case': ['error', { commentPattern: '^no default$' }],\n\n // Enforce default clauses in switch statements to be last\n // https://eslint.org/docs/rules/default-case-last\n 'default-case-last': 'error',\n\n // https://eslint.org/docs/rules/default-param-last\n 'default-param-last': 'error',\n\n // encourages use of dot notation whenever possible\n // https://eslint.org/docs/rules/dot-notation\n 'dot-notation': ['error', { allowKeywords: true }],\n\n // enforces consistent newlines before or after dots\n // https://eslint.org/docs/rules/dot-location\n 'dot-location': ['error', 'property'],\n\n // require the use of === and !==\n // https://eslint.org/docs/rules/eqeqeq\n 'eqeqeq': ['error', 'always', { null: 'ignore' }],\n\n // Require grouped accessor pairs in object literals and classes\n // https://eslint.org/docs/rules/grouped-accessor-pairs\n 'grouped-accessor-pairs': 'error',\n\n // make sure for-in loops have an if statement\n // https://eslint.org/docs/rules/guard-for-in\n 'guard-for-in': 'error',\n\n // enforce a maximum number of classes per file\n // https://eslint.org/docs/rules/max-classes-per-file\n 'max-classes-per-file': ['error', 1],\n\n // disallow the use of alert, confirm, and prompt\n // https://eslint.org/docs/rules/no-alert\n // TODO: enable, semver-major\n 'no-alert': 'warn',\n\n // disallow use of arguments.caller or arguments.callee\n // https://eslint.org/docs/rules/no-caller\n 'no-caller': 'error',\n\n // disallow lexical declarations in case/default clauses\n // https://eslint.org/docs/rules/no-case-declarations\n 'no-case-declarations': 'error',\n\n // Disallow returning value in constructor\n // https://eslint.org/docs/rules/no-constructor-return\n 'no-constructor-return': 'error',\n\n // disallow division operators explicitly at beginning of regular expression\n // https://eslint.org/docs/rules/no-div-regex\n 'no-div-regex': 'off',\n\n // disallow else after a return in an if\n // https://eslint.org/docs/rules/no-else-return\n 'no-else-return': ['error', { allowElseIf: false }],\n\n // disallow empty functions, except for standalone funcs/arrows\n // https://eslint.org/docs/rules/no-empty-function\n 'no-empty-function': ['error', {\n allow: [\n 'arrowFunctions',\n 'functions',\n 'methods',\n ],\n }],\n\n // disallow empty destructuring patterns\n // https://eslint.org/docs/rules/no-empty-pattern\n 'no-empty-pattern': 'error',\n\n // Disallow empty static blocks\n // https://eslint.org/docs/latest/rules/no-empty-static-block\n // TODO: semver-major, enable\n 'no-empty-static-block': 'off',\n\n // disallow comparisons to null without a type-checking operator\n // https://eslint.org/docs/rules/no-eq-null\n 'no-eq-null': 'off',\n\n // disallow use of eval()\n // https://eslint.org/docs/rules/no-eval\n 'no-eval': 'error',\n\n // disallow adding to native types\n // https://eslint.org/docs/rules/no-extend-native\n 'no-extend-native': 'error',\n\n // disallow unnecessary function binding\n // https://eslint.org/docs/rules/no-extra-bind\n 'no-extra-bind': 'error',\n\n // disallow Unnecessary Labels\n // https://eslint.org/docs/rules/no-extra-label\n 'no-extra-label': 'error',\n\n // disallow fallthrough of case statements\n // https://eslint.org/docs/rules/no-fallthrough\n 'no-fallthrough': 'error',\n\n // disallow the use of leading or trailing decimal points in numeric literals\n // https://eslint.org/docs/rules/no-floating-decimal\n 'no-floating-decimal': 'error',\n\n // disallow reassignments of native objects or read-only globals\n // https://eslint.org/docs/rules/no-global-assign\n 'no-global-assign': ['error', { exceptions: [] }],\n\n // deprecated in favor of no-global-assign\n // https://eslint.org/docs/rules/no-native-reassign\n 'no-native-reassign': 'off',\n\n // disallow implicit type conversions\n // https://eslint.org/docs/rules/no-implicit-coercion\n 'no-implicit-coercion': ['off', {\n boolean: false,\n number: true,\n string: true,\n allow: [],\n }],\n\n // disallow var and named functions in global scope\n // https://eslint.org/docs/rules/no-implicit-globals\n 'no-implicit-globals': 'off',\n\n // disallow use of eval()-like methods\n // https://eslint.org/docs/rules/no-implied-eval\n 'no-implied-eval': 'error',\n\n // disallow this keywords outside of classes or class-like objects\n // https://eslint.org/docs/rules/no-invalid-this\n 'no-invalid-this': 'off',\n\n // disallow usage of __iterator__ property\n // https://eslint.org/docs/rules/no-iterator\n 'no-iterator': 'error',\n\n // disallow use of labels for anything other than loops and switches\n // https://eslint.org/docs/rules/no-labels\n 'no-labels': ['error', { allowLoop: false, allowSwitch: false }],\n\n // disallow unnecessary nested blocks\n // https://eslint.org/docs/rules/no-lone-blocks\n 'no-lone-blocks': 'error',\n\n // disallow creation of functions within loops\n // https://eslint.org/docs/rules/no-loop-func\n 'no-loop-func': 'error',\n\n // disallow magic numbers\n // https://eslint.org/docs/rules/no-magic-numbers\n 'no-magic-numbers': ['off', {\n ignore: [],\n ignoreArrayIndexes: true,\n enforceConst: true,\n detectObjects: false,\n }],\n\n // disallow use of multiple spaces\n // https://eslint.org/docs/rules/no-multi-spaces\n 'no-multi-spaces': ['error', {\n ignoreEOLComments: false,\n }],\n\n // disallow use of multiline strings\n // https://eslint.org/docs/rules/no-multi-str\n 'no-multi-str': 'error',\n\n // disallow use of new operator when not part of the assignment or comparison\n // https://eslint.org/docs/rules/no-new\n 'no-new': 'error',\n\n // disallow use of new operator for Function object\n // https://eslint.org/docs/rules/no-new-func\n 'no-new-func': 'error',\n\n // disallows creating new instances of String, Number, and Boolean\n // https://eslint.org/docs/rules/no-new-wrappers\n 'no-new-wrappers': 'error',\n\n // Disallow \\8 and \\9 escape sequences in string literals\n // https://eslint.org/docs/rules/no-nonoctal-decimal-escape\n 'no-nonoctal-decimal-escape': 'error',\n\n // Disallow calls to the Object constructor without an argument\n // https://eslint.org/docs/latest/rules/no-object-constructor\n // TODO: enable, semver-major\n 'no-object-constructor': 'off',\n\n // disallow use of (old style) octal literals\n // https://eslint.org/docs/rules/no-octal\n 'no-octal': 'error',\n\n // disallow use of octal escape sequences in string literals, such as\n // var foo = 'Copyright \\251';\n // https://eslint.org/docs/rules/no-octal-escape\n 'no-octal-escape': 'error',\n\n // disallow reassignment of function parameters\n // disallow parameter object manipulation except for specific exclusions\n // rule: https://eslint.org/docs/rules/no-param-reassign.html\n 'no-param-reassign': ['error', {\n props: true,\n ignorePropertyModificationsFor: [\n 'acc', // for reduce accumulators\n 'accumulator', // for reduce accumulators\n 'e', // for e.returnvalue\n 'ctx', // for Koa routing\n 'context', // for Koa routing\n 'req', // for Express requests\n 'request', // for Express requests\n 'res', // for Express responses\n 'response', // for Express responses\n '$scope', // for Angular 1 scopes\n 'staticContext', // for ReactRouter context\n ],\n }],\n\n // disallow usage of __proto__ property\n // https://eslint.org/docs/rules/no-proto\n 'no-proto': 'error',\n\n // disallow declaring the same variable more than once\n // https://eslint.org/docs/rules/no-redeclare\n 'no-redeclare': 'error',\n\n // disallow certain object properties\n // https://eslint.org/docs/rules/no-restricted-properties\n 'no-restricted-properties': ['error', {\n object: 'arguments',\n property: 'callee',\n message: 'arguments.callee is deprecated',\n }, {\n object: 'global',\n property: 'isFinite',\n message: 'Please use Number.isFinite instead',\n }, {\n object: 'self',\n property: 'isFinite',\n message: 'Please use Number.isFinite instead',\n }, {\n object: 'window',\n property: 'isFinite',\n message: 'Please use Number.isFinite instead',\n }, {\n object: 'global',\n property: 'isNaN',\n message: 'Please use Number.isNaN instead',\n }, {\n object: 'self',\n property: 'isNaN',\n message: 'Please use Number.isNaN instead',\n }, {\n object: 'window',\n property: 'isNaN',\n message: 'Please use Number.isNaN instead',\n }, {\n property: '__defineGetter__',\n message: 'Please use Object.defineProperty instead.',\n }, {\n property: '__defineSetter__',\n message: 'Please use Object.defineProperty instead.',\n }, {\n object: 'Math',\n property: 'pow',\n message: 'Use the exponentiation operator (**) instead.',\n }],\n\n // disallow use of assignment in return statement\n // https://eslint.org/docs/rules/no-return-assign\n 'no-return-assign': ['error', 'always'],\n\n // disallow redundant `return await`\n // https://eslint.org/docs/rules/no-return-await\n 'no-return-await': 'error',\n\n // disallow use of `javascript:` urls.\n // https://eslint.org/docs/rules/no-script-url\n 'no-script-url': 'error',\n\n // disallow self assignment\n // https://eslint.org/docs/rules/no-self-assign\n 'no-self-assign': ['error', {\n props: true,\n }],\n\n // disallow comparisons where both sides are exactly the same\n // https://eslint.org/docs/rules/no-self-compare\n 'no-self-compare': 'error',\n\n // disallow use of comma operator\n // https://eslint.org/docs/rules/no-sequences\n 'no-sequences': 'error',\n\n // restrict what can be thrown as an exception\n // https://eslint.org/docs/rules/no-throw-literal\n 'no-throw-literal': 'error',\n\n // disallow unmodified conditions of loops\n // https://eslint.org/docs/rules/no-unmodified-loop-condition\n 'no-unmodified-loop-condition': 'off',\n\n // disallow usage of expressions in statement position\n // https://eslint.org/docs/rules/no-unused-expressions\n 'no-unused-expressions': ['error', {\n allowShortCircuit: false,\n allowTernary: false,\n allowTaggedTemplates: false,\n }],\n\n // disallow unused labels\n // https://eslint.org/docs/rules/no-unused-labels\n 'no-unused-labels': 'error',\n\n // disallow unnecessary .call() and .apply()\n // https://eslint.org/docs/rules/no-useless-call\n 'no-useless-call': 'off',\n\n // Disallow unnecessary catch clauses\n // https://eslint.org/docs/rules/no-useless-catch\n 'no-useless-catch': 'error',\n\n // disallow useless string concatenation\n // https://eslint.org/docs/rules/no-useless-concat\n 'no-useless-concat': 'error',\n\n // disallow unnecessary string escaping\n // https://eslint.org/docs/rules/no-useless-escape\n 'no-useless-escape': 'error',\n\n // disallow redundant return; keywords\n // https://eslint.org/docs/rules/no-useless-return\n 'no-useless-return': 'error',\n\n // disallow use of void operator\n // https://eslint.org/docs/rules/no-void\n 'no-void': 'error',\n\n // disallow usage of configurable warning terms in comments: e.g. todo\n // https://eslint.org/docs/rules/no-warning-comments\n 'no-warning-comments': ['off', { terms: ['todo', 'fixme', 'xxx'], location: 'start' }],\n\n // disallow use of the with statement\n // https://eslint.org/docs/rules/no-with\n 'no-with': 'error',\n\n // require using Error objects as Promise rejection reasons\n // https://eslint.org/docs/rules/prefer-promise-reject-errors\n 'prefer-promise-reject-errors': ['error', { allowEmptyReject: true }],\n\n // Suggest using named capture group in regular expression\n // https://eslint.org/docs/rules/prefer-named-capture-group\n 'prefer-named-capture-group': 'off',\n\n // Prefer Object.hasOwn() over Object.prototype.hasOwnProperty.call()\n // https://eslint.org/docs/rules/prefer-object-has-own\n // TODO: semver-major: enable thus rule, once eslint v8.5.0 is required\n 'prefer-object-has-own': 'off',\n\n // https://eslint.org/docs/rules/prefer-regex-literals\n 'prefer-regex-literals': ['error', {\n disallowRedundantWrapping: true,\n }],\n\n // require use of the second argument for parseInt()\n // https://eslint.org/docs/rules/radix\n 'radix': 'error',\n\n // require `await` in `async function` (note: this is a horrible rule that should never be used)\n // https://eslint.org/docs/rules/require-await\n 'require-await': 'off',\n\n // Enforce the use of u flag on RegExp\n // https://eslint.org/docs/rules/require-unicode-regexp\n 'require-unicode-regexp': 'off',\n\n // requires to declare all vars on top of their containing scope\n // https://eslint.org/docs/rules/vars-on-top\n 'vars-on-top': 'error',\n\n // require immediate function invocation to be wrapped in parentheses\n // https://eslint.org/docs/rules/wrap-iife.html\n 'wrap-iife': ['error', 'outside', { functionPrototypeMethods: false }],\n\n // require or disallow Yoda conditions\n // https://eslint.org/docs/rules/yoda\n 'yoda': 'error',\n} satisfies Linter.RulesRecord);\n","import type { Linter } from 'eslint';\n\nexport const errors = () => ({\n // Enforce “for” loop update clause moving the counter in the right direction\n // https://eslint.org/docs/rules/for-direction\n 'for-direction': 'error',\n\n // Enforces that a return statement is present in property getters\n // https://eslint.org/docs/rules/getter-return\n 'getter-return': ['error', { allowImplicit: true }],\n\n // disallow using an async function as a Promise executor\n // https://eslint.org/docs/rules/no-async-promise-executor\n 'no-async-promise-executor': 'error',\n\n // Disallow await inside of loops\n // https://eslint.org/docs/rules/no-await-in-loop\n 'no-await-in-loop': 'error',\n\n // Disallow comparisons to negative zero\n // https://eslint.org/docs/rules/no-compare-neg-zero\n 'no-compare-neg-zero': 'error',\n\n // disallow assignment in conditional expressions\n 'no-cond-assign': ['error', 'always'],\n\n // disallow use of console\n 'no-console': 'warn',\n\n // Disallows expressions where the operation doesn't affect the value\n // https://eslint.org/docs/rules/no-constant-binary-expression\n // TODO: semver-major, enable\n 'no-constant-binary-expression': 'off',\n\n // disallow use of constant expressions in conditions\n 'no-constant-condition': 'warn',\n\n // disallow control characters in regular expressions\n 'no-control-regex': 'error',\n\n // disallow use of debugger\n 'no-debugger': 'error',\n\n // disallow duplicate arguments in functions\n 'no-dupe-args': 'error',\n\n // Disallow duplicate conditions in if-else-if chains\n // https://eslint.org/docs/rules/no-dupe-else-if\n 'no-dupe-else-if': 'error',\n\n // disallow duplicate keys when creating object literals\n 'no-dupe-keys': 'error',\n\n // disallow a duplicate case label.\n 'no-duplicate-case': 'error',\n\n // disallow empty statements\n 'no-empty': 'error',\n\n // disallow the use of empty character classes in regular expressions\n 'no-empty-character-class': 'error',\n\n // disallow assigning to the exception in a catch block\n 'no-ex-assign': 'error',\n\n // disallow double-negation boolean casts in a boolean context\n // https://eslint.org/docs/rules/no-extra-boolean-cast\n 'no-extra-boolean-cast': 'error',\n\n // disallow unnecessary parentheses\n // https://eslint.org/docs/rules/no-extra-parens\n 'no-extra-parens': ['off', 'all', {\n conditionalAssign: true,\n nestedBinaryExpressions: false,\n returnAssign: false,\n ignoreJSX: 'all', // delegate to eslint-plugin-react\n enforceForArrowConditionals: false,\n }],\n\n // disallow unnecessary semicolons\n 'no-extra-semi': 'error',\n\n // disallow overwriting functions written as function declarations\n 'no-func-assign': 'error',\n\n // https://eslint.org/docs/rules/no-import-assign\n 'no-import-assign': 'error',\n\n // disallow function or variable declarations in nested blocks\n 'no-inner-declarations': 'error',\n\n // disallow invalid regular expression strings in the RegExp constructor\n 'no-invalid-regexp': 'error',\n\n // disallow irregular whitespace outside of strings and comments\n 'no-irregular-whitespace': 'error',\n\n // Disallow Number Literals That Lose Precision\n // https://eslint.org/docs/rules/no-loss-of-precision\n 'no-loss-of-precision': 'error',\n\n // Disallow characters which are made with multiple code points in character class syntax\n // https://eslint.org/docs/rules/no-misleading-character-class\n 'no-misleading-character-class': 'error',\n\n // disallow the use of object properties of the global object (Math and JSON) as functions\n 'no-obj-calls': 'error',\n\n // Disallow new operators with global non-constructor functions\n // https://eslint.org/docs/latest/rules/no-new-native-nonconstructor\n // TODO: semver-major, enable\n 'no-new-native-nonconstructor': 'off',\n\n // Disallow returning values from Promise executor functions\n // https://eslint.org/docs/rules/no-promise-executor-return\n 'no-promise-executor-return': 'error',\n\n // disallow use of Object.prototypes builtins directly\n // https://eslint.org/docs/rules/no-prototype-builtins\n 'no-prototype-builtins': 'error',\n\n // disallow multiple spaces in a regular expression literal\n 'no-regex-spaces': 'error',\n\n // Disallow returning values from setters\n // https://eslint.org/docs/rules/no-setter-return\n 'no-setter-return': 'error',\n\n // disallow sparse arrays\n 'no-sparse-arrays': 'error',\n\n // Disallow template literal placeholder syntax in regular strings\n // https://eslint.org/docs/rules/no-template-curly-in-string\n 'no-template-curly-in-string': 'error',\n\n // Avoid code that looks like two expressions but is actually one\n // https://eslint.org/docs/rules/no-unexpected-multiline\n 'no-unexpected-multiline': 'error',\n\n // disallow unreachable statements after a return, throw, continue, or break statement\n 'no-unreachable': 'error',\n\n // Disallow loops with a body that allows only one iteration\n // https://eslint.org/docs/rules/no-unreachable-loop\n 'no-unreachable-loop': ['error', {\n ignore: [], // WhileStatement, DoWhileStatement, ForStatement, ForInStatement, ForOfStatement\n }],\n\n // disallow return/throw/break/continue inside finally blocks\n // https://eslint.org/docs/rules/no-unsafe-finally\n 'no-unsafe-finally': 'error',\n\n // disallow negating the left operand of relational operators\n // https://eslint.org/docs/rules/no-unsafe-negation\n 'no-unsafe-negation': 'error',\n\n // disallow use of optional chaining in contexts where the undefined value is not allowed\n // https://eslint.org/docs/rules/no-unsafe-optional-chaining\n 'no-unsafe-optional-chaining': ['error', { disallowArithmeticOperators: true }],\n\n // Disallow Unused Private Class Members\n // https://eslint.org/docs/rules/no-unused-private-class-members\n // TODO: enable once eslint 7 is dropped (which is semver-major)\n 'no-unused-private-class-members': 'off',\n\n // Disallow useless backreferences in regular expressions\n // https://eslint.org/docs/rules/no-useless-backreference\n 'no-useless-backreference': 'error',\n\n // disallow negation of the left operand of an in expression\n // deprecated in favor of no-unsafe-negation\n 'no-negated-in-lhs': 'off',\n\n // Disallow assignments that can lead to race conditions due to usage of await or yield\n // https://eslint.org/docs/rules/require-atomic-updates\n // note: not enabled because it is very buggy\n 'require-atomic-updates': 'off',\n\n // disallow comparisons with the value NaN\n 'use-isnan': 'error',\n\n // ensure JSDoc comments are valid\n // https://eslint.org/docs/rules/valid-jsdoc\n 'valid-jsdoc': 'off',\n\n // ensure that the results of typeof are compared against a valid string\n // https://eslint.org/docs/rules/valid-typeof\n 'valid-typeof': ['error', { requireStringLiterals: true }],\n} satisfies Linter.RulesRecord);\n","import type { Linter } from 'eslint';\n\nexport const es6 = () => ({\n// enforces no braces where they can be omitted\n // https://eslint.org/docs/rules/arrow-body-style\n // TODO: enable requireReturnForObjectLiteral?\n 'arrow-body-style': ['error', 'as-needed', {\n requireReturnForObjectLiteral: false,\n }],\n\n // require parens in arrow function arguments\n // https://eslint.org/docs/rules/arrow-parens\n 'arrow-parens': ['error', 'always'],\n\n // require space before/after arrow function's arrow\n // https://eslint.org/docs/rules/arrow-spacing\n 'arrow-spacing': ['error', { before: true, after: true }],\n\n // verify super() callings in constructors\n 'constructor-super': 'error',\n\n // enforce the spacing around the * in generator functions\n // https://eslint.org/docs/rules/generator-star-spacing\n 'generator-star-spacing': ['error', { before: false, after: true }],\n\n // disallow modifying variables of class declarations\n // https://eslint.org/docs/rules/no-class-assign\n 'no-class-assign': 'error',\n\n // disallow arrow functions where they could be confused with comparisons\n // https://eslint.org/docs/rules/no-confusing-arrow\n 'no-confusing-arrow': ['error', {\n allowParens: true,\n }],\n\n // disallow modifying variables that are declared using const\n 'no-const-assign': 'error',\n\n // disallow duplicate class members\n // https://eslint.org/docs/rules/no-dupe-class-members\n 'no-dupe-class-members': 'error',\n\n // disallow importing from the same path more than once\n // https://eslint.org/docs/rules/no-duplicate-imports\n // replaced by https://github.com/import-js/eslint-plugin-import/blob/master/docs/rules/no-duplicates.md\n 'no-duplicate-imports': 'off',\n\n // disallow symbol constructor\n // https://eslint.org/docs/rules/no-new-symbol\n 'no-new-symbol': 'error',\n\n // Disallow specified names in exports\n // https://eslint.org/docs/rules/no-restricted-exports\n 'no-restricted-exports': ['error', {\n restrictedNamedExports: [\n 'default', // use `export default` to provide a default export\n 'then', // this will cause tons of confusion when your module is dynamically `import()`ed, and will break in most node ESM versions\n ],\n }],\n\n // disallow specific imports\n // https://eslint.org/docs/rules/no-restricted-imports\n 'no-restricted-imports': ['off', {\n paths: [],\n patterns: [],\n }],\n\n // disallow to use this/super before super() calling in constructors.\n // https://eslint.org/docs/rules/no-this-before-super\n 'no-this-before-super': 'error',\n\n // disallow useless computed property keys\n // https://eslint.org/docs/rules/no-useless-computed-key\n 'no-useless-computed-key': 'error',\n\n // disallow unnecessary constructor\n // https://eslint.org/docs/rules/no-useless-constructor\n 'no-useless-constructor': 'error',\n\n // disallow renaming import, export, and destructured assignments to the same name\n // https://eslint.org/docs/rules/no-useless-rename\n 'no-useless-rename': ['error', {\n ignoreDestructuring: false,\n ignoreImport: false,\n ignoreExport: false,\n }],\n\n // require let or const instead of var\n 'no-var': 'error',\n\n // require method and property shorthand syntax for object literals\n // https://eslint.org/docs/rules/object-shorthand\n 'object-shorthand': ['error', 'always', {\n ignoreConstructors: false,\n avoidQuotes: true,\n }],\n\n // suggest using arrow functions as callbacks\n 'prefer-arrow-callback': ['error', {\n allowNamedFunctions: false,\n allowUnboundThis: true,\n }],\n\n // suggest using of const declaration for variables that are never modified after declared\n 'prefer-const': ['error', {\n destructuring: 'any',\n ignoreReadBeforeAssign: true,\n }],\n\n // Prefer destructuring from arrays and objects\n // https://eslint.org/docs/rules/prefer-destructuring\n 'prefer-destructuring': ['error', {\n VariableDeclarator: {\n array: false,\n object: true,\n },\n AssignmentExpression: {\n array: true,\n object: false,\n },\n }, {\n enforceForRenamedProperties: false,\n }],\n\n // disallow parseInt() in favor of binary, octal, and hexadecimal literals\n // https://eslint.org/docs/rules/prefer-numeric-literals\n 'prefer-numeric-literals': 'error',\n\n // suggest using Reflect methods where applicable\n // https://eslint.org/docs/rules/prefer-reflect\n 'prefer-reflect': 'off',\n\n // use rest parameters instead of arguments\n // https://eslint.org/docs/rules/prefer-rest-params\n 'prefer-rest-params': 'error',\n\n // suggest using the spread syntax instead of .apply()\n // https://eslint.org/docs/rules/prefer-spread\n 'prefer-spread': 'error',\n\n // suggest using template literals instead of string concatenation\n // https://eslint.org/docs/rules/prefer-template\n 'prefer-template': 'error',\n\n // disallow generator functions that do not have yield\n // https://eslint.org/docs/rules/require-yield\n 'require-yield': 'error',\n\n // enforce spacing between object rest-spread\n // https://eslint.org/docs/rules/rest-spread-spacing\n 'rest-spread-spacing': ['error', 'never'],\n\n // import sorting\n // https://eslint.org/docs/rules/sort-imports\n 'sort-imports': ['off', {\n ignoreCase: false,\n ignoreDeclarationSort: false,\n ignoreMemberSort: false,\n memberSyntaxSortOrder: ['none', 'all', 'multiple', 'single'],\n }],\n\n // require a Symbol description\n // https://eslint.org/docs/rules/symbol-description\n 'symbol-description': 'error',\n\n // enforce usage of spacing in template strings\n // https://eslint.org/docs/rules/template-curly-spacing\n 'template-curly-spacing': 'error',\n\n // enforce spacing around the * in yield* expressions\n // https://eslint.org/docs/rules/yield-star-spacing\n 'yield-star-spacing': ['error', 'after'],\n} satisfies Linter.RulesRecord);\n","import type { Linter } from 'eslint';\n\nexport const overrides = () => ({\n // Too many errors in components\n 'class-methods-use-this': 'off',\n // Annoying because it is not always wanted\n 'default-case': 'off',\n // We do not want console.* in production. Disable this rule on a per line basis if needed\n 'no-console': 'error',\n // Often useful in jsx\n 'no-nested-ternary': 'off',\n // Too strict, for pure code prefer the functional plugin\n 'no-param-reassign': ['error', { props: false }],\n // Allow for-of syntax\n // 'no-restricted-syntax': baseConfig.rules['no-restricted-syntax'].filter(\n // // @ts-ignore No typing available\n // ({ selector }) => selector !== 'ForOfStatement',\n // ),\n // underscore is often used (mongodb, etc)\n 'no-underscore-dangle': 'off',\n // Ignore underscore case arguments\n 'no-unused-vars': ['error', { argsIgnorePattern: '^_' }],\n // Allow in some cases https://github.com/airbnb/javascript/issues/1089#issuecomment-1024351821\n 'no-use-before-define': ['error', 'nofunc'],\n // Allow statements, to be compatible with '@typescript-eslint/no-floating-promises' fix\n 'no-void': ['error', { allowAsStatement: true }],\n 'unicode-bom': ['error', 'never'],\n} satisfies Linter.RulesRecord);\n","import type { Linter } from 'eslint';\n\nexport const strict = () => ({\n // babel inserts `'use strict';` for us\n strict: ['error', 'never'],\n} satisfies Linter.RulesRecord);\n","import type { Linter } from 'eslint';\n\nexport const variables = () => ({\n// enforce or disallow variable initializations at definition\n 'init-declarations': 'off',\n\n // disallow the catch clause parameter name being the same as a variable in the outer scope\n 'no-catch-shadow': 'off',\n\n // disallow deletion of variables\n 'no-delete-var': 'error',\n\n // disallow labels that share a name with a variable\n // https://eslint.org/docs/rules/no-label-var\n 'no-label-var': 'error',\n\n // disallow specific globals\n 'no-restricted-globals': [\n 'error',\n {\n name: 'isFinite',\n message:\n 'Use Number.isFinite instead https://github.com/airbnb/javascript#standard-library--isfinite',\n },\n {\n name: 'isNaN',\n message:\n 'Use Number.isNaN instead https://github.com/airbnb/javascript#standard-library--isnan',\n },\n // ...confusingBrowserGlobals.map((g) => ({\n // name: g,\n // message: `Use window.${g} instead. https://github.com/facebook/create-react-app/blob/HEAD/packages/confusing-browser-globals/README.md`,\n // })),\n ],\n\n // disallow declaration of variables already declared in the outer scope\n 'no-shadow': 'error',\n\n // disallow shadowing of names such as arguments\n 'no-shadow-restricted-names': 'error',\n\n // disallow use of undeclared variables unless mentioned in a /*global */ block\n 'no-undef': 'error',\n\n // disallow use of undefined when initializing variables\n 'no-undef-init': 'error',\n\n // disallow use of undefined variable\n // https://eslint.org/docs/rules/no-undefined\n // TODO: enable?\n 'no-undefined': 'off',\n\n // disallow declaration of variables that are not used in the code\n 'no-unused-vars': ['error', { vars: 'all', args: 'after-used', ignoreRestSiblings: true }],\n\n // disallow use of variables before they are defined\n 'no-use-before-define': ['error', { functions: true, classes: true, variables: true }],\n} satisfies Linter.RulesRecord);\n","import { bestPractices } from './esRules/bestPractices.js';\nimport { errors } from './esRules/errors.js';\nimport { es6 } from './esRules/es6.js';\nimport { overrides } from './esRules/overrides.js';\nimport { strict } from './esRules/strict.js';\nimport { variables } from './esRules/variables.js';\n\nexport const esRules = () => ({\n ...bestPractices(),\n ...errors(),\n ...es6(),\n ...strict(),\n ...variables(),\n\n // Must be last\n ...overrides(),\n});\n","import fs from 'node:fs';\nimport nodePath from 'node:path';\nimport process from 'node:process';\nimport { findUp } from 'find-up';\nimport parseGitignore from 'parse-gitignore';\nimport type { Config } from '../type.js';\n\nconst getGitignore = async (cwd: string, prefix = ''): Promise<Array<string>> => {\n const gitIgnoreFile = await findUp(nodePath.join(prefix, '.gitignore'), { cwd });\n if (gitIgnoreFile != null) {\n const { patterns } = parseGitignore.parse(await fs.promises.readFile(gitIgnoreFile));\n const returnValue = patterns.map((pattern) => nodePath.join(prefix, pattern));\n return returnValue;\n }\n return [];\n};\n\nexport async function ignores(options: ignores.Options = {}) {\n const cwd = process.cwd();\n const [ignoreRoot, ignoreAndroid, ignoreIOS] = await Promise.all([\n getGitignore(cwd),\n getGitignore(cwd, 'android'),\n getGitignore(cwd, 'ios'),\n ]);\n\n return [\n {\n ignores: [\n '**/node_modules',\n '**/dist',\n '**/package-lock.json',\n '**/yarn.lock',\n '**/pnpm-lock.yaml',\n '**/bun.lockb',\n\n '**/.docusaurus',\n '**/output',\n '**/coverage',\n '**/temp',\n '**/.temp',\n '**/tmp',\n '**/.tmp',\n '**/.history',\n '**/.vitepress/cache',\n '**/.nuxt',\n '**/.next',\n '**/.svelte-kit',\n '**/.vercel',\n '**/.changeset',\n '**/.idea',\n '**/.cache',\n '**/.output',\n '**/.vite-inspect',\n '**/.yarn',\n '**/vendor',\n '**/vendors',\n '**/*.min.*',\n\n '**/*.timestamp-*.mjs', // esbuild/vite temporary files\n\n '.modules/',\n '.go/',\n '.pnpm-store/',\n // '!.*',\n // '.venv/',\n // 'deprecated/',\n // 'test-output/',\n // 'venv/',\n // '_generated_/',\n\n ...ignoreRoot,\n ...ignoreAndroid,\n ...ignoreIOS,\n ...(options.ignores ?? []),\n ] as Array<string>,\n name: 'w5s/ignore',\n },\n ] as const satisfies Array<Config>;\n}\nexport namespace ignores {\n export interface Options {\n ignores?: string[];\n }\n}\n","import type { StylisticCustomizeOptions } from '@stylistic/eslint-plugin';\nimport prettierConfig from '@w5s/prettier-config';\n\nexport interface StylisticConfig {\n enabled: boolean;\n indent: NonNullable<StylisticCustomizeOptions['indent']>;\n quotes: NonNullable<StylisticCustomizeOptions['quotes']>;\n jsx: NonNullable<StylisticCustomizeOptions['jsx']>;\n semi: NonNullable<StylisticCustomizeOptions['semi']>;\n}\n\nexport interface StylisticParameters extends Partial<StylisticConfig> {}\n\nconst defaultConfig = {\n enabled: true,\n indent: prettierConfig.tabWidth ?? 2,\n quotes: prettierConfig.singleQuote ? 'single' : 'double',\n jsx: true,\n semi: prettierConfig.semi ?? true,\n} satisfies StylisticConfig;\n\n/**\n * @namespace\n */\nexport const StylisticConfig = {\n /**\n * Default config\n */\n default: defaultConfig,\n\n /**\n * Return a new StylisticConfig from input\n *\n * @param input\n */\n from(input: boolean | StylisticParameters): StylisticConfig {\n return typeof input === 'boolean' ? { ...defaultConfig, enabled: input } : { ...defaultConfig, ...input };\n },\n};\n","import { interopDefault } from '@w5s/dev';\nimport { StylisticConfig, type PluginOptionsBase, type Config } from '../type.js';\nimport type { RuleOptions } from '../typegen/jsdoc.js';\n\nexport async function jsdoc(options: jsdoc.Options = {}): Promise<readonly Config[]> {\n const [jsdocPlugin] = await Promise.all([\n interopDefault(import('eslint-plugin-jsdoc')),\n ] as const);\n const { rules = {}, stylistic = true } = options;\n const { enabled: stylisticEnabled } = StylisticConfig.from(stylistic);\n\n return [\n {\n name: 'w5s/jsdoc/setup',\n plugins: {\n jsdoc: jsdocPlugin,\n },\n },\n {\n name: 'w5s/jsdoc/rules',\n rules: {\n ...(jsdocPlugin.configs['flat/recommended'].rules),\n 'jsdoc/no-undefined-types': 'off', // https://github.com/gajus/eslint-plugin-jsdoc/issues/839\n 'jsdoc/require-hyphen-before-param-description': ['warn', 'always'],\n 'jsdoc/require-jsdoc': 'off',\n 'jsdoc/require-param-description': 'off',\n 'jsdoc/require-returns': 'off',\n 'jsdoc/tag-lines': ['warn', 'any', { startLines: 1 }],\n 'jsdoc/valid-types': 'off', // FIXME: reports lots of false positive\n // 'strict': ['error', 'safe'],\n ...(stylisticEnabled\n ? {\n // ...(jsdocPlugin.configs['flat/stylistic'].rules),\n 'jsdoc/check-alignment': 'warn',\n 'jsdoc/multiline-blocks': 'warn',\n }\n : {}),\n ...rules,\n },\n settings: {\n jsdoc: {\n mode: 'typescript',\n },\n },\n },\n ] as [Config, Config] satisfies Array<Config>;\n}\n\nexport namespace jsdoc {\n export type Rules = RuleOptions;\n\n export interface Options extends PluginOptionsBase<Rules> {}\n}\n","/* cSpell:disable */\nimport { interopDefault, Project } from '@w5s/dev';\nimport { StylisticConfig, type PluginOptionsBase, type Config } from '../type.js';\nimport type { RuleOptions } from '../typegen/jsonc.js';\n\nconst defaultFiles = [`**/${Project.extensionsToGlob(['.json', '.json5', '.jsonc'])}`];\n\nexport async function jsonc(options: jsonc.Options = {}): Promise<readonly Config[]> {\n const [jsoncPlugin, jsoncParser] = await Promise.all([\n interopDefault(import('eslint-plugin-jsonc')),\n interopDefault(import('jsonc-eslint-parser')),\n ] as const);\n const { files = defaultFiles, rules = {}, stylistic = true } = options;\n const { enabled: stylisticEnabled, indent } = StylisticConfig.from(stylistic);\n\n return [\n {\n name: 'w5s/jsonc/setup',\n plugins: {\n jsonc: jsoncPlugin,\n },\n },\n {\n files,\n languageOptions: {\n parser: jsoncParser,\n },\n name: 'w5s/jsonc/rules',\n rules: {\n ...(jsoncPlugin.configs['flat/recommended-with-json'][0]?.rules),\n ...(stylisticEnabled\n ? {\n 'jsonc/array-bracket-spacing': ['error', 'never'],\n 'jsonc/comma-dangle': ['error', 'never'],\n 'jsonc/comma-style': ['error', 'last'],\n 'jsonc/indent': ['error', indent],\n 'jsonc/key-spacing': ['error', { afterColon: true, beforeColon: false }],\n 'jsonc/object-curly-newline': ['error', { consistent: true, multiline: true }],\n 'jsonc/object-curly-spacing': ['error', 'always'],\n 'jsonc/object-property-newline': ['error', { allowMultiplePropertiesPerLine: true }],\n 'jsonc/quote-props': 'error',\n 'jsonc/quotes': 'error',\n }\n : {}),\n ...rules,\n },\n },\n stylisticEnabled ? sortPackageJson() : {},\n stylisticEnabled ? sortTsconfigJson() : {},\n ] as [Config, Config, Config, Config] satisfies Array<Config>;\n}\n\nfunction sortTsconfigJson() {\n return {\n files: ['tsconfig*.json'],\n rules: {\n 'jsonc/sort-keys': [\n 'error',\n {\n order: ['$schema', 'display', 'extends', 'compilerOptions', 'include', 'exclude', 'files', 'references'],\n pathPattern: '^$',\n },\n {\n order: { type: 'asc' },\n pathPattern: '.*',\n },\n ],\n },\n };\n}\n\nfunction sortPackageJson() {\n return {\n files: ['package.json'],\n rules: {\n 'jsonc/sort-keys': [\n 'error',\n {\n order: [\n '$schema',\n 'name',\n 'displayName',\n 'version',\n 'private',\n 'description',\n 'categories',\n 'keywords',\n 'homepage',\n 'bugs',\n 'repository',\n 'funding',\n 'license',\n 'qna',\n 'author',\n 'maintainers', // Key order (per item): name, email, url\n 'contributors', // Key order (per item): name, email, url\n 'publisher',\n 'sideEffects',\n 'type',\n 'imports',\n 'exports',\n 'main',\n 'svelte',\n 'umd:main',\n 'jsdelivr',\n 'unpkg',\n 'module',\n 'source',\n 'jsnext:main',\n 'browser',\n 'react-native',\n 'types',\n 'typesVersions',\n 'typings',\n 'style',\n 'example',\n 'examplestyle',\n 'assets',\n 'bin',\n 'man',\n 'directories', // Key order: lib, bin, man, doc, example, test\n 'files', // Unique items\n 'workspaces',\n 'binary', // Key order: module_name, module_path, remote_path, package_name, host\n 'scripts', // Script sort\n 'betterScripts', // Script sort\n 'contributes',\n 'activationEvents', // Unique items\n 'husky', // Sorts the hooks field using git hook sort\n 'simple-git-hooks', // Key sort using git hook sort\n 'pre-commit',\n 'commitlint',\n 'lint-staged',\n 'config',\n 'nodemonConfig',\n 'browserify',\n 'babel',\n 'browserslist',\n 'xo',\n 'prettier', // Prettier sort\n 'eslintConfig', // ESLint sort\n 'eslintIgnore',\n 'npmpackagejsonlint', // Key sort (also recognizes: npmPackageJsonLintConfig, npmpkgjsonlint)\n 'release',\n 'remarkConfig',\n 'stylelint',\n 'ava',\n 'jest',\n 'mocha',\n 'nyc',\n 'tap',\n 'resolutions',\n 'dependencies',\n 'devDependencies',\n 'dependenciesMeta', // Key sort (deep)\n 'peerDependencies',\n 'peerDependenciesMeta', // Key sort (deep)\n 'optionalDependencies',\n 'bundledDependencies',\n 'bundleDependencies',\n 'extensionPack',\n 'extensionDependencies',\n 'flat',\n 'packageManager',\n 'engines',\n 'engineStrict',\n 'volta', // Key order: node, npm, yarn\n 'languageName',\n 'os',\n 'cpu',\n 'preferGlobal',\n 'publishConfig',\n 'icon',\n 'badges', // Key order (per item): description, url, href\n 'galleryBanner',\n 'preview',\n 'markdown',\n ],\n pathPattern: '^$',\n },\n {\n order: ['url', 'email'],\n pathPattern: `^bugs$`,\n },\n ...['repository', 'funding', 'license', 'author'].map((key) => ({\n order: ['type', 'name', 'email', 'url'],\n pathPattern: `^${key}$`,\n })),\n ...['scripts', 'betterScripts'].map((key) => ({\n order: { type: 'asc' },\n pathPattern: `^${key}$`,\n })),\n ...[\n 'bin',\n 'contributes',\n 'commitlint',\n 'config',\n 'nodemonConfig',\n 'browserify',\n 'babel',\n 'xo',\n 'release',\n 'remarkConfig',\n 'ava',\n 'jest',\n 'mocha',\n 'nyc',\n 'tap',\n 'resolutions',\n 'engines',\n 'engineStrict',\n 'preferGlobal',\n 'publishConfig',\n 'galleryBanner',\n ].map((key) => ({\n order: { type: 'asc' },\n pathPattern: `^${key}$`,\n })),\n {\n order: { type: 'asc' },\n pathPattern: '^(?:dev|peer|optional|bundled|extension)?[Dd]ependencies$',\n },\n {\n order: ['types', 'require', 'import'],\n pathPattern: '^exports.*$',\n },\n ],\n\n },\n };\n}\n\nexport namespace jsonc {\n export type Rules = RuleOptions;\n\n export interface Options extends PluginOptionsBase<Rules> {}\n}\n","import { PluginOptionsBase, StylisticConfig, type Config } from '../type.js';\nimport type { RuleOptions } from '../typegen/import.js';\n// @ts-ignore\nimport importPlugin from 'eslint-plugin-import';\n\nconst importConfig = importPlugin.flatConfigs['recommended'];\n\nexport async function imports(options: imports.Options = {}) {\n const { rules = {}, stylistic = true } = options;\n const { enabled: stylisticEnabled } = StylisticConfig.from(stylistic);\n return [\n {\n name: 'w5s/import/rules',\n plugins: importConfig.plugins ?? {},\n rules: {\n ...(importConfig?.rules),\n ...(stylisticEnabled\n ? {\n // Stylistic rules\n }\n : {}),\n ...rules,\n },\n },\n ] as [Config] satisfies Array<Config>;\n}\n\nexport namespace imports {\n export type Rules = RuleOptions;\n\n export interface Options extends PluginOptionsBase<Rules> {}\n}\n","import { interopDefault } from '@w5s/dev';\nimport { type Config, type PluginOptionsBase } from '../type.js';\nimport type { RuleOptions } from '../typegen/node.js';\n\nexport async function node(options: node.Options = {}) {\n const [nodePlugin] = await Promise.all([\n interopDefault(import('eslint-plugin-n')),\n ] as const);\n const { rules = {} } = options;\n return [\n {\n name: 'w5s/node/setup',\n plugins: {\n node: nodePlugin,\n },\n },\n {\n name: 'w5s/node/rules',\n rules: {\n // 'node/handle-callback-err': ['error', '^(err|error|_error)$'],\n 'node/no-deprecated-api': 'error',\n 'node/no-exports-assign': 'error',\n 'node/no-new-require': 'error',\n 'node/no-path-concat': 'error',\n 'node/no-sync': 'error',\n 'node/prefer-global/buffer': ['error', 'never'],\n 'node/prefer-global/console': ['error', 'always'],\n // 'node/prefer-global/process': ['error', 'never'],\n 'node/prefer-global/url': ['error', 'always'],\n 'node/prefer-global/url-search-params': ['error', 'always'],\n 'node/process-exit-as-throw': 'error',\n ...rules,\n },\n },\n ] as [Config, Config] satisfies Array<Config>;\n}\n\nexport namespace node {\n export type Rules = RuleOptions;\n\n export interface Options extends Omit<PluginOptionsBase<Rules>, 'files' | 'stylistic'> {}\n}\n","import { interopDefault } from '@w5s/dev';\nimport { StylisticConfig, type PluginOptionsBase, type Config, type StylisticParameters } from '../type.js';\nimport type { RuleOptions } from '../typegen/style.js';\n\nexport async function stylistic(options: stylistic.Options = {}) {\n const [stylisticPlugin] = await Promise.all([\n interopDefault(import('@stylistic/eslint-plugin')),\n ] as const);\n const { rules = {} } = options;\n const { enabled: stylisticEnabled, indent, jsx, quotes, semi } = StylisticConfig.from(options);\n const config = stylisticEnabled\n ? stylisticPlugin.configs.customize({\n indent,\n jsx,\n pluginName: 'style',\n quotes,\n semi,\n })\n : { rules: {} };\n\n return [\n {\n name: 'w5s/style/setup',\n plugins: {\n style: stylisticPlugin,\n },\n },\n {\n name: 'w5s/style/rules',\n rules: {\n ...(stylisticEnabled\n ? {\n ...config.rules,\n 'style/arrow-parens': ['error', 'always'],\n 'style/brace-style': ['error', '1tbs'],\n 'style/operator-linebreak': ['error', 'after', { overrides: { ':': 'before', '?': 'before', '|>': 'before', '|': 'before' } }],\n 'style/quotes': ['error', quotes ?? StylisticConfig.default.quotes, { avoidEscape: true, allowTemplateLiterals: 'always' }],\n }\n : {}),\n ...rules,\n },\n },\n ] as [Config, Config] satisfies Array<Config>;\n}\n\nexport namespace stylistic {\n export type Rules = RuleOptions;\n\n export interface Options extends Pick<PluginOptionsBase<Rules>, 'rules'>, StylisticParameters {}\n}\n","import { interopDefault, Project } from '@w5s/dev';\nimport { StylisticConfig, type PluginOptionsBase, type Config } from '../type.js';\nimport type { RuleOptions } from '../typegen/test.js';\n\nconst sourceGlob = Project.extensionsToGlob(Project.sourceExtensions());\nconst defaultFiles = [\n `**/__mocks__/**/${sourceGlob}`,\n `**/__tests__/**/${sourceGlob}`,\n `**/?(*.)+(spec|test)${sourceGlob.slice(1)}`,\n];\n\nexport async function test(options: test.Options = {}) {\n const [vitestPlugin] = await Promise.all([\n interopDefault(import('@vitest/eslint-plugin')),\n ] as const);\n const { files = defaultFiles, rules = {}, stylistic = true } = options;\n const { enabled: stylisticEnabled } = StylisticConfig.from(stylistic);\n\n return [\n {\n name: 'w5s/test/setup',\n plugins: {\n test: vitestPlugin,\n },\n },\n {\n files,\n name: 'w5s/test/rules',\n rules: {\n ...vitestPlugin.configs.recommended.rules,\n ...(stylisticEnabled\n ? {}\n : {}),\n ...rules,\n },\n },\n ] as [Config, Config] satisfies Array<Config>;\n}\n\nexport namespace test {\n export type Rules = RuleOptions;\n\n export interface Options extends PluginOptionsBase<Rules> {}\n}\n","/* eslint-disable ts/no-non-null-assertion */\nimport { ESLintConfig, interopDefault, Project } from '@w5s/dev';\nimport { StylisticConfig, type PluginOptionsBase, type Config } from '../type.js';\nimport type { RuleOptions } from '../typegen/ts.js';\nimport { createRules } from './createRules.js';\n\nconst defaultFiles = [`**/${Project.extensionsToGlob(Project.queryExtensions(['typescript', 'typescriptreact']))}`];\n\nexport async function ts(options: ts.Options = {}) {\n const [tsPlugin, tsParser] = await Promise.all([\n interopDefault(import('@typescript-eslint/eslint-plugin')),\n interopDefault(import('@typescript-eslint/parser')),\n ] as const);\n const tsRecommendedRules = tsPlugin.configs['eslint-recommended']!.overrides![0]!.rules!;\n const tsStrictRules = tsPlugin.configs['strict']!.rules!;\n const tsTypeCheckedRules = tsPlugin.configs['recommended-type-checked-only']!.rules!;\n const { files = defaultFiles, rules = {}, stylistic = true, typeChecked = false } = options;\n const { enabled: stylisticEnabled } = StylisticConfig.from(stylistic);\n\n return [\n {\n name: 'w5s/ts/setup',\n plugins: {\n ts: tsPlugin,\n },\n },\n {\n files,\n languageOptions: {\n parser: tsParser,\n parserOptions: {\n sourceType: 'module',\n // extraFileExtensions: componentExts.map(ext => `.${ext}`),\n // ...typeAware\n // ? {\n // projectService: {\n // allowDefaultProject: ['./*.js'],\n // defaultProject: tsconfigPath,\n // },\n // tsconfigRootDir: process.cwd(),\n // }\n // : {},\n // ...parserOptions as any,\n },\n },\n name: 'w5s/ts/rules',\n rules: {\n ...ESLintConfig.renameRules(\n tsRecommendedRules,\n { '@typescript-eslint': 'ts' },\n ),\n ...ESLintConfig.renameRules(\n tsStrictRules,\n { '@typescript-eslint': 'ts' },\n ),\n 'ts/ban-ts-comment': [\n 'warn',\n {\n 'minimumDescriptionLength': 3,\n 'ts-check': false,\n 'ts-expect-error': 'allow-with-description',\n 'ts-ignore': 'allow-with-description',\n 'ts-nocheck': true,\n },\n ],\n 'ts/no-empty-object-type': 'off',\n 'ts/no-explicit-any': 'off', // if any is explicit then it's wanted\n 'ts/no-namespace': 'off', // We don't agree with community, namespaces are great and not deprecated\n ...createRules('ts/'),\n ...(stylisticEnabled\n ? {}\n : {}),\n ...rules,\n },\n },\n ...(typeChecked\n ? [{\n files: defaultFiles,\n // ignores: ignoresTypeAware,\n name: 'w5s/ts/rules-type-checked',\n rules: {\n ...ESLintConfig.renameRules(\n tsTypeCheckedRules,\n { '@typescript-eslint': 'ts' },\n ),\n },\n }] as const\n : []),\n ] as ([Config, Config] | [Config, Config, Config]) satisfies Array<Config>;\n}\nexport namespace ts {\n export type Rules = RuleOptions;\n\n export interface Options extends PluginOptionsBase<Rules> {\n typeChecked?: boolean;\n }\n}\n","import { interopDefault } from '@w5s/dev';\nimport { StylisticConfig, type Config, type PluginOptionsBase } from '../type.js';\nimport type { RuleOptions } from '../typegen/unicorn.js';\n\nexport async function unicorn(options: unicorn.Options = {}) {\n const [unicornPlugin] = await Promise.all([\n interopDefault(import('eslint-plugin-unicorn')),\n ] as const);\n const { rules = {}, stylistic = true } = options;\n const { enabled: stylisticEnabled } = StylisticConfig.from(stylistic);\n\n return [\n {\n name: 'w5s/unicorn/setup',\n plugins: {\n unicorn: unicornPlugin,\n },\n },\n {\n name: 'w5s/unicorn/rules',\n rules: {\n ...(unicornPlugin.configs.recommended?.rules),\n // Disabled for safety\n 'unicorn/consistent-destructuring': 'off',\n 'unicorn/consistent-function-scoping': 'off', // Too many false positive\n 'unicorn/filename-case': 'off',\n 'unicorn/import-index': 'off', // Not playing well with ES Module\n 'unicorn/new-for-builtins': 'off', // error, @see https://github.com/sindresorhus/eslint-plugin-unicorn/issues/122\n 'unicorn/no-array-callback-reference': 'off', // Many false positive reported\n 'unicorn/no-array-for-each': 'off', // This rule could change browser compatibility\n 'unicorn/no-array-method-this-argument': 'off', // Many false positive reported\n 'unicorn/no-array-reduce': 'off', // Array#reduce can be used\n 'unicorn/no-console-spaces': 'off',\n 'unicorn/no-fn-reference-in-iterator': 'off', // error ?\n 'unicorn/no-nested-ternary': 'off',\n 'unicorn/no-null': 'off', // https://github.com/sindresorhus/eslint-plugin-unicorn/issues/612\n 'unicorn/no-object-as-default-parameter': 'off',\n 'unicorn/no-process-exit': 'off',\n 'unicorn/no-unreadable-array-destructuring': 'off',\n 'unicorn/no-unused-properties': 'warn',\n 'unicorn/no-useless-undefined': 'off',\n 'unicorn/prefer-add-event-listener': 'off',\n 'unicorn/prefer-default-parameters': 'off',\n 'unicorn/prefer-set-has': 'off',\n 'unicorn/prevent-abbreviations': 'off', // This rule is so dangerous : it potentially break code while fixing in many cases !!\n 'unicorn/throw-new-error': 'off', // Creating errors with call signature is OK\n ...(stylisticEnabled\n ? {}\n : {}),\n ...rules,\n },\n },\n // TODO: move to another file ?\n {\n name: 'w5s/unicorn/overrides',\n files: ['**/*.config.cjs', '**/*.config.js'],\n rules: {\n 'unicorn/prefer-module': 'off',\n },\n },\n ] as [Config, Config, Config] satisfies Array<Config>;\n}\n\nexport namespace unicorn {\n export type Rules = RuleOptions;\n\n export interface Options extends PluginOptionsBase<Rules> {}\n}\n","/* eslint-disable ts/no-non-null-assertion */\nimport { interopDefault, Project } from '@w5s/dev';\nimport { StylisticConfig, type Config, type PluginOptionsBase } from '../type.js';\nimport type { RuleOptions } from '../typegen/yml.js';\n\nconst defaultFiles = [`**/${Project.extensionsToGlob(Project.queryExtensions(['yaml']))}`];\n\nexport async function yml(options: yml.Options = {}) {\n const [ymlPlugin, ymlParser] = await Promise.all([\n interopDefault(import('eslint-plugin-yml')),\n interopDefault(import('yaml-eslint-parser')),\n ] as const);\n const { files = defaultFiles, rules = {}, stylistic = true } = options;\n const { enabled: stylisticEnabled, indent, quotes } = StylisticConfig.from(stylistic);\n\n return [\n {\n name: 'w5s/yml/setup',\n plugins: {\n yml: ymlPlugin,\n },\n },\n {\n files,\n languageOptions: {\n parser: ymlParser,\n },\n name: 'w5s/yml/rules',\n rules: {\n ...(ymlPlugin.configs['flat/recommended'][0]!.rules),\n ...(ymlPlugin.configs['flat/recommended'][1]!.rules),\n ...(ymlPlugin.configs['flat/recommended'][2]!.rules),\n ...(stylisticEnabled\n ? {\n // ...(ymlPlugin.configs['flat/standard'][3]!.rules),\n // 'yml/array-bracket-spacing': ['error', 'never'],\n // 'yml/comma-dangle': ['error', 'never'],\n // 'yml/comma-style': ['error', 'last'],\n\n // 'yml/object-curly-newline': ['error', { consistent: true, multiline: true }],\n // 'yml/object-curly-spacing': ['error', 'always'],\n // 'yml/object-property-newline': ['error', { allowMultiplePropertiesPerLine: true }],\n // 'yml/quote-props': 'error',\n\n 'style/spaced-comment': 'off', // Fix\n\n 'yml/block-mapping-question-indicator-newline': 'error',\n 'yml/block-sequence-hyphen-indicator-newline': 'error',\n 'yml/flow-mapping-curly-newline': 'error',\n 'yml/flow-mapping-curly-spacing': 'error',\n 'yml/flow-sequence-bracket-newline': 'error',\n 'yml/flow-sequence-bracket-spacing': 'error',\n 'yml/indent': ['error', indent === 'tab' ? 2 : indent],\n 'yml/key-spacing': ['error', { afterColon: true, beforeColon: false }],\n 'yml/no-tab-indent': 'error',\n 'yml/quotes': ['error', { avoidEscape: true, prefer: quotes === 'backtick' ? 'single' as const : quotes }],\n 'yml/spaced-comment': 'error',\n }\n : {}),\n ...rules,\n },\n },\n ] as [Config, Config] satisfies Array<Config>;\n}\n\nexport namespace yml {\n export type Rules = RuleOptions;\n\n export interface Options extends PluginOptionsBase<Rules> {}\n}\n","import { jsdoc, jsonc, ignores, imports, node, ts, yml, unicorn, stylistic, es } from './config.js';\nimport type { Config } from './type.js';\n\nexport interface DefineConfigOptions extends ignores.Options {\n es?: boolean | es.Options;\n import?: boolean | imports.Options;\n jsdoc?: boolean | jsdoc.Options;\n jsonc?: boolean | jsonc.Options;\n node?: boolean | node.Options;\n stylistic?: boolean | stylistic.Options;\n ts?: boolean | ts.Options;\n unicorn?: boolean | unicorn.Options;\n yml?: boolean | yml.Options;\n}\n\nexport async function defineConfig(options: DefineConfigOptions = {}) {\n const stylisticOptions = typeof options.stylistic === 'boolean' ? { enabled: options.stylistic } : { enabled: true, ...options.stylistic };\n const withDefaultStylistic = <T>(options: T) => ({ stylistic: stylisticOptions, ...options });\n const toOption = <T extends {}>(optionsOrBoolean: T | boolean | undefined) => withDefaultStylistic((typeof optionsOrBoolean === 'boolean' ? { enabled: optionsOrBoolean } : ({ enabled: true, ...optionsOrBoolean })) as T & { enabled: boolean });\n const esOptions = toOption(options.es);\n const importOptions = toOption(options.import);\n const jsdocOptions = toOption(options.jsdoc);\n const jsoncOptions = toOption(options.jsonc);\n const nodeOptions = toOption(options.node);\n const tsOptions = toOption(options.ts);\n const unicornOptions = toOption(options.unicorn);\n const ymlOptions = toOption(options.yml);\n\n const returnValue: Array<Promise<Array<Config>>> = [];\n const append = (config: Promise<ReadonlyArray<any>>) => {\n returnValue.push(config as any);\n };\n append(es(esOptions));\n append(ignores(options));\n\n if (jsoncOptions.enabled) {\n append(jsonc(jsoncOptions));\n }\n if (jsdocOptions.enabled) {\n append(jsdoc(jsdocOptions));\n }\n if (stylisticOptions.enabled) {\n append(stylistic(stylisticOptions));\n }\n if (importOptions.enabled) {\n append(imports(importOptions));\n }\n if (nodeOptions.enabled) {\n append(node(nodeOptions));\n }\n if (tsOptions.enabled) {\n append(ts(tsOptions));\n }\n if (ymlOptions.enabled) {\n append(yml(ymlOptions));\n }\n if (unicornOptions.enabled) {\n append(unicorn(unicornOptions));\n }\n const nested = await Promise.all(returnValue);\n return nested.reduce((acc, curr) => [...acc, ...curr], [] as Array<Config>);\n}\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@w5s/eslint-config",
3
- "version": "3.1.0",
3
+ "version": "3.2.0",
4
4
  "description": "ESLint configuration presets",
5
5
  "keywords": [
6
6
  "eslint",
@@ -49,8 +49,8 @@
49
49
  "@typescript-eslint/eslint-plugin": "^8.0.0",
50
50
  "@typescript-eslint/parser": "^8.0.0",
51
51
  "@vitest/eslint-plugin": "^1.0.0",
52
- "@w5s/dev": "^3.1.0",
53
- "@w5s/prettier-config": "^3.0.1",
52
+ "@w5s/dev": "^3.1.1",
53
+ "@w5s/prettier-config": "^3.0.2",
54
54
  "eslint-plugin-import": "^2.25.0",
55
55
  "eslint-plugin-jsdoc": "^61.0.0",
56
56
  "eslint-plugin-jsonc": "^2.4.0",
@@ -82,5 +82,5 @@
82
82
  "access": "public"
83
83
  },
84
84
  "sideEffect": false,
85
- "gitHead": "a8ee6449f8faf3d45ad47f497b9bb8a4c98d89e7"
85
+ "gitHead": "8338e5dded9a0bbed4fb84c69ee86d5eff743a12"
86
86
  }
@@ -0,0 +1,173 @@
1
+ import type { Linter } from 'eslint';
2
+
3
+ export const es6 = () => ({
4
+ // enforces no braces where they can be omitted
5
+ // https://eslint.org/docs/rules/arrow-body-style
6
+ // TODO: enable requireReturnForObjectLiteral?
7
+ 'arrow-body-style': ['error', 'as-needed', {
8
+ requireReturnForObjectLiteral: false,
9
+ }],
10
+
11
+ // require parens in arrow function arguments
12
+ // https://eslint.org/docs/rules/arrow-parens
13
+ 'arrow-parens': ['error', 'always'],
14
+
15
+ // require space before/after arrow function's arrow
16
+ // https://eslint.org/docs/rules/arrow-spacing
17
+ 'arrow-spacing': ['error', { before: true, after: true }],
18
+
19
+ // verify super() callings in constructors
20
+ 'constructor-super': 'error',
21
+
22
+ // enforce the spacing around the * in generator functions
23
+ // https://eslint.org/docs/rules/generator-star-spacing
24
+ 'generator-star-spacing': ['error', { before: false, after: true }],
25
+
26
+ // disallow modifying variables of class declarations
27
+ // https://eslint.org/docs/rules/no-class-assign
28
+ 'no-class-assign': 'error',
29
+
30
+ // disallow arrow functions where they could be confused with comparisons
31
+ // https://eslint.org/docs/rules/no-confusing-arrow
32
+ 'no-confusing-arrow': ['error', {
33
+ allowParens: true,
34
+ }],
35
+
36
+ // disallow modifying variables that are declared using const
37
+ 'no-const-assign': 'error',
38
+
39
+ // disallow duplicate class members
40
+ // https://eslint.org/docs/rules/no-dupe-class-members
41
+ 'no-dupe-class-members': 'error',
42
+
43
+ // disallow importing from the same path more than once
44
+ // https://eslint.org/docs/rules/no-duplicate-imports
45
+ // replaced by https://github.com/import-js/eslint-plugin-import/blob/master/docs/rules/no-duplicates.md
46
+ 'no-duplicate-imports': 'off',
47
+
48
+ // disallow symbol constructor
49
+ // https://eslint.org/docs/rules/no-new-symbol
50
+ 'no-new-symbol': 'error',
51
+
52
+ // Disallow specified names in exports
53
+ // https://eslint.org/docs/rules/no-restricted-exports
54
+ 'no-restricted-exports': ['error', {
55
+ restrictedNamedExports: [
56
+ 'default', // use `export default` to provide a default export
57
+ 'then', // this will cause tons of confusion when your module is dynamically `import()`ed, and will break in most node ESM versions
58
+ ],
59
+ }],
60
+
61
+ // disallow specific imports
62
+ // https://eslint.org/docs/rules/no-restricted-imports
63
+ 'no-restricted-imports': ['off', {
64
+ paths: [],
65
+ patterns: [],
66
+ }],
67
+
68
+ // disallow to use this/super before super() calling in constructors.
69
+ // https://eslint.org/docs/rules/no-this-before-super
70
+ 'no-this-before-super': 'error',
71
+
72
+ // disallow useless computed property keys
73
+ // https://eslint.org/docs/rules/no-useless-computed-key
74
+ 'no-useless-computed-key': 'error',
75
+
76
+ // disallow unnecessary constructor
77
+ // https://eslint.org/docs/rules/no-useless-constructor
78
+ 'no-useless-constructor': 'error',
79
+
80
+ // disallow renaming import, export, and destructured assignments to the same name
81
+ // https://eslint.org/docs/rules/no-useless-rename
82
+ 'no-useless-rename': ['error', {
83
+ ignoreDestructuring: false,
84
+ ignoreImport: false,
85
+ ignoreExport: false,
86
+ }],
87
+
88
+ // require let or const instead of var
89
+ 'no-var': 'error',
90
+
91
+ // require method and property shorthand syntax for object literals
92
+ // https://eslint.org/docs/rules/object-shorthand
93
+ 'object-shorthand': ['error', 'always', {
94
+ ignoreConstructors: false,
95
+ avoidQuotes: true,
96
+ }],
97
+
98
+ // suggest using arrow functions as callbacks
99
+ 'prefer-arrow-callback': ['error', {
100
+ allowNamedFunctions: false,
101
+ allowUnboundThis: true,
102
+ }],
103
+
104
+ // suggest using of const declaration for variables that are never modified after declared
105
+ 'prefer-const': ['error', {
106
+ destructuring: 'any',
107
+ ignoreReadBeforeAssign: true,
108
+ }],
109
+
110
+ // Prefer destructuring from arrays and objects
111
+ // https://eslint.org/docs/rules/prefer-destructuring
112
+ 'prefer-destructuring': ['error', {
113
+ VariableDeclarator: {
114
+ array: false,
115
+ object: true,
116
+ },
117
+ AssignmentExpression: {
118
+ array: true,
119
+ object: false,
120
+ },
121
+ }, {
122
+ enforceForRenamedProperties: false,
123
+ }],
124
+
125
+ // disallow parseInt() in favor of binary, octal, and hexadecimal literals
126
+ // https://eslint.org/docs/rules/prefer-numeric-literals
127
+ 'prefer-numeric-literals': 'error',
128
+
129
+ // suggest using Reflect methods where applicable
130
+ // https://eslint.org/docs/rules/prefer-reflect
131
+ 'prefer-reflect': 'off',
132
+
133
+ // use rest parameters instead of arguments
134
+ // https://eslint.org/docs/rules/prefer-rest-params
135
+ 'prefer-rest-params': 'error',
136
+
137
+ // suggest using the spread syntax instead of .apply()
138
+ // https://eslint.org/docs/rules/prefer-spread
139
+ 'prefer-spread': 'error',
140
+
141
+ // suggest using template literals instead of string concatenation
142
+ // https://eslint.org/docs/rules/prefer-template
143
+ 'prefer-template': 'error',
144
+
145
+ // disallow generator functions that do not have yield
146
+ // https://eslint.org/docs/rules/require-yield
147
+ 'require-yield': 'error',
148
+
149
+ // enforce spacing between object rest-spread
150
+ // https://eslint.org/docs/rules/rest-spread-spacing
151
+ 'rest-spread-spacing': ['error', 'never'],
152
+
153
+ // import sorting
154
+ // https://eslint.org/docs/rules/sort-imports
155
+ 'sort-imports': ['off', {
156
+ ignoreCase: false,
157
+ ignoreDeclarationSort: false,
158
+ ignoreMemberSort: false,
159
+ memberSyntaxSortOrder: ['none', 'all', 'multiple', 'single'],
160
+ }],
161
+
162
+ // require a Symbol description
163
+ // https://eslint.org/docs/rules/symbol-description
164
+ 'symbol-description': 'error',
165
+
166
+ // enforce usage of spacing in template strings
167
+ // https://eslint.org/docs/rules/template-curly-spacing
168
+ 'template-curly-spacing': 'error',
169
+
170
+ // enforce spacing around the * in yield* expressions
171
+ // https://eslint.org/docs/rules/yield-star-spacing
172
+ 'yield-star-spacing': ['error', 'after'],
173
+ } satisfies Linter.RulesRecord);
@@ -0,0 +1,6 @@
1
+ import type { Linter } from 'eslint';
2
+
3
+ export const strict = () => ({
4
+ // babel inserts `'use strict';` for us
5
+ strict: ['error', 'never'],
6
+ } satisfies Linter.RulesRecord);
@@ -0,0 +1,58 @@
1
+ import type { Linter } from 'eslint';
2
+
3
+ export const variables = () => ({
4
+ // enforce or disallow variable initializations at definition
5
+ 'init-declarations': 'off',
6
+
7
+ // disallow the catch clause parameter name being the same as a variable in the outer scope
8
+ 'no-catch-shadow': 'off',
9
+
10
+ // disallow deletion of variables
11
+ 'no-delete-var': 'error',
12
+
13
+ // disallow labels that share a name with a variable
14
+ // https://eslint.org/docs/rules/no-label-var
15
+ 'no-label-var': 'error',
16
+
17
+ // disallow specific globals
18
+ 'no-restricted-globals': [
19
+ 'error',
20
+ {
21
+ name: 'isFinite',
22
+ message:
23
+ 'Use Number.isFinite instead https://github.com/airbnb/javascript#standard-library--isfinite',
24
+ },
25
+ {
26
+ name: 'isNaN',
27
+ message:
28
+ 'Use Number.isNaN instead https://github.com/airbnb/javascript#standard-library--isnan',
29
+ },
30
+ // ...confusingBrowserGlobals.map((g) => ({
31
+ // name: g,
32
+ // message: `Use window.${g} instead. https://github.com/facebook/create-react-app/blob/HEAD/packages/confusing-browser-globals/README.md`,
33
+ // })),
34
+ ],
35
+
36
+ // disallow declaration of variables already declared in the outer scope
37
+ 'no-shadow': 'error',
38
+
39
+ // disallow shadowing of names such as arguments
40
+ 'no-shadow-restricted-names': 'error',
41
+
42
+ // disallow use of undeclared variables unless mentioned in a /*global */ block
43
+ 'no-undef': 'error',
44
+
45
+ // disallow use of undefined when initializing variables
46
+ 'no-undef-init': 'error',
47
+
48
+ // disallow use of undefined variable
49
+ // https://eslint.org/docs/rules/no-undefined
50
+ // TODO: enable?
51
+ 'no-undefined': 'off',
52
+
53
+ // disallow declaration of variables that are not used in the code
54
+ 'no-unused-vars': ['error', { vars: 'all', args: 'after-used', ignoreRestSiblings: true }],
55
+
56
+ // disallow use of variables before they are defined
57
+ 'no-use-before-define': ['error', { functions: true, classes: true, variables: true }],
58
+ } satisfies Linter.RulesRecord);
@@ -1,8 +1,17 @@
1
1
  import { bestPractices } from './esRules/bestPractices.js';
2
2
  import { errors } from './esRules/errors.js';
3
+ import { es6 } from './esRules/es6.js';
3
4
  import { overrides } from './esRules/overrides.js';
5
+ import { strict } from './esRules/strict.js';
6
+ import { variables } from './esRules/variables.js';
7
+
4
8
  export const esRules = () => ({
5
9
  ...bestPractices(),
6
10
  ...errors(),
11
+ ...es6(),
12
+ ...strict(),
13
+ ...variables(),
14
+
15
+ // Must be last
7
16
  ...overrides(),
8
17
  });