-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy path.eslintrc
45 lines (45 loc) · 1.04 KB
/
.eslintrc
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
36
37
38
39
40
41
42
43
44
45
{
"extends": [
"airbnb",
"airbnb-typescript/base",
"plugin:vue/vue3-recommended",
"plugin:cypress/recommended",
"plugin:@intlify/vue-i18n/recommended",
"@antfu"
],
"env": {
"cypress/globals": true
},
"parser": "vue-eslint-parser",
"parserOptions": {
"parser": "@typescript-eslint/parser",
"project": "./tsconfig.json",
"extraFileExtensions": [
".vue",
".tsx"
],
"ecmaVersion": 2021,
"ecmaFeatures": {
"jsx": true
},
"sourceType": "module",
"allowImportExportEverywhere": true
},
"rules": {
"react/display-name": "off",
"nonblock-statement-body-position": "off",
"import/prefer-default-export": "off",
"react/jsx-filename-extension": "off",
"import/no-extraneous-dependencies": ["error", {
"devDependencies": true
}],
"@intlify/vue-i18n/no-missing-keys": "off",
"import/extensions": "off"
},
"settings": {
"vue-i18n": {
"localeDir": "./locales/*.{json,json5,yaml,yml}",
"messageSyntaxVersion": "^9.0.0"
}
}
}