@ocavue/eslint-config 1.2.1 → 1.2.3

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.
@@ -1 +1 @@
1
- {"version":3,"file":"package-json.d.ts","sourceRoot":"","sources":["../../src/package-json.js"],"names":[],"mappings":"AAOA;;GAEG;AACH,qFA0EC"}
1
+ {"version":3,"file":"package-json.d.ts","sourceRoot":"","sources":["../../src/package-json.js"],"names":[],"mappings":"AAOA;;GAEG;AACH,qFAyEC"}
@@ -20,6 +20,6 @@ export const GLOB_ALL_SRC: readonly ["**/*.?([cm])[jt]s?(x)", "**/*.{c,le,sc}ss"
20
20
  export const GLOB_NODE_MODULES: "**/node_modules";
21
21
  export const GLOB_DIST: "**/dist";
22
22
  export const GLOB_LOCKFILE: readonly ["**/package-lock.json", "**/yarn.lock", "**/pnpm-lock.yaml"];
23
- export const GLOB_EXCLUDE: readonly ["**/node_modules", "**/dist", "**/package-lock.json", "**/yarn.lock", "**/pnpm-lock.yaml", "**/output", "**/coverage", "**/temp", "**/fixtures", "**/.vitepress/cache", "**/.next", "**/.nuxt", "**/.vercel", "**/.changeset", "**/.idea", "**/.output", "**/.vite-inspect", "**/.yalc", "**/dist-types", "**/CHANGELOG*.md", "**/*.min.*", "**/LICENSE*", "**/__snapshots__"];
23
+ export const GLOB_EXCLUDE: readonly ["**/node_modules", "**/dist", "**/package-lock.json", "**/yarn.lock", "**/pnpm-lock.yaml", "**/output", "**/coverage", "**/temp", "**/fixtures", "**/.vitepress/cache", "**/.next", "**/.nuxt", "**/.vercel", "**/.changeset", "**/.idea", "**/.output", "**/.vite-inspect", "**/.yalc", "**/.svelte-kit", "**/dist-types", "**/CHANGELOG*.md", "**/*.min.*", "**/LICENSE*", "**/__snapshots__"];
24
24
  export const EXTENSIONS: string[];
25
25
  //# sourceMappingURL=shared.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../src/shared.js"],"names":[],"mappings":"AAEA,8CAA8C;AAC9C,+CAA+C;AAE/C,uCAAuC;AACvC,yCAAyC;AAEzC,uCAAuC;AACvC,yCAAyC;AAEzC,4CAA4C;AAC5C,kCAAkC;AAClC,oCAAoC;AACpC,oCAAoC;AAEpC,oCAAoC;AACpC,sCAAsC;AACtC,sCAAsC;AAEtC,kDAAkD;AAElD,sCAAsC;AACtC,kCAAkC;AAClC,uCAAuC;AACvC,uCAAuC;AAEvC,oKASE;AAEF,kDAAyE;AACzE,kCAAyD;AACzD,mGAIE;AACF,oZAwBE;AAEF,kCAGsC"}
1
+ {"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../src/shared.js"],"names":[],"mappings":"AAEA,8CAA8C;AAC9C,+CAA+C;AAE/C,uCAAuC;AACvC,yCAAyC;AAEzC,uCAAuC;AACvC,yCAAyC;AAEzC,4CAA4C;AAC5C,kCAAkC;AAClC,oCAAoC;AACpC,oCAAoC;AAEpC,oCAAoC;AACpC,sCAAsC;AACtC,sCAAsC;AAEtC,kDAAkD;AAElD,sCAAsC;AACtC,kCAAkC;AAClC,uCAAuC;AACvC,uCAAuC;AAEvC,oKASE;AAEF,kDAAyE;AACzE,kCAAyD;AACzD,mGAIE;AACF,saAyBE;AAEF,kCAGsC"}
@@ -1 +1 @@
1
- {"version":3,"file":"typescript.d.ts","sourceRoot":"","sources":["../../src/typescript.js"],"names":[],"mappings":"AAUA;;;;GAIG;AAEH;;GAEG;AACH,2HA0EC;;;;;;;;qBA1FoB,2BAA2B;qBAD3B,kCAAkC"}
1
+ {"version":3,"file":"typescript.d.ts","sourceRoot":"","sources":["../../src/typescript.js"],"names":[],"mappings":"AAUA;;;;GAIG;AAEH;;GAEG;AACH,2HAyEC;;;;;;;;qBAzFoB,2BAA2B;qBAD3B,kCAAkC"}
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@ocavue/eslint-config",
3
3
  "type": "module",
