@st1ggy/linter-config 2.35.2 → 2.36.1

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,49 +1,45 @@
1
- import type { Linter } from 'eslint'
1
+ import { type ConfigArray } from 'eslint'
2
+ import { type Config as PrettierConfig } from 'prettier'
3
+ import { type Config as StylelintConfig } from 'stylelint'
2
4
 
3
5
  declare module '@st1ggy/linter-config/eslint-next' {
4
- const config: Linter.Config[]
6
+ const config: ConfigArray
5
7
 
6
8
  export default config
7
9
  }
8
10
 
9
11
  declare module '@st1ggy/linter-config/eslint-react' {
10
- const config: Linter.Config[]
12
+ const config: ConfigArray
11
13
 
12
14
  export default config
13
15
  }
14
16
 
15
17
  declare module '@st1ggy/linter-config/eslint-svelte' {
16
- const config: Linter.Config[]
18
+ const config: ConfigArray
17
19
 
18
20
  export default config
19
21
  }
20
22
 
21
23
  declare module '@st1ggy/linter-config/eslint-common' {
22
- const config: Linter.Config[]
24
+ const config: ConfigArray
23
25
 
24
26
  export default config
25
27
  }
26
28
 
27
29
  declare module '@st1ggy/linter-config/prettier-common' {
28
- import type { Config } from 'prettier'
29
-
30
- const config: Config
30
+ const config: PrettierConfig
31
31
 
32
32
  export default config
33
33
  }
34
34
 
35
35
  declare module '@st1ggy/linter-config/prettier-svelte' {
36
- import type { Config } from 'prettier'
37
-
38
- const config: Config
36
+ const config: PrettierConfig
39
37
 
40
38
  export default config
41
39
  }
42
40
 
43
41
  declare module '@st1ggy/linter-config/stylelint-scss' {
44
- import type { Config } from 'stylelint'
45
-
46
- const config: Config
42
+ const config: StylelintConfig
47
43
 
48
44
  export default config
49
45
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@st1ggy/linter-config",
3
- "version": "2.35.2",
3
+ "version": "2.36.1",
4
4
  "description": "ESLint, Stylelint and Prettier configs for React, Vue [WIP] and Svelte [WIP]",
5
5
  "private": false,
6
6
  "repository": {
@@ -53,7 +53,7 @@
53
53
  "typescript-eslint": "^8.46.2"
54
54
  },
55
55
  "type": "module",
56
- "types": "./src/index.d.ts",
56
+ "types": "index.d.ts",
57
57
  "exports": {
58
58
  ".": "./src/index.js",
59
59
  "./eslint-next": "./src/eslint/eslint.config.next.js",
@@ -67,7 +67,8 @@
67
67
  "files": [
68
68
  "src",
69
69
  "patches",
70
- "scripts"
70
+ "scripts",
71
+ "index.d.ts"
71
72
  ],
72
73
  "scripts": {
73
74
  "lint": "eslint .",