@anolilab/eslint-config 11.3.5 → 13.0.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.
Files changed (33) hide show
  1. package/CHANGELOG.md +46 -0
  2. package/dist/{chunk-MGBRUNOT.js → chunk-KOLBUMAZ.js} +1 -1
  3. package/dist/chunk-KOLBUMAZ.js.map +1 -0
  4. package/dist/{chunk-KP2UPQGN.js → chunk-N2VJ7KO5.js} +1 -1
  5. package/dist/{chunk-KP2UPQGN.js.map → chunk-N2VJ7KO5.js.map} +1 -1
  6. package/dist/config/errors.js +2 -2
  7. package/dist/config/plugins/babel.js +3 -3
  8. package/dist/config/plugins/import.js +1 -1
  9. package/dist/config/plugins/import.js.map +1 -1
  10. package/dist/config/plugins/jsonc.js +1 -1
  11. package/dist/config/plugins/jsonc.js.map +1 -1
  12. package/dist/config/plugins/jsx-a11y.js.map +1 -1
  13. package/dist/config/plugins/react.js +5 -5
  14. package/dist/config/plugins/react.js.map +1 -1
  15. package/dist/config/plugins/simple-import-sort.js +1 -1
  16. package/dist/config/plugins/simple-import-sort.js.map +1 -1
  17. package/dist/config/plugins/typescript.js +4 -4
  18. package/dist/config/plugins/typescript.js.map +1 -1
  19. package/dist/config/plugins/vitest.js.map +1 -1
  20. package/dist/config/style.js +2 -2
  21. package/dist/index.js +8 -8
  22. package/dist/index.js.map +1 -1
  23. package/dist/postinstall.js +5 -5
  24. package/dist/postinstall.js.map +1 -1
  25. package/dist/typescript-type-checking.js.map +1 -1
  26. package/package.json +19 -21
  27. package/dist/chunk-MGBRUNOT.js.map +0 -1
  28. package/dist/config/plugins/lodash-fp.d.ts +0 -5
  29. package/dist/config/plugins/lodash-fp.js +0 -9
  30. package/dist/config/plugins/lodash-fp.js.map +0 -1
  31. package/dist/config/plugins/lodash.d.ts +0 -5
  32. package/dist/config/plugins/lodash.js +0 -9
  33. package/dist/config/plugins/lodash.js.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anolilab/eslint-config",
3
- "version": "11.3.5",
3
+ "version": "13.0.0",
4
4
  "description": "ESLint shareable config for the Anolilab JavaScript style guide.",
5
5
  "keywords": [
6
6
  "anolilab",
@@ -127,31 +127,31 @@
127
127
  },
128
128
  "dependencies": {
129
129
  "@anolilab/package-json-utils": "3.0.5",
130
- "@babel/eslint-parser": "^7.22.11",
130
+ "@babel/eslint-parser": "^7.22.15",
131
131
  "@babel/plugin-syntax-import-assertions": "^7.22.5",
132
132
  "@html-eslint/eslint-plugin": "^0.19.1",
133
133
  "@html-eslint/parser": "^0.19.1",
134
134
  "@rushstack/eslint-patch": "^1.3.3",
135
135
  "@rushstack/eslint-plugin-security": "^0.6.0",
136
- "@typescript-eslint/eslint-plugin": ">=6.5.0",
137
- "@typescript-eslint/parser": "^6.5.0",
136
+ "@typescript-eslint/eslint-plugin": ">=6.7.0",
137
+ "@typescript-eslint/parser": "^6.7.0",
138
138
  "confusing-browser-globals": "^1.0.11",
139
139
  "eslint-define-config": "^1.23.0",
140
140
  "eslint-import-resolver-node": "^0.3.9",
141
141
  "eslint-import-resolver-typescript": "^3.6.0",
142
- "eslint-plugin-antfu": "^0.41.0",
142
+ "eslint-plugin-antfu": "^0.42.0",
143
143
  "eslint-plugin-compat": "^4.2.0",
144
144
  "eslint-plugin-es-x": "^7.2.0",
145
145
  "eslint-plugin-eslint-comments": "^3.2.0",
146
146
  "eslint-plugin-html": "^7.1.0",
147
- "eslint-plugin-i": "^2.28.0",
147
+ "eslint-plugin-i": "^2.28.1",
148
148
  "eslint-plugin-jsonc": "^2.9.0",
149
149
  "eslint-plugin-markdown": "^3.0.1",
150
150
  "eslint-plugin-mdx": "^2.2.0",
151
151
  "eslint-plugin-no-loops": "^0.3.0",
152
152
  "eslint-plugin-no-secrets": "^0.8.9",
153
153
  "eslint-plugin-no-use-extend-native": "^0.5.0",
154
- "eslint-plugin-perfectionist": "^1.5.1",
154
+ "eslint-plugin-perfectionist": "^2.1.0",
155
155
  "eslint-plugin-promise": "^6.1.1",
156
156
  "eslint-plugin-regexp": "^1.15.0",
157
157
  "eslint-plugin-security": "^1.7.1",
@@ -159,7 +159,7 @@
159
159
  "eslint-plugin-sonarjs": "^0.21.0",
160
160
  "eslint-plugin-toml": "^0.5.0",
161
161
  "eslint-plugin-unicorn": "^48.0.1",
162
- "eslint-plugin-yml": "^1.8.0",
162
+ "eslint-plugin-yml": "^1.9.0",
163
163
  "find-up": "5.0.0",
164
164
  "globals": "^13.21.0",
165
165
  "jsonc-eslint-parser": "^2.3.0",
@@ -170,14 +170,14 @@
170
170
  "yaml-eslint-parser": "^1.2.2"
171
171
  },
