@sequencemedia/eslint-config-typescript 0.1.40 → 0.1.42

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,4 +1,5 @@
1
1
  import parser from '@typescript-eslint/parser'
2
+ import stylistic from './stylistic.mjs'
2
3
  import typescript from './typescript.mjs'
3
4
 
4
5
  export default {
@@ -17,9 +18,11 @@ export default {
17
18
  '**/*.{ts,mts,cts}'
18
19
  ],
19
20
  plugins: {
21
+ ...stylistic.plugins,
20
22
  ...typescript.plugins
21
23
  },
22
24
  rules: {
25
+ ...stylistic.rules,
23
26
  ...typescript.rules
24
27
  }
25
28
  }
@@ -12,6 +12,13 @@ export default {
12
12
  '@stylistic/ts/comma-dangle': [
13
13
  'error',
14
14
  'never'
15
+ ],
16
+ '@stylistic/ts/comma-spacing': [
17
+ 'error',
18
+ {
19
+ before: false,
20
+ after: true
21
+ }
15
22
  ]
16
23
  }
17
24
  }
@@ -14,10 +14,6 @@ export default {
14
14
  import: i
15
15
  },
16
16
  rules: {
17
- /**
18
- * `@stylistic/eslint-plugin-ts`
19
- */
20
- '@stylistic/ts/comma-dangle': ['error', 'never'],
21
17
  /**
22
18
  * `@typescript-eslint`
23
19
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sequencemedia/eslint-config-typescript",
3
- "version": "0.1.40",
3
+ "version": "0.1.42",
4
4
  "description": "TypeScript configuration for ESLint 9",
5
5
  "keywords": [
6
6
  "JavaScript TypeScript Style",