@sequencemedia/eslint-config-typescript 0.1.38 → 0.1.40
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/configs/index.mjs +3 -0
- package/configs/stylistic/merge.mjs +9 -0
- package/configs/stylistic.mjs +17 -0
- package/configs/typescript.mjs +4 -1
- package/index.mjs +3 -0
- package/package.json +4 -3
package/configs/index.mjs
CHANGED
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import recommended from './recommended.mjs'
|
|
2
|
+
import stylistic from './stylistic.mjs'
|
|
2
3
|
import typescript from './typescript.mjs'
|
|
3
4
|
|
|
4
5
|
export {
|
|
5
6
|
recommended,
|
|
7
|
+
stylistic,
|
|
6
8
|
typescript
|
|
7
9
|
}
|
|
8
10
|
|
|
9
11
|
export default {
|
|
10
12
|
recommended,
|
|
13
|
+
stylistic,
|
|
11
14
|
typescript
|
|
12
15
|
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import stylistic from '@stylistic/eslint-plugin-ts'
|
|
2
|
+
|
|
3
|
+
export default {
|
|
4
|
+
name: '@sequencemedia/eslint-config-typescript/stylistic',
|
|
5
|
+
plugins: {
|
|
6
|
+
'@stylistic/ts': stylistic
|
|
7
|
+
},
|
|
8
|
+
rules: {
|
|
9
|
+
/**
|
|
10
|
+
* `@stylistic/eslint-plugin-ts`
|
|
11
|
+
*/
|
|
12
|
+
'@stylistic/ts/comma-dangle': [
|
|
13
|
+
'error',
|
|
14
|
+
'never'
|
|
15
|
+
]
|
|
16
|
+
}
|
|
17
|
+
}
|
package/configs/typescript.mjs
CHANGED
package/index.mjs
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import parser from '@typescript-eslint/parser'
|
|
2
2
|
import recommended from './configs/recommended.mjs'
|
|
3
|
+
import stylistic from './configs/stylistic.mjs'
|
|
3
4
|
import typescript from './configs/typescript.mjs'
|
|
4
5
|
|
|
5
6
|
export const configs = {
|
|
6
7
|
recommended,
|
|
8
|
+
stylistic,
|
|
7
9
|
typescript
|
|
8
10
|
}
|
|
9
11
|
|
|
@@ -24,5 +26,6 @@ export default [
|
|
|
24
26
|
'**/*.{ts,mts,cts}'
|
|
25
27
|
]
|
|
26
28
|
},
|
|
29
|
+
stylistic,
|
|
27
30
|
typescript
|
|
28
31
|
]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sequencemedia/eslint-config-typescript",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.40",
|
|
4
4
|
"description": "TypeScript configuration for ESLint 9",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"JavaScript TypeScript Style",
|
|
@@ -52,6 +52,7 @@
|
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"@sequencemedia/eslint-merge": "^0.0.10",
|
|
55
|
+
"@stylistic/eslint-plugin-ts": "^4.0.1",
|
|
55
56
|
"@typescript-eslint/eslint-plugin": "^8.24.1",
|
|
56
57
|
"@typescript-eslint/parser": "^8.24.1",
|
|
57
58
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
@@ -61,9 +62,9 @@
|
|
|
61
62
|
"globals": "^16.0.0"
|
|
62
63
|
},
|
|
63
64
|
"devDependencies": {
|
|
64
|
-
"@sequencemedia/eslint-config-standard": "^0.2.
|
|
65
|
+
"@sequencemedia/eslint-config-standard": "^0.2.27",
|
|
65
66
|
"chai": "^5.2.0",
|
|
66
|
-
"eslint": "^9.
|
|
67
|
+
"eslint": "^9.21.0",
|
|
67
68
|
"husky": "^9.1.7",
|
|
68
69
|
"mocha": "^11.1.0"
|
|
69
70
|
},
|