forked from kieuminhcanh/vuetify-notifier
-
Notifications
You must be signed in to change notification settings - Fork 0
/
eslintbackgup.js
35 lines (34 loc) · 939 Bytes
/
eslintbackgup.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
import typescript from 'typescript-eslint'
import vuetify from 'eslint-plugin-vuetify/src/index.js'
import vue from 'eslint-plugin-vue'
import vueParser from 'vue-eslint-parser'
import typescriptParser from '@typescript-eslint/parser'
// import vue from '@vue/eslint-config-typescript/recommended'
export default typescript.config(
...typescript.configs.recommended,
vuetify.configs.recommended,
{
name: 'vue',
files: ['**/*.vue'],
plugins: {
vue: vue,
},
languageOptions: {
parser: vueParser,
parserOptions: {
parser: typescriptParser,
extraFileExtensions: ['.vue'],
sourceType: 'module',
},
},
},
{
rules: {
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/ban-ts-comment': 'off',
},
},
{
ignores: ['**/*.d.ts', '!node_modules/', '!node_modules/**/*', '!.git/', '!dist/', '!build/', '!public/'],
}
)