forked from jeremykenedy/laravel-spa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
46 lines (46 loc) · 1.21 KB
/
.eslintrc.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
36
37
38
39
40
41
42
43
44
45
46
module.exports = {
env: {
browser: true,
es6: true,
node: true
},
extends: [
"eslint:recommended",
"plugin:vue/vue3-recommended",
"plugin:vue/vue3-essential",
"@vue/eslint-config-typescript/recommended",
"@vue/eslint-config-prettier",
"plugin:storybook/recommended"
// "airbnb-base"
],
globals: {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly",
"ga": true
},
parserOptions: {
ecmaVersion: 13,
sourceType: "module",
ecmaFeatures : {
jsx : false
}
},
plugins: ["vue", "html", "prettier"],
ignorePatterns: ["**/node_modules", "**/vendor"],
rules: {
"no-console": process.env.NODE_ENV === "production" ? "warn" : "off",
"no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off",
// override/add rules settings here, such as:
'vue/no-unused-vars': 0,
"vue/multi-word-component-names": 0,
"vue/html-self-closing": 0,
"no-unused-vars": 0,
"@typescript-eslint/no-empty-function": 0,
"no-useless-catch": 0,
"@typescript-eslint/no-unused-vars": 0,
"vue/no-unused-components": 0,
"vue/require-explicit-emits": 0,
"@typescript-eslint/no-this-alias": 0,
"no-undef": 0
}
};