@1stg/eslint-config 8.3.2 → 8.4.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 CHANGED
@@ -1,5 +1,18 @@
1
1
  # Change Log
2
2
 
3
+ ## 8.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#329](https://github.com/1stG/configs/pull/329) [`c08b298`](https://github.com/1stG/configs/commit/c08b2989d7e3765dd3853fe5461d9662e5b3a05e) Thanks [@JounQin](https://github.com/JounQin)! - feat: enable `globals` for `jest` and `vitest`, ignore `.type-coverage` and `.vercel`
8
+
9
+ ### Patch Changes
10
+
11
+ - [#329](https://github.com/1stG/configs/pull/329) [`c08b298`](https://github.com/1stG/configs/commit/c08b2989d7e3765dd3853fe5461d9662e5b3a05e) Thanks [@JounQin](https://github.com/JounQin)! - chore: housekeeping, bump all (dev) deps
12
+
13
+ - Updated dependencies [[`c08b298`](https://github.com/1stG/configs/commit/c08b2989d7e3765dd3853fe5461d9662e5b3a05e)]:
14
+ - @1stg/config@1.0.3
15
+
3
16
  ## 8.3.2
4
17
 
5
18
  ### Patch Changes
package/base.js CHANGED
@@ -176,6 +176,8 @@ export const base = tseslint.config([
176
176
  '**/package-lock.json',
177
177
  '**/pnpm-lock.yaml',
178
178
  '**/auto-imports.d.ts',
179
+ '**/.type-coverage',
180
+ '**/.vercel',
179
181
  '**/.yarn',
180
182
  '!.github',
181
183
  '!.*.{cjs,js,mjs,cts,ts,mts}',
package/overrides.js CHANGED
@@ -25,6 +25,7 @@ import * as reactHooks_ from 'eslint-plugin-react-hooks'
25
25
  import toml_ from 'eslint-plugin-toml'
26
26
  import vue_ from 'eslint-plugin-vue'
27
27
  import yml_ from 'eslint-plugin-yml'
28
+ import globals from 'globals'
28
29
  import tseslint from 'typescript-eslint'
29
30
  import vueParser from 'vue-eslint-parser'
30
31
 
@@ -543,6 +544,9 @@ export const jest = tseslint.config({
543
544
  name: '@1stg/jest',
544
545
  files: ['**/*.{spec,test}.{js,jsx,ts,tsx}'],
545
546
  extends: [jest_.configs['flat/recommended']],
547
+ languageOptions: {
548
+ globals: globals.jest,
549
+ },
546
550
  rules: test.rules,
547
551
  })
548
552
 
@@ -550,6 +554,9 @@ export const vitest = tseslint.config({
550
554
  name: '@1stg/vitest',
551
555
  files: ['**/*.{spec,test}.{js,jsx,ts,tsx}'],
552
556
  extends: [vitest_.configs.recommended],
557
+ languageOptions: {
558
+ globals: globals.vitest,
559
+ },
553
560
  rules: test.rules,
554
561
  })
555
562
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1stg/eslint-config",
3
- "version": "8.3.2",
3
+ "version": "8.4.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",
@@ -24,12 +24,12 @@
24
24
  "eslint": ">=8.0.0"
25
25
  },
26
26
  "dependencies": {
27
- "@1stg/config": "^1.0.2",
27
+ "@1stg/config": "^1.0.3",
28
28
  "@babel/eslint-parser": "^7.27.0",
29
29
  "@babel/eslint-plugin": "^7.27.0",
30
30
  "@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
31
- "@eslint-react/eslint-plugin": "^1.40.1",
32
- "@eslint/js": "^9.23.0",
31
+ "@eslint-react/eslint-plugin": "^1.40.3",
32
+ "@eslint/js": "^9.24.0",
33
33
  "@pkgr/utils": "^3.1.0",
34
34
  "@typescript-eslint/eslint-plugin": "^8.29.0",
35
35
  "@typescript-eslint/parser": "^8.29.0",
@@ -39,12 +39,12 @@
39
39
  "eslint-config-prettier": "^10.1.1",
40
40
  "eslint-import-resolver-typescript": "^4.3.1",
41
41
  "eslint-plugin-css": "^0.11.0",
42
- "eslint-plugin-import-x": "^4.10.0",
42
+ "eslint-plugin-import-x": "^4.10.1",
43
43
  "eslint-plugin-jest": "^28.11.0",
44
44
  "eslint-plugin-jsdoc": "^50.6.9",
45
45
  "eslint-plugin-jsonc": "^2.20.0",
46
46
  "eslint-plugin-markup": "^1.0.0",
47
- "eslint-plugin-mdx": "^3.3.1",
47
+ "eslint-plugin-mdx": "^3.4.0",
48
48
  "eslint-plugin-n": "^17.17.0",
49
49
  "eslint-plugin-prettier": "^5.2.6",
50
50
  "eslint-plugin-promise": "^7.2.1",