forked from microformats/microformats-parser
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
35 lines (35 loc) · 888 Bytes
/
.eslintrc.json
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
{
"parser": "@typescript-eslint/parser",
"extends": [
"plugin:@typescript-eslint/recommended",
"plugin:import/errors",
"plugin:import/typescript",
"prettier"
],
"ignorePatterns": ["node_modules/", "dist/", "public/", "**/*.html"],
"settings": {
"import/resolver": {
"node": { "extensions": [".ts"] }
}
},
"rules": {
"arrow-body-style": ["error", "as-needed"],
"import/order": [
"error",
{
"groups": [["builtin", "external", "internal"]],
"newlines-between": "always-and-inside-groups"
}
]
},
"overrides": [
{
"files": ["./demo/**/*.js", "./rollup.config.js"],
"rules": {
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/explicit-module-boundary-types": "off"
}
}
]
}