-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.cjs
48 lines (48 loc) · 1.35 KB
/
.eslintrc.cjs
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
47
48
module.exports = {
env: {
node: true
},
extends: ["plugin:vue/vue3-recommended", "eslint:recommended", "prettier"],
ignorePatterns: ["/public/**/**.js"],
plugins: ["sort-keys-fix"],
root: true,
rules: {
"array-element-newline": "off",
curly: "off",
"dot-location": "off",
"func-names": ["error", "as-needed"],
"function-call-argument-newline": "off",
"function-paren-newline": "off",
"id-length": "off",
indent: "off",
"max-depth": "off",
"max-len": "off",
"max-lines": "off",
"max-lines-per-function": "off",
"max-params": "off",
"max-statements": "off",
"new-cap": "off",
"no-console": "off",
"no-extra-parens": "off",
"no-magic-numbers": "off",
"no-ternary": "off",
"no-undefined": "off",
"no-useless-return": "off",
"nonblock-statement-body-position": "off",
"object-curly-spacing": "off",
"object-property-newline": "off",
"one-var": "off",
"padded-blocks": "off",
"prefer-named-capture-group": "off",
"quote-props": "off",
"require-atomic-updates": "off",
"require-unicode-regexp": "off",
semi: "off",
"sort-imports": "off",
"sort-keys-fix/sort-keys-fix": "error",
"space-before-function-paren": "off",
"vue/multi-word-component-names": "off",
"vue/no-v-html": "off",
"vue/require-default-prop": "off"
}
}