172
172
  "devDependencies": {
173
- "@anolilab/semantic-release-preset": "6.0.5",
173
+ "@anolilab/semantic-release-preset": "6.0.6",
174
174
  "@arthurgeron/eslint-plugin-react-usememo": "^1.1.4",
175
175
  "@testing-library/dom": "^9.3.1",
176
176
  "@total-typescript/ts-reset": "^0.5.1",
177
- "@types/confusing-browser-globals": "^1.0.0",
177
+ "@types/confusing-browser-globals": "^1.0.1",
178
178
  "@types/eslint": "^8.44.2",
179
- "@types/semver": "^7.5.1",
180
- "eslint": "^8.48.0",
179
+ "@types/semver": "^7.5.2",
180
+ "eslint": "^8.49.0",
181
181
  "eslint-find-rules": "^4.1.0",
182
182
  "eslint-plugin-babel": "^5.3.1",
183
183
  "eslint-plugin-cypress": "^2.14.0",
@@ -187,7 +187,7 @@
187
187
  "eslint-plugin-jest-async": "^1.0.3",
188
188
  "eslint-plugin-jest-dom": "^5.1.0",
189
189
  "eslint-plugin-jest-formatting": "^3.1.0",
190
- "eslint-plugin-jsdoc": "^46.5.1",
190
+ "eslint-plugin-jsdoc": "^46.7.0",
191
191
  "eslint-plugin-jsx-a11y": "^6.7.1",
192
192
  "eslint-plugin-no-unsanitized": "^4.0.2",
193
193
  "eslint-plugin-prefer-object-spread": "^1.2.1",
@@ -197,18 +197,18 @@
197
197
  "eslint-plugin-storybook": "^0.6.13",
198
198
  "eslint-plugin-tailwindcss": "^3.13.0",
199
199
  "eslint-plugin-testing-library": "^6.0.1",
200
- "eslint-plugin-vitest": "^0.2.8",
200
+ "eslint-plugin-vitest": "^0.3.1",
201
201
  "eslint-plugin-you-dont-need-lodash-underscore": "^6.13.0",
202
202
  "eslint-plugin-you-dont-need-momentjs": "^1.6.0",
203
203
  "eslint-plugin-zod": "^1.4.0",
204
- "jest": "^29.6.4",
204
+ "jest": "^29.7.0",
205
205
  "react": "^18.2.0",
206
206
  "rimraf": "^5.0.1",
207
207
  "semantic-release": "^21.1.1",
208
208
  "tsup": "^7.2.0",
209
209
  "type-fest": "^4.3.1",
210
210
  "typescript": "^5.2.2",
211
- "vitest": "^0.34.3"
211
+ "vitest": "^0.34.4"
212
212
  },
