@juuso.piikkila/eslint-config-typescript 3.0.7 → 3.0.9

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/CHANGELOG.md CHANGED
@@ -1,3 +1,15 @@
1
+ ## [3.0.9](https://github.com/juusopiikkila/eslint-config-typescript/compare/3.0.8...3.0.9) (2025-03-09)
2
+
3
+ ### Bug Fixes
4
+
5
+ * update configs ([8b19e94](https://github.com/juusopiikkila/eslint-config-typescript/commit/8b19e9482ff032f76cc0a716b075e8101001ec18))
6
+
7
+ ## [3.0.8](https://github.com/juusopiikkila/eslint-config-typescript/compare/3.0.7...3.0.8) (2025-03-09)
8
+
9
+ ### Bug Fixes
10
+
11
+ * only check vue files ([a108a4d](https://github.com/juusopiikkila/eslint-config-typescript/commit/a108a4ddce56e1c2ed4910e3fe019ade8ddb2140))
12
+
1
13
  ## [3.0.7](https://github.com/juusopiikkila/eslint-config-typescript/compare/3.0.6...3.0.7) (2025-03-09)
2
14
 
3
15
  ### Bug Fixes
@@ -7,12 +7,20 @@ module.exports = [
7
7
  typescriptTypeChecking.recommended,
8
8
  {
9
9
  files: [
10
- '**/*.{js,jsx,cjs,mjs,ts,tsx,vue}',
10
+ '**/*.{ts,tsx,vue}',
11
11
  ],
12
12
  plugins: {
13
13
  '@stylistic': require('@stylistic/eslint-plugin'),
14
14
  '@typescript-eslint': require('@typescript-eslint/eslint-plugin'),
15
15
  },
16
+ languageOptions: {
17
+ parserOptions: {
18
+ project: true,
19
+ extraFileExtensions: [
20
+ '.vue',
21
+ ],
22
+ },
23
+ },
16
24
  rules: {
17
25
  '@stylistic/member-delimiter-style': [
18
26
  2,
@@ -7,8 +7,25 @@ module.exports = [
7
7
  ...pluginVueA11y.configs['flat/recommended'],
8
8
  {
9
9
  files: [
10
- '**/*.{ts,vue}',
10
+ '**/*.vue',
11
11
  ],
12
+ languageOptions: {
13
+ ecmaVersion: 'latest',
14
+ sourceType: 'module',
15
+ globals: {
16
+ ...globals['shared-node-browser'],
17
+ },
18
+ parser: require('vue-eslint-parser'),
19
+ parserOptions: {
20
+ project: true,
21
+ parser: {
22
+ ts: require('@typescript-eslint/parser'),
23
+ '<template>': 'espree',
24
+ },
25
+ extraFileExtensions: ['.vue'],
26
+ sourceType: 'module',
27
+ },
28
+ },
12
29
  rules: {
13
30
  'vue/custom-event-name-casing': [
14
31
  'error',
@@ -186,22 +203,5 @@ module.exports = [
186
203
  ],
187
204
  'vuejs-accessibility/label-has-for': 'off',
188
205
  },
189
- languageOptions: {
190
- ecmaVersion: 'latest',
191
- sourceType: 'module',
192
- globals: {
193
- ...globals['shared-node-browser'],
194
- },
195
- parser: require('vue-eslint-parser'),
196
- parserOptions: {
197
- project: true,
198
- parser: {
199
- ts: require('@typescript-eslint/parser'),
200
- '<template>': 'espree',
201
- },
202
- extraFileExtensions: ['.vue'],
203
- sourceType: 'module',
204
- },
205
- },
206
206
  },
207
207
  ];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@juuso.piikkila/eslint-config-typescript",
3
3
  "description": "ESLint config for typescript projects",
4
- "version": "3.0.7",
4
+ "version": "3.0.9",
5
5
  "main": "index.cjs",
6
6
  "author": "Juuso Piikkilä",
7
7
  "license": "MIT",