4
- "version": "1.2.1",
5
- "packageManager": "pnpm@8.5.1",
4
+ "version": "1.2.3",
5
+ "packageManager": "pnpm@8.6.12",
6
6
  "description": "",
7
7
  "author": "ocavue <ocavue@gmail.com>",
8
8
  "license": "MIT",
@@ -31,30 +31,30 @@
31
31
  "prepublishOnly": "nr build"
32
32
  },
33
33
  "dependencies": {
34
- "@types/eslint": "^8.40.0",
34
+ "@types/eslint": "^8.44.2",
35
35
  "@types/eslint-plugin-markdown": "^2.0.0",
36
- "@typescript-eslint/eslint-plugin": "^5.59.7",
37
- "@typescript-eslint/parser": "^5.59.7",
38
- "eslint-config-prettier": "^8.8.0",
39
- "eslint-define-config": "^1.20.0",
36
+ "@typescript-eslint/eslint-plugin": "^5.62.0",
37
+ "@typescript-eslint/parser": "^5.62.0",
38
+ "eslint-config-prettier": "^8.10.0",
39
+ "eslint-define-config": "^1.23.0",
40
40
  "eslint-import-resolver-typescript": "^3.5.5",
41
- "eslint-plugin-antfu": "^0.39.3",
42
- "eslint-plugin-deprecation": "^1.4.1",
43
- "eslint-plugin-import": "^2.27.5",
44
- "eslint-plugin-jsonc": "^2.8.0",
45
- "eslint-plugin-markdown": "^3.0.0",
41
+ "eslint-plugin-antfu": "^0.40.0",
42
+ "eslint-plugin-deprecation": "^1.5.0",
43
+ "eslint-plugin-import": "^2.28.0",
44
+ "eslint-plugin-jsonc": "^2.9.0",
45
+ "eslint-plugin-markdown": "^3.0.1",
46
46
  "eslint-plugin-no-only-tests": "^3.1.0",
47
- "eslint-plugin-react": "^7.32.2",
47
+ "eslint-plugin-react": "^7.33.1",
48
48
  "eslint-plugin-react-hooks": "^4.6.0",
49
49
  "eslint-plugin-unicorn": "^47.0.0",
50
50
  "jsonc-eslint-parser": "^2.3.0"
51
51
  },
52
52
  "devDependencies": {
53
- "@antfu/ni": "^0.21.3",
54
- "@types/node": "^18.16.15",
55
- "eslint": "^8.41.0",
53
+ "@antfu/ni": "^0.21.5",
54
+ "@types/node": "^18.17.3",
55
+ "eslint": "^8.46.0",
56
56
  "prettier": "^2.8.8",
57
- "typescript": "^5.0.4"
57
+ "typescript": "^5.1.6"
58
58
  },
59
59
  "renovate": {
60
60
  "extends": [
@@ -14,7 +14,6 @@ export function packageJson() {
14
14
  {
15
15
  files: [GLOB_PACKAGE_JSON],
16
16
  languageOptions: {
17
- // @ts-expect-error: the types for `parser` seems to be wrong
18
17
  parser,
19
18
  parserOptions: {
20
19
  jsonSyntax: 'JSON5',
package/src/shared.js CHANGED
@@ -61,6 +61,7 @@ export const GLOB_EXCLUDE = /** @type {const} */ ([
61
61
  '**/.output',
62
62
  '**/.vite-inspect',
63
63
  '**/.yalc',
64
+ '**/.svelte-kit',
64
65
  '**/dist-types',
65
66
 
66
67
  '**/CHANGELOG*.md',
package/src/typescript.js CHANGED
@@ -25,7 +25,6 @@ export function typescript(options) {
25
25
  {
26
26
  files: [GLOB_TS, GLOB_TSX, GLOB_JS, GLOB_JSX],
27
27
  languageOptions: {
28
- // @ts-expect-error: the types for `parser` seems to be wrong
29
28
  parser: tsParser,
30
29
  parserOptions: project
31
30
  ? {