forked from samuelgozi/firebase-firestore-lite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
31 lines (31 loc) · 763 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
24
25
26
27
28
29
30
31
{
"env": {
"es6": true,
"browser": true,
"jest/globals": true
},
"parserOptions": {
"ecmaVersion": 2017,
"sourceType": "module"
},
"parser": "babel-eslint",
"extends": ["eslint:recommended", "plugin:jest/recommended", "prettier"],
"rules": {
"no-console": ["error", { "allow": ["error"] }],
"indent": ["error", "tab", { "SwitchCase": 1 }],
"linebreak-style": ["error", "unix"],
"quotes": ["error", "single", { "avoidEscape": true }],
"semi": ["error", "always"],
"no-mixed-spaces-and-tabs": ["warn", "smart-tabs"],
"prefer-rest-params": "warn",
"prefer-const": "warn",
"prettier/prettier": "error"
},
"overrides": [
{
"files": ["*.ts"],
"parser": "@typescript-eslint/parser"
}
],
"plugins": ["jest", "prettier"]
}