@st1ggy/linter-config 2.35.0 → 2.35.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.d.ts +21 -7
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@st1ggy/linter-config",
3
- "version": "2.35.0",
3
+ "version": "2.35.1",
4
4
  "description": "ESLint, Stylelint and Prettier configs for React, Vue [WIP] and Svelte [WIP]",
5
5
  "private": false,
6
6
  "repository": {
package/src/index.d.ts CHANGED
@@ -3,29 +3,43 @@ import { type Config as PrettierConfig } from 'prettier'
3
3
  import { type Config as StylelintConfig } from 'stylelint'
4
4
 
5
5
  declare module '@st1ggy/linter-config/eslint-next' {
6
- export default config as ConfigArray
6
+ const config: ConfigArray
7
+
8
+ export default config
7
9
  }
8
10
 
9
11
  declare module '@st1ggy/linter-config/eslint-react' {
10
- export default config as ConfigArray
12
+ const config: ConfigArray
13
+
14
+ export default config
11
15
  }
12
16
 
13
17
  declare module '@st1ggy/linter-config/eslint-svelte' {
14
- export default config as ConfigArray
18
+ const config: ConfigArray
19
+
20
+ export default config
15
21
  }
16
22
 
17
23
  declare module '@st1ggy/linter-config/eslint-common' {
18
- export default config as ConfigArray
24
+ const config: ConfigArray
25
+
26
+ export default config
19
27
  }
20
28
 
21
29
  declare module '@st1ggy/linter-config/prettier-common' {
22
- export default config as PrettierConfig
30
+ const config: PrettierConfig
31
+
32
+ export default config
23
33
  }
24
34
 
25
35
  declare module '@st1ggy/linter-config/prettier-svelte' {
26
- export default config as PrettierConfig
36
+ const config: PrettierConfig
37
+
38
+ export default config
27
39
  }
28
40
 
29
41
  declare module '@st1ggy/linter-config/stylelint-scss' {
30
- export default config as StylelintConfig
42
+ const config: StylelintConfig
43
+
44
+ export default config
31
45
  }