213
213
  "peerDependencies": {
214
214
  "eslint": "^8.15.0"
@@ -216,7 +216,7 @@
216
216
  "optionalDependencies": {
217
217
  "@arthurgeron/eslint-plugin-react-usememo": "^1.1.4",
218
218
  "@tanstack/eslint-plugin-query": "^4.34.1",
219
- "eslint-plugin-array-func": "^3.1.8",
219
+ "eslint-plugin-array-func": "^4.0.0",
220
220
  "eslint-plugin-ava": "^14.0.0",
221
221
  "eslint-plugin-babel": "^5.3.1",
222
222
  "eslint-plugin-cypress": "^2.14.0",
@@ -225,9 +225,9 @@
225
225
  "eslint-plugin-jest-async": "^1.0.3",
226
226
  "eslint-plugin-jest-dom": "^5.1.0",
227
227
  "eslint-plugin-jest-formatting": "^3.1.0",
228
- "eslint-plugin-jsdoc": "^46.5.1",
228
+ "eslint-plugin-jsdoc": "^46.7.0",
229
229
  "eslint-plugin-jsx-a11y": "^6.7.1",
230
- "eslint-plugin-n": "^16.0.2",
230
+ "eslint-plugin-n": "^16.1.0",
231
231
  "eslint-plugin-no-unsanitized": "^4.0.2",
232
232
  "eslint-plugin-playwright": "^0.16.0",
233
233
  "eslint-plugin-prefer-object-spread": "^1.2.1",
@@ -271,8 +271,6 @@
271
271
  "src/config/plugins/jsdoc.ts",
272
272
  "src/config/plugins/jsonc.ts",
273
273
  "src/config/plugins/jsx-a11y.ts",
274
- "src/config/plugins/lodash-fp.ts",
275
- "src/config/plugins/lodash.ts",
276
274
  "src/config/plugins/markdown.ts",
277
275
  "src/config/plugins/mdx.ts",
278
276
  "src/config/plugins/no-extend-native.ts",
@@ -1 +0,0 @@
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"]}
@@ -1,5 +0,0 @@
1
- import { Linter } from 'eslint';
2
-
3
- declare const config: Linter.Config;
4
-
5
- export { config as default };
@@ -1,9 +0,0 @@
1
- 'use strict';
2
-
3
- require('../../chunk-MFE6DF6Y.js');
4
-
5
- var e={extends:["plugin:lodash-fp/recommended"],plugins:["lodash-fp"],rules:{"lodash-fp/use-fp":"off"}},o=e;
6
-
7
- module.exports = o;
8
- //# sourceMappingURL=out.js.map
9
- //# sourceMappingURL=lodash-fp.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../src/config/plugins/lodash-fp.ts"],"names":["config","lodash_fp_default"],"mappings":"gCAEA,IAAMA,EAAwB,CAC1B,QAAS,CAAC,8BAA8B,EACxC,QAAS,CAAC,WAAW,EACrB,MAAO,CACH,mBAAoB,KACxB,CACJ,EAEOC,EAAQD","sourcesContent":["import type { Linter } from \"eslint\";\n\nconst config: Linter.Config = {\n extends: [\"plugin:lodash-fp/recommended\"],\n plugins: [\"lodash-fp\"],\n rules: {\n \"lodash-fp/use-fp\": \"off\",\n },\n};\n\nexport default config;\n"]}
@@ -1,5 +0,0 @@
1
- import { Linter } from 'eslint';
2
-
3
- declare const config: Linter.Config;
4
-
5
- export { config as default };
@@ -1,9 +0,0 @@
1
- 'use strict';
2
-
3
- require('../../chunk-MFE6DF6Y.js');
4
-
5
- var e={plugins:["lodash"],rules:{"lodash/callback-binding":2,"lodash/chain-style":[2,"as-needed"],"lodash/chaining":2,"lodash/collection-method-value":2,"lodash/collection-ordering":2,"lodash/collection-return":2,"lodash/consistent-compose":[2,"flow"],"lodash/identity-shorthand":[2,"always"],"lodash/import-scope":[2],"lodash/matches-prop-shorthand":[2,"always"],"lodash/matches-shorthand":[2,"always",3],"lodash/no-commit":2,"lodash/no-double-unwrap":2,"lodash/no-extra-args":2,"lodash/no-unbound-this":2,"lodash/path-style":[2,"string"],"lodash/prefer-compact":2,"lodash/prefer-constant":0,"lodash/prefer-filter":[2,3],"lodash/prefer-find":2,"lodash/prefer-flat-map":2,"lodash/prefer-get":0,"lodash/prefer-immutable-method":2,"lodash/prefer-includes":0,"lodash/prefer-invoke-map":2,"lodash/prefer-is-nil":0,"lodash/prefer-lodash-chain":0,"lodash/prefer-lodash-method":0,"lodash/prefer-lodash-typecheck":0,"lodash/prefer-map":2,"lodash/prefer-matches":0,"lodash/prefer-noop":2,"lodash/prefer-over-quantifier":0,"lodash/prefer-reject":[2,3],"lodash/prefer-some":0,"lodash/prefer-startswith":0,"lodash/prefer-thru":2,"lodash/prefer-times":0,"lodash/prefer-wrapper-method":2,"lodash/preferred-alias":2,"lodash/prop-shorthand":[2,"always"],"lodash/unwrap":2}},o=e;
6
-
7
- module.exports = o;
8
- //# sourceMappingURL=out.js.map
9
- //# sourceMappingURL=lodash.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../src/config/plugins/lodash.ts"],"names":["config","lodash_default"],"mappings":"gCAEA,IAAMA,EAAwB,CAC1B,QAAS,CAAC,QAAQ,EAClB,MAAO,CAEH,0BAA2B,EAE3B,qBAAsB,CAAC,EAAG,WAAW,EACrC,kBAAmB,EACnB,iCAAkC,EAClC,6BAA8B,EAC9B,2BAA4B,EAC5B,4BAA6B,CAAC,EAAG,MAAM,EAEvC,4BAA6B,CAAC,EAAG,QAAQ,EACzC,sBAAuB,CAAC,CAAC,EACzB,gCAAiC,CAAC,EAAG,QAAQ,EAC7C,2BAA4B,CAAC,EAAG,SAAU,CAAC,EAC3C,mBAAoB,EACpB,0BAA2B,EAC3B,uBAAwB,EACxB,yBAA0B,EAC1B,oBAAqB,CAAC,EAAG,QAAQ,EACjC,wBAAyB,EAEzB,yBAA0B,EAC1B,uBAAwB,CAAC,EAAG,CAAC,EAC7B,qBAAsB,EACtB,yBAA0B,EAC1B,oBAAqB,EACrB,iCAAkC,EAClC,yBAA0B,EAC1B,2BAA4B,EAC5B,uBAAwB,EACxB,6BAA8B,EAC9B,8BAA+B,EAC/B,iCAAkC,EAClC,oBAAqB,EAErB,wBAAyB,EACzB,qBAAsB,EACtB,gCAAiC,EACjC,uBAAwB,CAAC,EAAG,CAAC,EAC7B,qBAAsB,EACtB,2BAA4B,EAC5B,qBAAsB,EACtB,sBAAuB,EACvB,+BAAgC,EAChC,yBAA0B,EAC1B,wBAAyB,CAAC,EAAG,QAAQ,EACrC,gBAAiB,CACrB,CACJ,EAEOC,EAAQD","sourcesContent":["import type { Linter } from \"eslint\";\n\nconst config: Linter.Config = {\n plugins: [\"lodash\"],\n rules: {\n // Possible Errors\n \"lodash/callback-binding\": 2,\n // Disable stylistic rules = Use prettier\n \"lodash/chain-style\": [2, \"as-needed\"],\n \"lodash/chaining\": 2,\n \"lodash/collection-method-value\": 2,\n \"lodash/collection-ordering\": 2,\n \"lodash/collection-return\": 2,\n \"lodash/consistent-compose\": [2, \"flow\"],\n\n \"lodash/identity-shorthand\": [2, \"always\"],\n \"lodash/import-scope\": [2],\n \"lodash/matches-prop-shorthand\": [2, \"always\"],\n \"lodash/matches-shorthand\": [2, \"always\", 3],\n \"lodash/no-commit\": 2,\n \"lodash/no-double-unwrap\": 2,\n \"lodash/no-extra-args\": 2,\n \"lodash/no-unbound-this\": 2,\n \"lodash/path-style\": [2, \"string\"],\n \"lodash/prefer-compact\": 2,\n // Prefer over Native - DISABLED\n \"lodash/prefer-constant\": 0,\n \"lodash/prefer-filter\": [2, 3],\n \"lodash/prefer-find\": 2,\n \"lodash/prefer-flat-map\": 2,\n \"lodash/prefer-get\": 0,\n \"lodash/prefer-immutable-method\": 2,\n \"lodash/prefer-includes\": 0,\n \"lodash/prefer-invoke-map\": 2,\n \"lodash/prefer-is-nil\": 0,\n \"lodash/prefer-lodash-chain\": 0,\n \"lodash/prefer-lodash-method\": 0,\n \"lodash/prefer-lodash-typecheck\": 0,\n \"lodash/prefer-map\": 2,\n\n \"lodash/prefer-matches\": 0,\n \"lodash/prefer-noop\": 2,\n \"lodash/prefer-over-quantifier\": 0,\n \"lodash/prefer-reject\": [2, 3],\n \"lodash/prefer-some\": 0,\n \"lodash/prefer-startswith\": 0,\n \"lodash/prefer-thru\": 2,\n \"lodash/prefer-times\": 0,\n \"lodash/prefer-wrapper-method\": 2,\n \"lodash/preferred-alias\": 2,\n \"lodash/prop-shorthand\": [2, \"always\"],\n \"lodash/unwrap\": 2,\n },\n};\n\nexport default config;\n"]}