@anolilab/eslint-config 10.0.1 → 10.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
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## @anolilab/eslint-config [10.0.2](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/eslint-config@10.0.1...@anolilab/eslint-config@10.0.2) (2023-07-25)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* Update eslint configuration and plugin versions ([721e059](https://github.com/anolilab/javascript-style-guide/commit/721e0598f7a6e276e9ccec45f042c8ededffe7c2))
|
|
7
|
+
|
|
1
8
|
## @anolilab/eslint-config [10.0.1](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/eslint-config@10.0.0...@anolilab/eslint-config@10.0.1) (2023-07-19)
|
|
2
9
|
|
|
3
10
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('../../chunk-3NVDJZNH.js');
|
|
4
4
|
|
|
5
|
-
var t={overrides:[{extends:["plugin:vitest/recommended","plugin:vitest/all"],files:["**/__tests__/**/*.?(c|m)[jt]s?(x)","**/?(*.){test,spec}.?(c|m)[jt]s?(x)"],plugins:["vitest"],rules:{"vitest/max-expects":"off","vitest/no-hooks":"off","vitest/no-mocks-import":"off","vitest/no-restricted-vi-methods":"off","vitest/no-standalone-expect":"error","vitest/valid-expect":["error",{alwaysAwait:!0,maxArgs:2}]}}]},e=t;
|
|
5
|
+
var t={overrides:[{extends:["plugin:vitest/recommended","plugin:vitest/all"],files:["**/__tests__/**/*.?(c|m)[jt]s?(x)","**/?(*.){test,spec}.?(c|m)[jt]s?(x)"],plugins:["vitest"],rules:{"vitest/max-expects":"off","vitest/no-hooks":"off","vitest/no-mocks-import":"off","vitest/no-restricted-vi-methods":"off","vitest/no-standalone-expect":"error","vitest/valid-expect":["error",{alwaysAwait:!0,maxArgs:2,minArgs:1}]}}]},e=t;
|
|
6
6
|
|
|
7
7
|
module.exports = e;
|
|
8
8
|
//# sourceMappingURL=out.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/config/plugins/vitest.ts"],"names":["config","vitest_default"],"mappings":"gCAEA,IAAMA,EAAwB,CAC1B,UAAW,CACP,CACI,QAAS,CAAC,4BAA6B,mBAAmB,EAC1D,MAAO,CAAC,oCAAqC,qCAAqC,EAClF,QAAS,CAAC,QAAQ,EAElB,MAAO,CAIH,qBAAsB,MAItB,kBAAmB,MAInB,yBAA0B,MAI1B,kCAAmC,MAInC,8BAA+B,QAI/B,sBAAuB,CAAC,QAAS,CAAE,YAAa,GAAM,QAAS,CAAE,CAAC,
|
|
1
|
+
{"version":3,"sources":["../../../src/config/plugins/vitest.ts"],"names":["config","vitest_default"],"mappings":"gCAEA,IAAMA,EAAwB,CAC1B,UAAW,CACP,CACI,QAAS,CAAC,4BAA6B,mBAAmB,EAC1D,MAAO,CAAC,oCAAqC,qCAAqC,EAClF,QAAS,CAAC,QAAQ,EAElB,MAAO,CAIH,qBAAsB,MAItB,kBAAmB,MAInB,yBAA0B,MAI1B,kCAAmC,MAInC,8BAA+B,QAI/B,sBAAuB,CAAC,QAAS,CAAE,YAAa,GAAM,QAAS,EAAG,QAAS,CAAE,CAAC,CAClF,CACJ,CACJ,CACJ,EAEOC,EAAQD","sourcesContent":["import type { Linter } from \"eslint\";\n\nconst config: Linter.Config = {\n overrides: [\n {\n extends: [\"plugin:vitest/recommended\", \"plugin:vitest/all\"],\n files: [\"**/__tests__/**/*.?(c|m)[jt]s?(x)\", \"**/?(*.){test,spec}.?(c|m)[jt]s?(x)\"],\n plugins: [\"vitest\"],\n // TODO: transform all rules to error\n rules: {\n // Enforce a maximum number of expect per test\n // https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/max-expects.md\n // This rule should be set on the root config\n \"vitest/max-expects\": \"off\",\n\n // Enforce valid expect() usage\n // https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/no-hooks.md\n \"vitest/no-hooks\": \"off\",\n\n // Disallow setup and teardown hooks\n // https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/no-mocks-import.md\n \"vitest/no-mocks-import\": \"off\",\n\n // Disallow importing from mocks directory\n // https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/no-restricted-vi-methods.md\n \"vitest/no-restricted-vi-methods\": \"off\",\n\n // Disallow specific vi. methods\n // https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/no-standalone-expect.md\n \"vitest/no-standalone-expect\": \"error\",\n\n // Disallow using expect outside of it or test blocks\n // https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/valid-expect.md\n \"vitest/valid-expect\": [\"error\", { alwaysAwait: true, maxArgs: 2, minArgs: 1 }],\n },\n },\n ],\n};\n\nexport default config;\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anolilab/eslint-config",
|
|
3
|
-
"version": "10.0.
|
|
3
|
+
"version": "10.0.2",
|
|
4
4
|
"description": "ESLint shareable config for the Anolilab JavaScript style guide.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"anolilab",
|
|
@@ -120,18 +120,18 @@
|
|
|
120
120
|
"@anolilab/package-json-utils": "3.0.1",
|
|
121
121
|
"@babel/eslint-parser": "^7.22.9",
|
|
122
122
|
"@babel/plugin-syntax-import-assertions": "^7.22.5",
|
|
123
|
-
"@html-eslint/eslint-plugin": "^0.19.
|
|
124
|
-
"@html-eslint/parser": "^0.19.
|
|
123
|
+
"@html-eslint/eslint-plugin": "^0.19.1",
|
|
124
|
+
"@html-eslint/parser": "^0.19.1",
|
|
125
125
|
"@rushstack/eslint-patch": "^1.3.2",
|
|
126
126
|
"@rushstack/eslint-plugin-security": "^0.6.0",
|
|
127
|
-
"@typescript-eslint/eslint-plugin": ">=6.
|
|
128
|
-
"@typescript-eslint/parser": "^6.
|
|
127
|
+
"@typescript-eslint/eslint-plugin": ">=6.2.0",
|
|
128
|
+
"@typescript-eslint/parser": "^6.2.0",
|
|
129
129
|
"confusing-browser-globals": "^1.0.11",
|
|
130
130
|
"eslint-import-resolver-node": "^0.3.7",
|
|
131
131
|
"eslint-import-resolver-typescript": "^3.5.5",
|
|
132
132
|
"eslint-plugin-antfu": "^0.39.8",
|
|
133
133
|
"eslint-plugin-compat": "^4.1.4",
|
|
134
|
-
"eslint-plugin-es-x": "^7.
|
|
134
|
+
"eslint-plugin-es-x": "^7.2.0",
|
|
135
135
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
136
136
|
"eslint-plugin-html": "^7.1.0",
|
|
137
137
|
"eslint-plugin-i": "^2.27.5",
|
|
@@ -180,10 +180,10 @@
|
|
|
180
180
|
"eslint-plugin-jsx-a11y": "^6.7.1",
|
|
181
181
|
"eslint-plugin-no-unsanitized": "^4.0.2",
|
|
182
182
|
"eslint-plugin-prefer-object-spread": "^1.2.1",
|
|
183
|
-
"eslint-plugin-react": "^7.
|
|
183
|
+
"eslint-plugin-react": "^7.33.0",
|
|
184
184
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
185
185
|
"eslint-plugin-react-redux": "^4.0.0",
|
|
186
|
-
"eslint-plugin-storybook": "^0.6.
|
|
186
|
+
"eslint-plugin-storybook": "^0.6.13",
|
|
187
187
|
"eslint-plugin-tailwindcss": "^3.13.0",
|
|
188
188
|
"eslint-plugin-testing-library": "^5.11.0",
|
|
189
189
|
"eslint-plugin-vitest": "^0.2.6",
|
|
@@ -219,10 +219,10 @@
|
|
|
219
219
|
"eslint-plugin-no-unsanitized": "^4.0.2",
|
|
220
220
|
"eslint-plugin-playwright": "^0.15.3",
|
|
221
221
|
"eslint-plugin-prefer-object-spread": "^1.2.1",
|
|
222
|
-
"eslint-plugin-react": "^7.
|
|
222
|
+
"eslint-plugin-react": "^7.33.0",
|
|
223
223
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
224
224
|
"eslint-plugin-react-redux": "^4.0.0",
|
|
225
|
-
"eslint-plugin-storybook": "^0.6.
|
|
225
|
+
"eslint-plugin-storybook": "^0.6.13",
|
|
226
226
|
"eslint-plugin-tailwindcss": "^3.13.0",
|
|
227
227
|
"eslint-plugin-testing-library": "^5.11.0",
|
|
228
228
|
"eslint-plugin-tsdoc": "^0.2.17",
|