@1stg/eslint-config 8.1.1 → 8.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/CHANGELOG.md +10 -0
- package/overrides.js +9 -0
- package/package.json +6 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 8.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#312](https://github.com/1stG/configs/pull/312) [`9e288a5`](https://github.com/1stG/configs/commit/9e288a5c03738bbcfe9afd6801304e226c4838e5) Thanks [@JounQin](https://github.com/JounQin)! - feat(eslint-config): add `vitest` support
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- [#312](https://github.com/1stG/configs/pull/312) [`9e288a5`](https://github.com/1stG/configs/commit/9e288a5c03738bbcfe9afd6801304e226c4838e5) Thanks [@JounQin](https://github.com/JounQin)! - chore: bump `@pkgr/core` and `@pkgr/utils`
|
|
12
|
+
|
|
3
13
|
## 8.1.1
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
package/overrides.js
CHANGED
|
@@ -11,6 +11,7 @@ import babelParser from '@babel/eslint-parser'
|
|
|
11
11
|
import babel from '@babel/eslint-plugin'
|
|
12
12
|
import react_ from '@eslint-react/eslint-plugin'
|
|
13
13
|
import { isPkgAvailable, tryFile, tryPkg } from '@pkgr/utils'
|
|
14
|
+
import vitest_ from '@vitest/eslint-plugin'
|
|
14
15
|
import angular_ from 'angular-eslint'
|
|
15
16
|
import angularTemplateParser from 'angular-eslint-template-parser'
|
|
16
17
|
import { createTypeScriptImportResolver } from 'eslint-import-resolver-typescript'
|
|
@@ -539,6 +540,13 @@ export const jest = tseslint.config({
|
|
|
539
540
|
rules: test.rules,
|
|
540
541
|
})
|
|
541
542
|
|
|
543
|
+
export const vitest = tseslint.config({
|
|
544
|
+
name: '@1stg/vitest',
|
|
545
|
+
files: ['**/*.{spec,test}.{js,jsx,ts,tsx}'],
|
|
546
|
+
extends: [vitest_.configs.recommended],
|
|
547
|
+
rules: test.rules,
|
|
548
|
+
})
|
|
549
|
+
|
|
542
550
|
/**
|
|
543
551
|
* @satisfies {TSESLint.FlatConfig.Config}
|
|
544
552
|
*/
|
|
@@ -626,6 +634,7 @@ export const overrides = tseslint.config(
|
|
|
626
634
|
md,
|
|
627
635
|
mdx,
|
|
628
636
|
isPkgAvailable('jest') ? jest : [],
|
|
637
|
+
isPkgAvailable('vitest') ? vitest : [],
|
|
629
638
|
test,
|
|
630
639
|
scripts,
|
|
631
640
|
stories,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@1stg/eslint-config",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.2.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Personal but Shareable ESLint Configuration for all 1stG.me projects",
|
|
6
6
|
"repository": "https://github.com/1stG/configs.git",
|
|
@@ -28,12 +28,13 @@
|
|
|
28
28
|
"@babel/eslint-parser": "^7.26.10",
|
|
29
29
|
"@babel/eslint-plugin": "^7.26.10",
|
|
30
30
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
|
|
31
|
-
"@eslint-react/eslint-plugin": "^1.37.
|
|
32
|
-
"@eslint/js": "^9.
|
|
33
|
-
"@pkgr/utils": "^3.
|
|
31
|
+
"@eslint-react/eslint-plugin": "^1.37.3",
|
|
32
|
+
"@eslint/js": "^9.23.0",
|
|
33
|
+
"@pkgr/utils": "^3.1.0",
|
|
34
34
|
"@typescript-eslint/eslint-plugin": "^8.27.0",
|
|
35
35
|
"@typescript-eslint/parser": "^8.27.0",
|
|
36
|
-
"
|
|
36
|
+
"@vitest/eslint-plugin": "^1.1.38",
|
|
37
|
+
"angular-eslint": "^19.3.0",
|
|
37
38
|
"angular-eslint-template-parser": "^0.1.3",
|
|
38
39
|
"eslint-config-prettier": "^10.1.1",
|
|
39
40
|
"eslint-import-resolver-typescript": "^4.2.2",
|