forked from PapillonApp/Papillon-ED-Core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
28 lines (28 loc) · 848 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
{
"env": {
"browser": true,
"es2021": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": { "project": ["./tsconfig.json"] },
"plugins": [
"@stylistic"
],
"rules": {
"@stylistic/indent": ["error", 4],
"@stylistic/quotes": ["error", "double"],
"@stylistic/eol-last": ["error", "always"],
"@stylistic/array-bracket-spacing": ["error", "never"],
"@stylistic/no-multiple-empty-lines": ["error", {
"max": 2,
"maxBOF": 0,
"maxEOF": 1
}],
"@stylistic/semi": ["error", "always"]
},
"ignorePatterns": ["src/**/*.js", "src/*.js", "*.js", "src/types", "dist", "*.d.ts", "tests", "examples"]
}