@ocavue/eslint-config 3.3.0 → 3.3.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/dist/markdown.js CHANGED
@@ -3,7 +3,6 @@ import tseslint from 'typescript-eslint';
3
3
  import { GLOB_MARKDOWN, GLOB_SRC, GLOB_VUE } from './shared.js';
4
4
  export function markdown() {
5
5
  const processor = markdownPlugin.configs.processor;
6
- // @ts-expect-error: unmatched type: https://github.com/typescript-eslint/typescript-eslint/issues/10899
7
6
  const disableTypeCheckedBase = tseslint.configs.disableTypeChecked;
8
7
  const disableTypeChecked = {
9
8
  ...disableTypeCheckedBase,
@@ -1,4 +1,4 @@
1
- import type { Linter } from 'eslint';
2
1
  import tseslint from 'typescript-eslint';
2
+ import type { Config } from './types.js';
3
3
  export { tseslint };
4
- export declare function typescript(): Linter.Config[];
4
+ export declare function typescript(): Config[];
@@ -136,7 +136,5 @@ export function typescript() {
136
136
  files: [GLOB_JS, GLOB_JSX],
137
137
  rules: jsOnlyRules(),
138
138
  };
139
- // @ts-expect-error: unmatched type
140
- const configs = [base, common, ts, js];
141
- return configs;
139
+ return [base, common, ts, js];
142
140
  }
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@ocavue/eslint-config",
3
3
  "type": "module",
4
- "version": "3.3.0",
5
- "description": "",
4
+ "version": "3.3.2",
5
+ "description": "Opinionated ESLint config preset",
6
6
  "author": "ocavue <ocavue@gmail.com>",
7
7
  "license": "MIT",
8
8
  "funding": "https://github.com/sponsors/ocavue",
@@ -28,9 +28,9 @@
28
28
  "dist"
29
29
  ],
30
30
  "dependencies": {
31
- "@eslint/js": "^9.31.0",
31
+ "@eslint/js": "^9.33.0",
32
32
  "@eslint/markdown": "^7.1.0",
33
- "@unocss/eslint-config": "^66.3.3",
33
+ "@unocss/eslint-config": "^66.4.2",
34
34
  "eslint-config-flat-gitignore": "^2.1.0",
35
35
  "eslint-config-prettier": "^10.1.8",
36
36
  "eslint-import-resolver-typescript": "^4.4.4",
@@ -38,23 +38,23 @@
38
38
  "eslint-plugin-command": "^3.3.1",
39
39
  "eslint-plugin-import-x": "^4.16.1",
40
40
  "eslint-plugin-no-only-tests": "^3.3.0",
41
- "eslint-plugin-package-json": "^0.48.0",
41
+ "eslint-plugin-package-json": "^0.54.0",
42
42
  "eslint-plugin-react": "^7.37.5",
43
43
  "eslint-plugin-react-compiler": "19.1.0-rc.2",
44
44
  "eslint-plugin-react-hooks": "^5.2.0",
45
45
  "eslint-plugin-unicorn": "^60.0.0",
46
46
  "eslint-plugin-vue": "^10.4.0",
47
47
  "globals": "^16.3.0",
48
- "typescript-eslint": "^8.38.0",
48
+ "typescript-eslint": "^8.40.0",
49
49
  "vue-eslint-parser": "^10.2.0"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@ocavue/tsconfig": "^0.3.7",
53
53
  "@types/node": "^20.17.9",
54
- "@typescript-eslint/utils": "^8.38.0",
55
- "eslint": "^9.31.0",
54
+ "@typescript-eslint/utils": "^8.40.0",
55
+ "eslint": "^9.33.0",
56
56
  "jiti": "^2.5.1",
57
- "pkg-pr-new": "^0.0.54",
57
+ "pkg-pr-new": "^0.0.56",
58
58
  "prettier": "^3.6.2",
59
59
  "typescript": "^5.8.3"
60
60
  },