-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.js
More file actions
38 lines (38 loc) · 1.1 KB
/
.eslintrc.js
File metadata and controls
38 lines (38 loc) · 1.1 KB
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
module.exports = {
root: true,
env: {
browser: true,
es6: true,
node: true,
},
parserOptions: {
parser: "@babel/eslint-parser",
requireConfigFile: false,
},
extends: ["@nuxtjs", "plugin:nuxt/recommended"],
plugins: [],
// add your custom rules here
rules: {
quotes: ["error", "double", { avoidEscape: true }],
"react/prop-types": ["off"],
"react/jsx-props-no-spreading": "off",
"react/react-in-jsx-scope": 0,
"react/prefer-stateless-function": 0,
"react/jsx-filename-extension": 0,
"react/jsx-one-expression-per-line": 0,
"no-nested-ternary": 0,
"linebreak-style": 0,
"global-require": 0,
"eslint linebreak-style": [0, "error", "windows"],
"no-console": "off",
"import/prefer-default-export": "off",
"no-confusing-arrow": "off",
"implicit-arrow-linebreak": "off",
semi: [2, "always"],
"comma-dangle": ["error", "always-multiline"],
"space-before-function-paren": ["error", "never"],
"vue/html-self-closing": "off",
"vue/singleline-html-element-content-newline": "off",
"vue/html-quotes": "off",
},
};