@rhyster/eslint-config 1.8.9 → 1.8.10

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":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AACA,OAAO,UAAU,MAAM,iBAAiB,CAAC;AAiBzC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAmBrC,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IASa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAErC,KAAK,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;AAiB5B,eAAO,MAAM,IAAI,EAAE,MAAM,EAGtB,CAAC;AAEJ,eAAO,MAAM,IAAI,EAAE,MAAM,EAgBxB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,MAAM,EAM3B,CAAC;AAEF,eAAO,MAAM,GAAG,EAAE,MAAM,EASvB,CAAC"}
@@ -1,36 +1,5 @@
1
1
  import type { Linter } from 'eslint';
2
2
  type Config = Linter.Config;
3
- type Plugin = NonNullable<Config['plugins']>[string];
4
- declare const _default: (Config | {
5
- readonly name: "@rhyster/eslint-config/airbnb/general-vue";
6
- readonly plugins: {
7
- readonly vue: Plugin;
8
- readonly '@typescript-eslint': import("eslint").ESLint.Plugin;
9
- readonly '@stylistic': import("eslint").ESLint.Plugin;
10
- readonly 'import-x': import("eslint").ESLint.Plugin;
11
- };
12
- readonly settings: {
13
- readonly 'import-x/parsers': {
14
- readonly 'vue-eslint-parser': readonly [".vue"];
15
- readonly espree: readonly [".js", ".mjs"];
16
- readonly '@typescript-eslint/parser': readonly [".ts", ".d.ts"];
17
- };
18
- readonly 'import-x/resolver': {
19
- readonly node: {
20
- readonly extensions: readonly [".mjs", ".js", ".json", ".ts", ".d.ts", ".vue"];
21
- };
22
- };
23
- readonly 'import-x/extensions': readonly [".js", ".mjs", ".ts", ".d.ts", ".vue"];
24
- readonly 'import-x/core-modules': readonly [];
25
- readonly 'import-x/ignore': readonly ["node_modules", "\\.(coffee|scss|css|less|hbs|svg|json)$"];
26
- readonly 'import-x/external-module-folders': readonly ["node_modules", "node_modules/@types"];
27
- };
28
- readonly languageOptions: {
29
- readonly parser: Linter.Parser | undefined;
30
- readonly parserOptions: {
31
- readonly projectService: true;
32
- };
33
- };
34
- })[];
35
- export default _default;
3
+ declare const vueRules: Config[];
4
+ export default vueRules;
36
5
  //# sourceMappingURL=vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"vue.d.ts","sourceRoot":"","sources":["../../../src/rules/vue.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAErC,KAAK,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;AAC5B,KAAK,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC;;;;sBAQ3B,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6ChC,wBAKqB"}
1
+ {"version":3,"file":"vue.d.ts","sourceRoot":"","sources":["../../../src/rules/vue.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAErC,KAAK,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;AAsD5B,QAAA,MAAM,QAAQ,EAAE,MAAM,EAKrB,CAAC;AAEF,eAAe,QAAQ,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rhyster/eslint-config",
3
- "version": "1.8.9",
3
+ "version": "1.8.10",
4
4
  "description": "ESLint config",
5
5
  "type": "module",
6
6
  "exports": {
@@ -36,7 +36,7 @@
36
36
  "license": "MIT",
37
37
  "devDependencies": {
38
38
  "@types/confusing-browser-globals": "^1.0.3",
39
- "eslint": "^9.37.0",
39
+ "eslint": "^9.38.0",
40
40
  "jiti": "^2.6.1",
41
41
  "typescript": "^5.9.3",
42
42
  "unbuild": "^3.6.1"
@@ -45,16 +45,16 @@
45
45
  "eslint": ">= 9"
46
46
  },
47
47
  "dependencies": {
48
- "@eslint/js": "^9.37.0",
49
- "@stylistic/eslint-plugin": "^5.4.0",
48
+ "@eslint/js": "^9.38.0",
49
+ "@stylistic/eslint-plugin": "^5.5.0",
50
50
  "confusing-browser-globals": "^1.0.11",
51
51
  "eslint-import-resolver-typescript": "^4.4.4",
52
52
  "eslint-plugin-import-x": "^4.16.1",
53
53
  "eslint-plugin-n": "^17.23.1",
54
- "eslint-plugin-vue": "^10.5.0",
54
+ "eslint-plugin-vue": "^10.5.1",
55
55
  "globals": "^16.4.0",
56
- "typescript-eslint": "^8.46.0",
56
+ "typescript-eslint": "^8.46.1",
57
57
  "vue-eslint-parser": "^10.2.0"
58
58
  },
59
- "packageManager": "pnpm@10.18.2"
59
+ "packageManager": "pnpm@10.18.3"
60
60
  }
package/src/index.ts CHANGED
@@ -20,7 +20,7 @@ import type { Linter } from 'eslint';
20
20
 
21
21
  type Config = Linter.Config;
22
22
 
23
- const coreConfigs = [
23
+ const coreConfigs: Config[] = [
24
24
  js.configs.recommended,
25
25
  general,
26
26
  ...ts.configs.strictTypeChecked as unknown as Config[],
@@ -33,14 +33,14 @@ const coreConfigs = [
33
33
  imports,
34
34
  strict,
35
35
  typescript,
36
- ] as const satisfies Config[];
36
+ ];
37
37
 
38
- export const core = coreConfigs.map((config) => ({
38
+ export const core: Config[] = coreConfigs.map((config) => ({
39
39
  ...config,
40
40
  files: ['src/**/*.ts'],
41
- })) satisfies Config[];
41
+ }));
42
42
 
43
- export const node = [
43
+ export const node: Config[] = [
44
44
  ...core,
45
45
  {
46
46
  name: '@rhyster/eslint-config/setup-node',
@@ -56,17 +56,17 @@ export const node = [
56
56
  ...nodeRules,
57
57
  files: ['src/**/*.ts'],
58
58
  },
59
- ] as const satisfies Config[];
59
+ ];
60
60
 
61
- export const browser = [
61
+ export const browser: Config[] = [
62
62
  ...core,
63
63
  {
64
64
  ...browserRules,
65
65
  files: ['src/**/*.ts'],
66
66
  },
67
- ] as const satisfies Config[];
67
+ ];
68
68
 
69
- export const vue = [
69
+ export const vue: Config[] = [
70
70
  ...browser.map((config) => ({
71
71
  ...config,
72
72
  files: ['src/**/*.ts', 'src/**/*.vue'],
@@ -75,4 +75,4 @@ export const vue = [
75
75
  ...config,
76
76
  files: ['src/**/*.vue'],
77
77
  })),
78
- ] as const satisfies Config[];
78
+ ];
package/src/rules/vue.ts CHANGED
@@ -60,9 +60,11 @@ const vueConfigs: Config = {
60
60
  },
61
61
  } as const satisfies Config;
62
62
 
63
- export default [
63
+ const vueRules: Config[] = [
64
64
  generalVue,
65
65
  ...vuePlugin.configs['flat/recommended'] as unknown as Config[],
66
66
  setupVue,
67
67
  vueConfigs,
68
- ] satisfies Config[];
68
+ ];
69
+
70
+ export default vueRules;