@juuso.piikkila/eslint-config-typescript 3.0.2 → 3.0.3
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 +6 -0
- package/configurations/vue/index.cjs +9 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
## [3.0.3](https://github.com/juusopiikkila/eslint-config-typescript/compare/3.0.2...3.0.3) (2025-03-09)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
* vue config fixed? ([99f5891](https://github.com/juusopiikkila/eslint-config-typescript/commit/99f5891b515d26a754385debcfdbd89e020fda4c))
|
|
6
|
+
|
|
1
7
|
## [3.0.2](https://github.com/juusopiikkila/eslint-config-typescript/compare/3.0.1...3.0.2) (2025-03-09)
|
|
2
8
|
|
|
3
9
|
### Bug Fixes
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
const pluginVue = require('eslint-plugin-vue');
|
|
2
2
|
const pluginVueA11y = require('eslint-plugin-vuejs-accessibility');
|
|
3
3
|
const globals = require('globals');
|
|
4
|
+
const typescriptEslint = require('typescript-eslint');
|
|
4
5
|
|
|
5
6
|
module.exports = [
|
|
6
7
|
...pluginVue.configs['flat/recommended'],
|
|
7
8
|
...pluginVueA11y.configs['flat/recommended'],
|
|
8
9
|
{
|
|
10
|
+
files: [
|
|
11
|
+
'**/*.{ts,vue}',
|
|
12
|
+
],
|
|
9
13
|
rules: {
|
|
10
14
|
'vue/custom-event-name-casing': [
|
|
11
15
|
'error',
|
|
@@ -184,9 +188,13 @@ module.exports = [
|
|
|
184
188
|
'vuejs-accessibility/label-has-for': 'off',
|
|
185
189
|
},
|
|
186
190
|
languageOptions: {
|
|
191
|
+
ecmaVersion: 'latest',
|
|
187
192
|
sourceType: 'module',
|
|
188
193
|
globals: {
|
|
189
|
-
...globals
|
|
194
|
+
...globals['shared-node-browser'],
|
|
195
|
+
},
|
|
196
|
+
parserOptions: {
|
|
197
|
+
parser: typescriptEslint.parser,
|
|
190
198
|
},
|
|
191
199
|
},
|
|
192
200
|
},
|