Skip to content

Commit 36a78b6

Browse files
Update eslint for Vue
1 parent a1056a5 commit 36a78b6

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

Vue/eslint.config.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,19 @@
11
import spellCheck from 'eslint-config-devextreme/spell-check';
22
import vueConfig from 'eslint-config-devextreme/vue';
3+
import tsParser from '@typescript-eslint/parser';
34

45
export default [
56
{
67
ignores: ['node_modules/**', 'dist/**', 'eslint.config.js', 'stylelint.config.mjs'],
78
},
89
...spellCheck,
910
...vueConfig,
11+
{
12+
files: ['**/*.vue'],
13+
languageOptions: {
14+
parserOptions: {
15+
parser: tsParser,
16+
},
17+
},
18+
},
1019
];

Vue/package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)