@anolilab/eslint-config 11.0.0 → 11.0.2
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/CHANGELOG.md +14 -0
- package/dist/{chunk-UXEQWB3K.js → chunk-MGBRUNOT.js} +2 -2
- package/dist/{chunk-UXEQWB3K.js.map → chunk-MGBRUNOT.js.map} +1 -1
- package/dist/config/errors.js +2 -2
- package/dist/config/plugins/babel.js +2 -2
- package/dist/config/plugins/node.js +2 -2
- package/dist/config/plugins/node.js.map +1 -1
- package/dist/config/plugins/typescript.js +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## @anolilab/eslint-config [11.0.2](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/eslint-config@11.0.1...@anolilab/eslint-config@11.0.2) (2023-07-28)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* Remove 'n/file-extension-in-import' rule from overrides ([3541b6d](https://github.com/anolilab/javascript-style-guide/commit/3541b6d0bf490cc049263159dfce6e1a341cd797))
|
|
7
|
+
|
|
8
|
+
## @anolilab/eslint-config [11.0.1](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/eslint-config@11.0.0...@anolilab/eslint-config@11.0.1) (2023-07-27)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* Change ESLint errors config type to "all" ([3411686](https://github.com/anolilab/javascript-style-guide/commit/3411686a7ef3489c412d66dd4fd7b35a5866ea0a))
|
|
14
|
+
|
|
1
15
|
## @anolilab/eslint-config [11.0.0](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/eslint-config@10.0.6...@anolilab/eslint-config@11.0.0) (2023-07-27)
|
|
2
16
|
|
|
3
17
|
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
var chunkWG6GTAIA_js = require('./chunk-WG6GTAIA.js');
|
|
4
4
|
|
|
5
|
-
var o=chunkWG6GTAIA_js.b([{config:{rules:{"for-direction":"error","getter-return":["error",{allowImplicit:!0}],"no-async-promise-executor":"error","no-await-in-loop":"error","no-compare-neg-zero":"error","no-cond-assign":["error","always"],"no-console":"warn","no-constant-condition":"warn","no-control-regex":"error","no-debugger":"error","no-dupe-args":"error","no-dupe-else-if":"error","no-dupe-keys":"error","no-duplicate-case":"error","no-empty":"error","no-empty-character-class":"error","no-ex-assign":"error","no-extra-boolean-cast":"error","no-extra-parens":["error","all",{conditionalAssign:!0,enforceForArrowConditionals:!1,ignoreJSX:"all",nestedBinaryExpressions:!1,returnAssign:!1}],"no-extra-semi":"error","no-func-assign":"error","no-import-assign":"error","no-inner-declarations":"error","no-invalid-regexp":"error","no-irregular-whitespace":"error","no-loss-of-precision":"error","no-misleading-character-class":"error","no-negated-in-lhs":"off","no-obj-calls":"error","no-promise-executor-return":"error","no-prototype-builtins":"error","no-regex-spaces":"error","no-setter-return":"error","no-sparse-arrays":"error","no-template-curly-in-string":"error","no-unexpected-multiline":"error","no-unreachable":"error","no-unreachable-loop":"off","no-unsafe-finally":"error","no-unsafe-negation":"error","no-unsafe-optional-chaining":["error",{disallowArithmeticOperators:!0}],"no-useless-backreference":"error","require-atomic-updates":"off","use-isnan":"error","valid-jsdoc":"off","valid-typeof":["error",{requireStringLiterals:!0}]}},type:"
|
|
5
|
+
var o=chunkWG6GTAIA_js.b([{config:{rules:{"for-direction":"error","getter-return":["error",{allowImplicit:!0}],"no-async-promise-executor":"error","no-await-in-loop":"error","no-compare-neg-zero":"error","no-cond-assign":["error","always"],"no-console":"warn","no-constant-condition":"warn","no-control-regex":"error","no-debugger":"error","no-dupe-args":"error","no-dupe-else-if":"error","no-dupe-keys":"error","no-duplicate-case":"error","no-empty":"error","no-empty-character-class":"error","no-ex-assign":"error","no-extra-boolean-cast":"error","no-extra-parens":["error","all",{conditionalAssign:!0,enforceForArrowConditionals:!1,ignoreJSX:"all",nestedBinaryExpressions:!1,returnAssign:!1}],"no-extra-semi":"error","no-func-assign":"error","no-import-assign":"error","no-inner-declarations":"error","no-invalid-regexp":"error","no-irregular-whitespace":"error","no-loss-of-precision":"error","no-misleading-character-class":"error","no-negated-in-lhs":"off","no-obj-calls":"error","no-promise-executor-return":"error","no-prototype-builtins":"error","no-regex-spaces":"error","no-setter-return":"error","no-sparse-arrays":"error","no-template-curly-in-string":"error","no-unexpected-multiline":"error","no-unreachable":"error","no-unreachable-loop":"off","no-unsafe-finally":"error","no-unsafe-negation":"error","no-unsafe-optional-chaining":["error",{disallowArithmeticOperators:!0}],"no-useless-backreference":"error","require-atomic-updates":"off","use-isnan":"error","valid-jsdoc":"off","valid-typeof":["error",{requireStringLiterals:!0}]}},type:"all"},{config:{rules:{"no-array-constructor":"off","no-const-assign":"off","no-dupe-args":"off","no-dupe-class-members":"off","no-dupe-keys":"off","no-empty-function":"off","no-extra-parens":"off","no-extra-semi":"off","no-func-assign":"off","no-implied-eval":"off","no-loop-func":"off","no-magic-numbers":"off","no-new-func":"off","no-new-symbol":"off","no-obj-calls":"off","no-redeclare":"off","no-return-await":"off","no-shadow":"off","no-this-before-super":"off","no-throw-literal":"off","no-undef":"off","no-unreachable":"off","no-unsafe-negation":"off","no-unused-expressions":"off","no-unused-vars":"off","no-use-before-define":"off","no-useless-constructor":"off","space-before-function-paren":"off","space-infix-ops":"off","valid-typeof":"off"}},type:"typescript"}]),n=o;
|
|
6
6
|
|
|
7
7
|
exports.a = n;
|
|
8
8
|
//# sourceMappingURL=out.js.map
|
|
9
|
-
//# sourceMappingURL=chunk-
|
|
9
|
+
//# sourceMappingURL=chunk-MGBRUNOT.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/config/errors.ts"],"names":["config","createConfigs","errors_default"],"mappings":"wCAGA,IAAMA,EAAwBC,EAAc,CACxC,CACI,OAAQ,CACJ,MAAO,CAGH,gBAAiB,QAIjB,gBAAiB,CAAC,QAAS,CAAE,cAAe,EAAK,CAAC,EAIlD,4BAA6B,QAI7B,mBAAoB,QAIpB,sBAAuB,QAGvB,iBAAkB,CAAC,QAAS,QAAQ,EAGpC,aAAc,OAGd,wBAAyB,OAGzB,mBAAoB,QAGpB,cAAe,QAGf,eAAgB,QAIhB,kBAAmB,QAGnB,eAAgB,QAGhB,oBAAqB,QAGrB,WAAY,QAGZ,2BAA4B,QAG5B,eAAgB,QAIhB,wBAAyB,QAIzB,kBAAmB,CACf,QACA,MACA,CACI,kBAAmB,GACnB,4BAA6B,GAC7B,UAAW,MACX,wBAAyB,GACzB,aAAc,EAClB,CACJ,EAGA,gBAAiB,QAGjB,iBAAkB,QAGlB,mBAAoB,QAGpB,wBAAyB,QAGzB,oBAAqB,QAGrB,0BAA2B,QAI3B,uBAAwB,QAIxB,gCAAiC,QAGjC,oBAAqB,MAIrB,eAAgB,QAIhB,6BAA8B,QAG9B,wBAAyB,QAIzB,kBAAmB,QAGnB,mBAAoB,QAIpB,mBAAoB,QAIpB,8BAA+B,QAG/B,0BAA2B,QAI3B,iBAAkB,QAIlB,sBAAuB,MAIvB,oBAAqB,QAIrB,qBAAsB,QAItB,8BAA+B,CAAC,QAAS,CAAE,4BAA6B,EAAK,CAAC,EAI9E,2BAA4B,QAK5B,yBAA0B,MAG1B,YAAa,QAIb,cAAe,MAIf,eAAgB,CAAC,QAAS,CAAE,sBAAuB,EAAK,CAAC,CAC7D,CACJ,EACA,KAAM,YACV,EACA,CACI,OAAQ,CACJ,MAAO,CAIH,uBAAwB,MAGxB,kBAAmB,MAGnB,eAAgB,MAIhB,wBAAyB,MAGzB,eAAgB,MAIhB,oBAAqB,MAIrB,kBAAmB,MAInB,gBAAiB,MAGjB,iBAAkB,MAIlB,kBAAmB,MAInB,eAAgB,MAIhB,mBAAoB,MAGpB,cAAe,MAGf,gBAAiB,MAGjB,eAAgB,MAIhB,eAAgB,MAIhB,kBAAmB,MAInB,YAAa,MAGb,uBAAwB,MAIxB,mBAAoB,MAGpB,WAAY,MAGZ,iBAAkB,MAGlB,qBAAsB,MAItB,wBAAyB,MAIzB,iBAAkB,MAIlB,uBAAwB,MAIxB,yBAA0B,MAI1B,8BAA+B,MAI/B,kBAAmB,MAEnB,eAAgB,KACpB,CACJ,EACA,KAAM,YACV,CACJ,CAAC,EAEMC,EAAQF","sourcesContent":["import type { Linter } from \"eslint\";\nimport { createConfigs } from \"../utils/create-config\";\n\nconst config: Linter.Config = createConfigs([\n {\n config: {\n rules: {\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 // 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\": [\n \"error\",\n \"all\",\n {\n conditionalAssign: true,\n enforceForArrowConditionals: false,\n ignoreJSX: \"all\", // delegate to eslint-plugin-react\n nestedBinaryExpressions: false,\n returnAssign: false,\n },\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 // deprecated in favor of no-unsafe-negation\n \"no-negated-in-lhs\": \"off\",\n\n // Disallow returning values from Promise executor functions\n // disallow the use of object properties of the global object (Math and JSON) as functions\n \"no-obj-calls\": \"error\",\n\n // disallow use of Object.prototypes builtins directly\n // https://eslint.org/docs/rules/no-promise-executor-return\n \"no-promise-executor-return\": \"error\",\n\n // https://eslint.org/docs/rules/no-prototype-builtins\n \"no-prototype-builtins\": \"error\",\n\n // Disallow returning values from setters\n // disallow multiple spaces in a regular expression literal\n \"no-regex-spaces\": \"error\",\n\n // https://eslint.org/docs/rules/no-setter-return\n \"no-setter-return\": \"error\",\n\n // Disallow template literal placeholder syntax in regular strings\n // disallow sparse arrays\n \"no-sparse-arrays\": \"error\",\n\n // Avoid code that looks like two expressions but is actually one\n // https://eslint.org/docs/rules/no-template-curly-in-string\n \"no-template-curly-in-string\": \"error\",\n\n // https://eslint.org/docs/rules/no-unexpected-multiline\n \"no-unexpected-multiline\": \"error\",\n\n // Disallow loops with a body that allows only one iteration\n // disallow unreachable statements after a return, throw, continue, or break statement\n \"no-unreachable\": \"error\",\n\n // disallow return/throw/break/continue inside finally blocks\n // https://eslint.org/docs/rules/no-unreachable-loop\n \"no-unreachable-loop\": \"off\", // error with typescript\n\n // disallow negating the left operand of relational operators\n // https://eslint.org/docs/rules/no-unsafe-finally\n \"no-unsafe-finally\": \"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-negation\n \"no-unsafe-negation\": \"error\",\n\n // Disallow useless backreferences in regular expressions\n // https://eslint.org/docs/rules/no-unsafe-optional-chaining\n \"no-unsafe-optional-chaining\": [\"error\", { disallowArithmeticOperators: true }],\n\n // disallow negation of the left operand of an in expression\n // https://eslint.org/docs/rules/no-useless-backreference\n \"no-useless-backreference\": \"error\",\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 },\n },\n type: \"javascript\",\n },\n {\n config: {\n rules: {\n // Some built-in types have aliases, while some types are considered dangerous or harmful.\n // https://github.com/typescript-eslint/typescript-eslint/tree/main/packages/eslint-plugin/docs/rules/ban-types.md\n // https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-array-constructor.md\n \"no-array-constructor\": \"off\",\n\n // Enforce constituents of a type union/intersection to be sorted alphabetically.\n \"no-const-assign\": \"off\",\n\n // Enforce using @ts-expect-error over @ts-ignore.\n \"no-dupe-args\": \"off\",\n\n // Enforce specifying generic type arguments on constructor name of a constructor call.\n // https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-dupe-class-members.md\n \"no-dupe-class-members\": \"off\",\n\n // Require explicit accessibility modifiers on class properties and methods.\n \"no-dupe-keys\": \"off\",\n\n // Require explicit return and argument types on exported functions' and classes' public class methods.\n // https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-empty-function.md\n \"no-empty-function\": \"off\",\n\n // Enforce using a particular method signature syntax.\n // https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-extra-parens.md\n \"no-extra-parens\": \"off\",\n\n // Disallow non-null assertion in locations that may be confusing.\n // https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-extra-semi.md\n \"no-extra-semi\": \"off\",\n\n // Disallow duplicate enum member values.\n \"no-func-assign\": \"off\",\n\n // Disallow using to delete operator on computed key expressions.\n // Disable the \"no-implied-eval\" and \"no-new-func\" rule, as it can report incorrect errors on TypeScript code\n \"no-implied-eval\": \"off\",\n\n // Disallow extra non-null assertions.\n // https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-loop-func.md\n \"no-loop-func\": \"off\",\n\n // Disallow void type outside of generic or return types.\n // https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-magic-numbers.md\n \"no-magic-numbers\": \"off\",\n\n // Enforce valid definition of new and constructor.\n \"no-new-func\": \"off\",\n\n // Disallow TypeScript namespaces.\n \"no-new-symbol\": \"off\",\n\n // Disallow non-null assertions in the left operand of a nullish coalescing operator.\n \"no-obj-calls\": \"off\",\n\n // Disallow non-null assertions after an optional chain expression.\n // https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-redeclare.md\n \"no-redeclare\": \"off\",\n\n // Disallow non-null assertions using the ! postfix operator.\n // https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/return-await.md\n \"no-return-await\": \"off\",\n\n // Disallow invocation of require().\n // https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-shadow.md\n \"no-shadow\": \"off\",\n\n // Disallow aliasing this.\n \"no-this-before-super\": \"off\",\n\n // Disallow type assertions that do not change the type of expression.\n // Disable the \"no-throw-literal\" rule, as it can report incorrect errors on TypeScript code\n \"no-throw-literal\": \"off\",\n\n // Disallow unnecessary constraints on generic types.\n \"no-undef\": \"off\",\n\n // Disallow calling a function with a value with type any.\n \"no-unreachable\": \"off\",\n\n // Disallow assigning a value with type any to variables and properties.\n \"no-unsafe-negation\": \"off\",\n\n // Disallow calling a value with type any.\n // https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-unused-expressions.md\n \"no-unused-expressions\": \"off\",\n\n // Disallow unsafe declaration merging.\n // https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-unused-vars.md\n \"no-unused-vars\": \"off\",\n\n // Disallow member access on a value with type any.\n // https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-use-before-define.md\n \"no-use-before-define\": \"off\",\n\n // Disallow returning a value with type any from a function.\n // https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-useless-constructor.md\n \"no-useless-constructor\": \"off\",\n\n // Enforce using function types instead of interfaces with call signatures.\n // https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/space-before-function-paren.md\n \"space-before-function-paren\": \"off\",\n\n // Enforce using the nullish coalescing operator instead of logical chaining.\n // https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/space-infix-ops.md\n \"space-infix-ops\": \"off\",\n\n \"valid-typeof\": \"off\",\n },\n },\n type: \"typescript\",\n },\n]);\n\nexport default config;\n"]}
|
|
1
|
+
{"version":3,"sources":["../src/config/errors.ts"],"names":["config","createConfigs","errors_default"],"mappings":"wCAGA,IAAMA,EAAwBC,EAAc,CACxC,CACI,OAAQ,CACJ,MAAO,CAGH,gBAAiB,QAIjB,gBAAiB,CAAC,QAAS,CAAE,cAAe,EAAK,CAAC,EAIlD,4BAA6B,QAI7B,mBAAoB,QAIpB,sBAAuB,QAGvB,iBAAkB,CAAC,QAAS,QAAQ,EAGpC,aAAc,OAGd,wBAAyB,OAGzB,mBAAoB,QAGpB,cAAe,QAGf,eAAgB,QAIhB,kBAAmB,QAGnB,eAAgB,QAGhB,oBAAqB,QAGrB,WAAY,QAGZ,2BAA4B,QAG5B,eAAgB,QAIhB,wBAAyB,QAIzB,kBAAmB,CACf,QACA,MACA,CACI,kBAAmB,GACnB,4BAA6B,GAC7B,UAAW,MACX,wBAAyB,GACzB,aAAc,EAClB,CACJ,EAGA,gBAAiB,QAGjB,iBAAkB,QAGlB,mBAAoB,QAGpB,wBAAyB,QAGzB,oBAAqB,QAGrB,0BAA2B,QAI3B,uBAAwB,QAIxB,gCAAiC,QAGjC,oBAAqB,MAIrB,eAAgB,QAIhB,6BAA8B,QAG9B,wBAAyB,QAIzB,kBAAmB,QAGnB,mBAAoB,QAIpB,mBAAoB,QAIpB,8BAA+B,QAG/B,0BAA2B,QAI3B,iBAAkB,QAIlB,sBAAuB,MAIvB,oBAAqB,QAIrB,qBAAsB,QAItB,8BAA+B,CAAC,QAAS,CAAE,4BAA6B,EAAK,CAAC,EAI9E,2BAA4B,QAK5B,yBAA0B,MAG1B,YAAa,QAIb,cAAe,MAIf,eAAgB,CAAC,QAAS,CAAE,sBAAuB,EAAK,CAAC,CAC7D,CACJ,EACA,KAAM,KACV,EACA,CACI,OAAQ,CACJ,MAAO,CAIH,uBAAwB,MAGxB,kBAAmB,MAGnB,eAAgB,MAIhB,wBAAyB,MAGzB,eAAgB,MAIhB,oBAAqB,MAIrB,kBAAmB,MAInB,gBAAiB,MAGjB,iBAAkB,MAIlB,kBAAmB,MAInB,eAAgB,MAIhB,mBAAoB,MAGpB,cAAe,MAGf,gBAAiB,MAGjB,eAAgB,MAIhB,eAAgB,MAIhB,kBAAmB,MAInB,YAAa,MAGb,uBAAwB,MAIxB,mBAAoB,MAGpB,WAAY,MAGZ,iBAAkB,MAGlB,qBAAsB,MAItB,wBAAyB,MAIzB,iBAAkB,MAIlB,uBAAwB,MAIxB,yBAA0B,MAI1B,8BAA+B,MAI/B,kBAAmB,MAEnB,eAAgB,KACpB,CACJ,EACA,KAAM,YACV,CACJ,CAAC,EAEMC,EAAQF","sourcesContent":["import type { Linter } from \"eslint\";\nimport { createConfigs } from \"../utils/create-config\";\n\nconst config: Linter.Config = createConfigs([\n {\n config: {\n rules: {\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 // 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\": [\n \"error\",\n \"all\",\n {\n conditionalAssign: true,\n enforceForArrowConditionals: false,\n ignoreJSX: \"all\", // delegate to eslint-plugin-react\n nestedBinaryExpressions: false,\n returnAssign: false,\n },\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 // deprecated in favor of no-unsafe-negation\n \"no-negated-in-lhs\": \"off\",\n\n // Disallow returning values from Promise executor functions\n // disallow the use of object properties of the global object (Math and JSON) as functions\n \"no-obj-calls\": \"error\",\n\n // disallow use of Object.prototypes builtins directly\n // https://eslint.org/docs/rules/no-promise-executor-return\n \"no-promise-executor-return\": \"error\",\n\n // https://eslint.org/docs/rules/no-prototype-builtins\n \"no-prototype-builtins\": \"error\",\n\n // Disallow returning values from setters\n // disallow multiple spaces in a regular expression literal\n \"no-regex-spaces\": \"error\",\n\n // https://eslint.org/docs/rules/no-setter-return\n \"no-setter-return\": \"error\",\n\n // Disallow template literal placeholder syntax in regular strings\n // disallow sparse arrays\n \"no-sparse-arrays\": \"error\",\n\n // Avoid code that looks like two expressions but is actually one\n // https://eslint.org/docs/rules/no-template-curly-in-string\n \"no-template-curly-in-string\": \"error\",\n\n // https://eslint.org/docs/rules/no-unexpected-multiline\n \"no-unexpected-multiline\": \"error\",\n\n // Disallow loops with a body that allows only one iteration\n // disallow unreachable statements after a return, throw, continue, or break statement\n \"no-unreachable\": \"error\",\n\n // disallow return/throw/break/continue inside finally blocks\n // https://eslint.org/docs/rules/no-unreachable-loop\n \"no-unreachable-loop\": \"off\", // error with typescript\n\n // disallow negating the left operand of relational operators\n // https://eslint.org/docs/rules/no-unsafe-finally\n \"no-unsafe-finally\": \"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-negation\n \"no-unsafe-negation\": \"error\",\n\n // Disallow useless backreferences in regular expressions\n // https://eslint.org/docs/rules/no-unsafe-optional-chaining\n \"no-unsafe-optional-chaining\": [\"error\", { disallowArithmeticOperators: true }],\n\n // disallow negation of the left operand of an in expression\n // https://eslint.org/docs/rules/no-useless-backreference\n \"no-useless-backreference\": \"error\",\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 },\n },\n type: \"all\",\n },\n {\n config: {\n rules: {\n // Some built-in types have aliases, while some types are considered dangerous or harmful.\n // https://github.com/typescript-eslint/typescript-eslint/tree/main/packages/eslint-plugin/docs/rules/ban-types.md\n // https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-array-constructor.md\n \"no-array-constructor\": \"off\",\n\n // Enforce constituents of a type union/intersection to be sorted alphabetically.\n \"no-const-assign\": \"off\",\n\n // Enforce using @ts-expect-error over @ts-ignore.\n \"no-dupe-args\": \"off\",\n\n // Enforce specifying generic type arguments on constructor name of a constructor call.\n // https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-dupe-class-members.md\n \"no-dupe-class-members\": \"off\",\n\n // Require explicit accessibility modifiers on class properties and methods.\n \"no-dupe-keys\": \"off\",\n\n // Require explicit return and argument types on exported functions' and classes' public class methods.\n // https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-empty-function.md\n \"no-empty-function\": \"off\",\n\n // Enforce using a particular method signature syntax.\n // https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-extra-parens.md\n \"no-extra-parens\": \"off\",\n\n // Disallow non-null assertion in locations that may be confusing.\n // https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-extra-semi.md\n \"no-extra-semi\": \"off\",\n\n // Disallow duplicate enum member values.\n \"no-func-assign\": \"off\",\n\n // Disallow using to delete operator on computed key expressions.\n // Disable the \"no-implied-eval\" and \"no-new-func\" rule, as it can report incorrect errors on TypeScript code\n \"no-implied-eval\": \"off\",\n\n // Disallow extra non-null assertions.\n // https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-loop-func.md\n \"no-loop-func\": \"off\",\n\n // Disallow void type outside of generic or return types.\n // https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-magic-numbers.md\n \"no-magic-numbers\": \"off\",\n\n // Enforce valid definition of new and constructor.\n \"no-new-func\": \"off\",\n\n // Disallow TypeScript namespaces.\n \"no-new-symbol\": \"off\",\n\n // Disallow non-null assertions in the left operand of a nullish coalescing operator.\n \"no-obj-calls\": \"off\",\n\n // Disallow non-null assertions after an optional chain expression.\n // https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-redeclare.md\n \"no-redeclare\": \"off\",\n\n // Disallow non-null assertions using the ! postfix operator.\n // https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/return-await.md\n \"no-return-await\": \"off\",\n\n // Disallow invocation of require().\n // https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-shadow.md\n \"no-shadow\": \"off\",\n\n // Disallow aliasing this.\n \"no-this-before-super\": \"off\",\n\n // Disallow type assertions that do not change the type of expression.\n // Disable the \"no-throw-literal\" rule, as it can report incorrect errors on TypeScript code\n \"no-throw-literal\": \"off\",\n\n // Disallow unnecessary constraints on generic types.\n \"no-undef\": \"off\",\n\n // Disallow calling a function with a value with type any.\n \"no-unreachable\": \"off\",\n\n // Disallow assigning a value with type any to variables and properties.\n \"no-unsafe-negation\": \"off\",\n\n // Disallow calling a value with type any.\n // https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-unused-expressions.md\n \"no-unused-expressions\": \"off\",\n\n // Disallow unsafe declaration merging.\n // https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-unused-vars.md\n \"no-unused-vars\": \"off\",\n\n // Disallow member access on a value with type any.\n // https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-use-before-define.md\n \"no-use-before-define\": \"off\",\n\n // Disallow returning a value with type any from a function.\n // https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-useless-constructor.md\n \"no-useless-constructor\": \"off\",\n\n // Enforce using function types instead of interfaces with call signatures.\n // https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/space-before-function-paren.md\n \"space-before-function-paren\": \"off\",\n\n // Enforce using the nullish coalescing operator instead of logical chaining.\n // https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/space-infix-ops.md\n \"space-infix-ops\": \"off\",\n\n \"valid-typeof\": \"off\",\n },\n },\n type: \"typescript\",\n },\n]);\n\nexport default config;\n"]}
|
package/dist/config/errors.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkMGBRUNOT_js = require('../chunk-MGBRUNOT.js');
|
|
4
4
|
require('../chunk-WG6GTAIA.js');
|
|
5
5
|
require('../chunk-3NVDJZNH.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
module.exports =
|
|
9
|
+
module.exports = chunkMGBRUNOT_js.a;
|
|
10
10
|
//# sourceMappingURL=out.js.map
|
|
11
11
|
//# sourceMappingURL=errors.js.map
|
|
@@ -4,12 +4,12 @@ var chunkCATTWGKB_js = require('../../chunk-CATTWGKB.js');
|
|
|
4
4
|
require('../../chunk-O7JDC6TD.js');
|
|
5
5
|
require('../../chunk-OCCLNRZC.js');
|
|
6
6
|
var chunk2L7ILCIC_js = require('../../chunk-2L7ILCIC.js');
|
|
7
|
-
var
|
|
7
|
+
var chunkMGBRUNOT_js = require('../../chunk-MGBRUNOT.js');
|
|
8
8
|
var chunkWG6GTAIA_js = require('../../chunk-WG6GTAIA.js');
|
|
9
9
|
require('../../chunk-3NVDJZNH.js');
|
|
10
10
|
var packageJsonUtils = require('@anolilab/package-json-utils');
|
|
11
11
|
|
|
12
|
-
var n=chunk2L7ILCIC_js.a.rules,r=
|
|
12
|
+
var n=chunk2L7ILCIC_js.a.rules,r=chunkMGBRUNOT_js.a.rules,e=chunkCATTWGKB_js.a.rules;global.anolilabEslintConfigBabelPrettierRules===void 0&&(packageJsonUtils.hasDependency("prettier")||packageJsonUtils.hasDevDependency("prettier"))&&(global.anolilabEslintConfigBabelPrettierRules={"@babel/object-curly-spacing":"off","@babel/semi":"off","babel/quotes":0});var f=chunkWG6GTAIA_js.a("all",{plugins:["babel"],rules:{"babel/camelcase":[...e.camelcase],"babel/new-cap":e["new-cap"],"babel/no-invalid-this":n["no-invalid-this"],"babel/no-unused-expressions":n["no-unused-expressions"],"babel/object-curly-spacing":e["object-curly-spacing"],"babel/quotes":e.quotes,"babel/semi":e.semi,"babel/valid-typeof":r["valid-typeof"],camelcase:"off","new-cap":"off","no-invalid-this":"off","no-unused-expressions":"off","object-curly-spacing":"off",quotes:"off",semi:"off","valid-typeof":"off",...global.anolilabEslintConfigBabelPrettierRules}}),d=f;
|
|
13
13
|
|
|
14
14
|
module.exports = d;
|
|
15
15
|
//# sourceMappingURL=out.js.map
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
require('../../chunk-3NVDJZNH.js');
|
|
4
4
|
var packageJsonUtils = require('@anolilab/package-json-utils');
|
|
5
5
|
|
|
6
|
-
if(global.anolilabEslintConfigNodeRules===void 0&&packageJsonUtils.pkg?.engines?.node){let
|
|
6
|
+
if(global.anolilabEslintConfigNodeRules===void 0&&packageJsonUtils.pkg?.engines?.node){let n=packageJsonUtils.pkg.engines.node;global.anolilabEslintConfigNodeRules={"n/no-unsupported-features/es-builtins":["error",{version:n}],"n/no-unsupported-features/es-syntax":["error",{ignores:["modules"],version:n}],"n/no-unsupported-features/node-builtins":["error",{version:n}]};}var o={env:{node:!0},extends:["plugin:n/recommended"],parserOptions:{ecmaVersion:2021},plugins:["n"],rules:{"global-require":"error","n/callback-return":"off","n/file-extension-in-import":"off","n/handle-callback-err":"off","n/no-extraneous-import":"off","n/no-extraneous-require":"off","n/no-missing-import":"off","n/no-missing-require":"off","n/no-mixed-requires":["error",{allowCall:!0,grouping:!0}],"n/no-new-require":"error","n/no-process-env":"off","n/no-process-exit":"off","n/no-restricted-modules":"off","n/no-sync":"off","n/no-unpublished-bin":"error","n/process-exit-as-throw":"error","no-buffer-constructor":"error","no-path-concat":"error",...global.anolilabEslintConfigNodeRules}},i=o;
|
|
7
7
|
|
|
8
|
-
module.exports =
|
|
8
|
+
module.exports = i;
|
|
9
9
|
//# sourceMappingURL=out.js.map
|
|
10
10
|
//# sourceMappingURL=node.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/config/plugins/node.ts"],"names":["pkg","version","config","node_default"],"mappings":"gCAAA,OAAS,OAAAA,MAAW,+BAGpB,GAAI,OAAO,gCAAkC,QAAaA,GAAK,SAAU,KAAS,CAC9E,IAAMC,EAAkBD,EAAI,QAAQ,KAEpC,OAAO,8BAAgC,CACnC,wCAAyC,CAAC,QAAS,CAAE,QAAAC,CAAQ,CAAC,EAC9D,sCAAuC,CAAC,QAAS,CAAE,QAAS,CAAC,SAAS,EAAG,QAAAA,CAAQ,CAAC,EAClF,0CAA2C,CAAC,QAAS,CAAE,QAAAA,CAAQ,CAAC,CACpE,CACJ,CAGA,IAAMC,EAAwB,CAC1B,IAAK,CACD,KAAM,EACV,EACA,QAAS,CAAC,sBAAsB,EAChC,
|
|
1
|
+
{"version":3,"sources":["../../../src/config/plugins/node.ts"],"names":["pkg","version","config","node_default"],"mappings":"gCAAA,OAAS,OAAAA,MAAW,+BAGpB,GAAI,OAAO,gCAAkC,QAAaA,GAAK,SAAU,KAAS,CAC9E,IAAMC,EAAkBD,EAAI,QAAQ,KAEpC,OAAO,8BAAgC,CACnC,wCAAyC,CAAC,QAAS,CAAE,QAAAC,CAAQ,CAAC,EAC9D,sCAAuC,CAAC,QAAS,CAAE,QAAS,CAAC,SAAS,EAAG,QAAAA,CAAQ,CAAC,EAClF,0CAA2C,CAAC,QAAS,CAAE,QAAAA,CAAQ,CAAC,CACpE,CACJ,CAGA,IAAMC,EAAwB,CAC1B,IAAK,CACD,KAAM,EACV,EACA,QAAS,CAAC,sBAAsB,EAChC,cAAe,CACX,YAAa,IACjB,EACA,QAAS,CAAC,GAAG,EACb,MAAO,CAEH,iBAAkB,QAElB,oBAAqB,MAIrB,6BAA8B,MAG9B,wBAAyB,MAGzB,yBAA0B,MAG1B,0BAA2B,MAI3B,sBAAuB,MAGvB,uBAAwB,MAIxB,sBAAuB,CACnB,QACA,CACI,UAAW,GACX,SAAU,EACd,CACJ,EAGA,mBAAoB,QAGpB,mBAAoB,MAIpB,oBAAqB,MAGrB,0BAA2B,MAI3B,YAAa,MAGb,uBAAwB,QAGxB,0BAA2B,QAG3B,wBAAyB,QAGzB,iBAAkB,QAElB,GAAG,OAAO,6BACd,CACJ,EAEOC,EAAQD","sourcesContent":["import { pkg } from \"@anolilab/package-json-utils\";\nimport type { Linter } from \"eslint\";\n\nif (global.anolilabEslintConfigNodeRules === undefined && pkg?.engines?.[\"node\"]) {\n const version: string = pkg.engines[\"node\"];\n\n global.anolilabEslintConfigNodeRules = {\n \"n/no-unsupported-features/es-builtins\": [\"error\", { version }],\n \"n/no-unsupported-features/es-syntax\": [\"error\", { ignores: [\"modules\"], version }],\n \"n/no-unsupported-features/node-builtins\": [\"error\", { version }],\n };\n}\n\n// @see https://github.com/eslint-community/eslint-plugin-n\nconst config: Linter.Config = {\n env: {\n node: true,\n },\n extends: [\"plugin:n/recommended\"],\n parserOptions: {\n ecmaVersion: 2021,\n },\n plugins: [\"n\"],\n rules: {\n // https://eslint.org/docs/rules/global-require\n \"global-require\": \"error\",\n // enforce return after a callback\n \"n/callback-return\": \"off\",\n\n // enforce the style of file extensions in import declarations\n // This rule is buggy @see https://github.com/eslint-community/eslint-plugin-n/issues/21\n \"n/file-extension-in-import\": \"off\",\n\n // enforces error handling in callbacks (node environment)\n \"n/handle-callback-err\": \"off\",\n\n // Redundant with `import/no-extraneous-dependencies`.\n \"n/no-extraneous-import\": \"off\",\n\n // disallow require() expressions which import extraneous modules\n \"n/no-extraneous-require\": \"off\",\n\n // require all requires be top-level\n // Redundant with `import/no-unresolved`.\n \"n/no-missing-import\": \"off\", // This rule is also buggy and doesn't support `node:`.\n\n // disallow require() expressions which import non-existence modules\n \"n/no-missing-require\": \"off\",\n\n // disallow use of the Buffer() constructor\n // disallow mixing regular variable and require declarations\n \"n/no-mixed-requires\": [\n \"error\",\n {\n allowCall: true,\n grouping: true,\n },\n ],\n\n // disallow use of new operator with the require function\n \"n/no-new-require\": \"error\",\n\n // disallow use of process.env\n \"n/no-process-env\": \"off\",\n\n // disallow string concatenation with __dirname and __filename\n // unicorn/no-process-exit is enabled instead.\n \"n/no-process-exit\": \"off\",\n\n // restrict usage of specified node modules\n \"n/no-restricted-modules\": \"off\",\n\n // disallow process.exit()\n // disallow use of synchronous methods (off by default)\n \"n/no-sync\": \"off\",\n\n // disallow bin files that npm ignores\n \"n/no-unpublished-bin\": \"error\",\n\n // require that process.exit() expressions use the same code path as throw\n \"n/process-exit-as-throw\": \"error\",\n\n // https://eslint.org/docs/rules/no-buffer-constructor\n \"no-buffer-constructor\": \"error\",\n\n // https://eslint.org/docs/rules/no-path-concat\n \"no-path-concat\": \"error\",\n\n ...global.anolilabEslintConfigNodeRules,\n },\n};\n\nexport default config;\n"]}
|
|
@@ -6,13 +6,13 @@ var chunkCATTWGKB_js = require('../../chunk-CATTWGKB.js');
|
|
|
6
6
|
require('../../chunk-O7JDC6TD.js');
|
|
7
7
|
var chunkOCCLNRZC_js = require('../../chunk-OCCLNRZC.js');
|
|
8
8
|
var chunk2L7ILCIC_js = require('../../chunk-2L7ILCIC.js');
|
|
9
|
-
var
|
|
9
|
+
var chunkMGBRUNOT_js = require('../../chunk-MGBRUNOT.js');
|
|
10
10
|
var chunkWG6GTAIA_js = require('../../chunk-WG6GTAIA.js');
|
|
11
11
|
require('../../chunk-3NVDJZNH.js');
|
|
12
12
|
var packageJsonUtils = require('@anolilab/package-json-utils');
|
|
13
13
|
var process = require('process');
|
|
14
14
|
|
|
15
|
-
var t=chunk2L7ILCIC_js.a.rules,y=
|
|
15
|
+
var t=chunk2L7ILCIC_js.a.rules,y=chunkMGBRUNOT_js.a.overrides[0].rules,e=chunkCATTWGKB_js.a.overrides[0].rules,f=chunkKKHL2OSJ_js.a.rules,n=chunkZFO6DTP4_js.a.rules,{indent:b,quotes:x,semi:R}=e;global.anolilabEslintConfigTypescriptPrettierRules===void 0&&(packageJsonUtils.hasDependency("prettier")||packageJsonUtils.hasDevDependency("prettier"))&&(global.anolilabEslintConfigTypescriptPrettierRules={"@typescript-eslint/block-spacing":"off","@typescript-eslint/brace-style":"off","@typescript-eslint/comma-dangle":"off","@typescript-eslint/comma-spacing":"off","@typescript-eslint/func-call-spacing":"off","@typescript-eslint/indent":"off","@typescript-eslint/key-spacing":"off","@typescript-eslint/keyword-spacing":"off","@typescript-eslint/lines-around-comment":0,"@typescript-eslint/member-delimiter-style":"off","@typescript-eslint/no-extra-parens":"off","@typescript-eslint/no-extra-semi":"off","@typescript-eslint/object-curly-spacing":"off","@typescript-eslint/quotes":0,"@typescript-eslint/semi":"off","@typescript-eslint/space-before-blocks":"off","@typescript-eslint/space-before-function-paren":"off","@typescript-eslint/space-infix-ops":"off","@typescript-eslint/type-annotation-spacing":"off"});var s=e["comma-dangle"],u=process.env.DISABLE_ESLINT_WARN_UNSUPPORTED_TYPESCRIPT_VERSION!=="true";chunkOCCLNRZC_js.a.warn_on_unsupported_typescript_version!==void 0&&(u=chunkOCCLNRZC_js.a.warn_on_unsupported_typescript_version);var C=chunkWG6GTAIA_js.b([{config:{extends:["plugin:@typescript-eslint/recommended","plugin:@typescript-eslint/stylistic","plugin:@typescript-eslint/strict"],parser:"@typescript-eslint/parser",parserOptions:{ecmaFeatures:{jsx:!0},sourceType:"module",warnOnUnsupportedTypeScriptVersion:u},plugins:["@typescript-eslint"],rules:{"@typescript-eslint/adjacent-overload-signatures":"off","@typescript-eslint/array-type":["error",{default:"array",readonly:"generic"}],"@typescript-eslint/ban-types":["error",{types:{Array:{message:"Provide a more specific type"},Boolean:{fixWith:"boolean",message:"Use boolean instead"},Number:{fixWith:"number",message:"Use number instead"},Object:{fixWith:"object",message:"Use object instead"},String:{fixWith:"string",message:"Use string instead"}}}],"@typescript-eslint/brace-style":e["brace-style"],"@typescript-eslint/comma-dangle":[s[0],{...s[1],enums:s[1].arrays,generics:s[1].arrays,tuples:s[1].arrays}],"@typescript-eslint/comma-spacing":e["comma-spacing"],"@typescript-eslint/consistent-generic-constructors":"error","@typescript-eslint/consistent-type-imports":"error","@typescript-eslint/explicit-member-accessibility":"error","@typescript-eslint/explicit-module-boundary-types":"error","@typescript-eslint/func-call-spacing":e["func-call-spacing"],"@typescript-eslint/indent":b,"@typescript-eslint/keyword-spacing":e["keyword-spacing"],"@typescript-eslint/lines-between-class-members":["error","always",{exceptAfterSingleLine:!1}],"@typescript-eslint/member-ordering":"off","@typescript-eslint/method-signature-style":"error","@typescript-eslint/naming-convention":["error",{format:["camelCase","PascalCase","UPPER_CASE"],selector:"variable"},{format:["camelCase","PascalCase"],selector:"function"},{format:["PascalCase"],selector:"typeLike"}],"@typescript-eslint/no-array-constructor":e["no-array-constructor"],"@typescript-eslint/no-confusing-non-null-assertion":"error","@typescript-eslint/no-dupe-class-members":f["no-dupe-class-members"],"@typescript-eslint/no-duplicate-enum-values":"error","@typescript-eslint/no-dynamic-delete":"warn","@typescript-eslint/no-empty-function":t["no-empty-function"],"@typescript-eslint/no-extra-non-null-assertion":"error","@typescript-eslint/no-extra-parens":y["no-extra-parens"],"@typescript-eslint/no-extra-semi":y["no-extra-semi"],"@typescript-eslint/no-import-type-side-effects":"error","@typescript-eslint/no-invalid-void-type":"warn","@typescript-eslint/no-loop-func":t["no-loop-func"],"@typescript-eslint/no-magic-numbers":t["no-magic-numbers"],"@typescript-eslint/no-misused-new":"error","@typescript-eslint/no-namespace":"error","@typescript-eslint/no-non-null-asserted-nullish-coalescing":"warn","@typescript-eslint/no-non-null-asserted-optional-chain":"error","@typescript-eslint/no-non-null-assertion":"error","@typescript-eslint/no-redeclare":t["no-redeclare"],"@typescript-eslint/no-require-imports":"error","@typescript-eslint/no-shadow":n["no-shadow"],"@typescript-eslint/no-this-alias":"error","@typescript-eslint/no-unnecessary-type-assertion":"error","@typescript-eslint/no-unnecessary-type-constraint":"error","@typescript-eslint/no-unsafe-argument":"error","@typescript-eslint/no-unsafe-assignment":"error","@typescript-eslint/no-unsafe-call":"error","@typescript-eslint/no-unsafe-declaration-merging":"error","@typescript-eslint/no-unsafe-member-access":"error","@typescript-eslint/no-unsafe-return":"error","@typescript-eslint/no-unused-expressions":t["no-unused-expressions"],"@typescript-eslint/no-unused-vars":n["no-unused-vars"],"@typescript-eslint/no-use-before-define":n["no-use-before-define"],"@typescript-eslint/no-useless-constructor":f["no-useless-constructor"],"@typescript-eslint/no-useless-empty-export":"error","@typescript-eslint/non-nullable-type-assertion-style":"off","@typescript-eslint/prefer-enum-initializers":"error","@typescript-eslint/prefer-function-type":"error","@typescript-eslint/prefer-nullish-coalescing":"error","@typescript-eslint/prefer-optional-chain":"error","@typescript-eslint/prefer-ts-expect-error":"error","@typescript-eslint/quotes":x,"@typescript-eslint/return-await":t["no-return-await"],"@typescript-eslint/semi":R,"@typescript-eslint/sort-type-constituents":"error","@typescript-eslint/space-before-function-paren":e["space-before-function-paren"],"@typescript-eslint/space-infix-ops":e["space-infix-ops"],...global.anolilabEslintConfigTypescriptPrettierRules}},type:"typescript"}]),U=C;
|
|
16
16
|
|
|
17
17
|
module.exports = U;
|
|
18
18
|
//# sourceMappingURL=out.js.map
|