forked from binaryoverload/nuxt-sentry
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.cjs
42 lines (42 loc) · 1.09 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
module.exports = {
root: true,
extends: ["@nuxt/eslint-config", "plugin:prettier/recommended"],
plugins: ["import"],
rules: {
"no-console": ["warn", { allow: ["warn", "error", "info"] }],
quotes: ["error", "double", { allowTemplateLiterals: false, avoidEscape: true }],
"@typescript-eslint/no-unused-vars": "warn",
"@typescript-eslint/consistent-type-imports": "error",
"vue/multi-word-component-names": 0,
"prettier/prettier": ["warn"],
"import/order": [
"error",
{
groups: [
"type",
"builtin",
"external",
"internal",
["sibling", "parent"],
"index",
"unknown",
],
"newlines-between": "always",
alphabetize: {
order: "asc",
caseInsensitive: true,
},
},
],
"sort-imports": [
"error",
{
ignoreCase: false,
ignoreDeclarationSort: true,
ignoreMemberSort: false,
memberSyntaxSortOrder: ["none", "all", "multiple", "single"],
allowSeparatedGroups: true,
},
],
},
}