-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
23 lines (22 loc) · 983 Bytes
/
.eslintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
########################################################################################################################
## Phar's standard .eslintrc configuration. ##
########################################################################################################################
root: true
parser: "@typescript-eslint/parser"
plugins:
- "@typescript-eslint"
extends:
- "eslint:recommended"
- "plugin:@typescript-eslint/recommended"
rules:
arrow-parens: ["error"]
comma-dangle: ["error", "always-multiline"]
eol-last: ["error"]
indent: ["error", 4, { "SwitchCase": 1 }]
max-len: ["warn", 120]
no-console: ["warn"]
no-case-declarations: ["off"]
object-curly-spacing: ["error", "always"]
quotes: ["error", "double"]
quote-props: ["error", "consistent"]
semi: ["error"]