UNPKG

828 BJSONView Raw
1{
2 "parserOptions": {
3 "ecmaVersion": 2017,
4 "ecmaFeatures": {
5 "experimentalObjectRestSpread": true
6 }
7 },
8 "env": {
9 "browser": true,
10 "commonjs": true,
11 "es6": true,
12 "node": true
13 },
14 "extends": "eslint:recommended",
15 "rules": {
16 "prettier/prettier": [
17 "error",
18 {
19 "singleQuote": true
20 }
21 ],
22 "no-console": "off",
23 "indent": [
24 "error",
25 2,
26 {
27 "SwitchCase": 1
28 }
29 ],
30 "linebreak-style": [
31 "error",
32 "unix"
33 ],
34 "quotes": [
35 "error",
36 "single"
37 ],
38 "semi": [
39 "error",
40 "always"
41 ],
42 "no-unused-vars": [
43 "error",
44 {
45 "vars": "all",
46 "argsIgnorePattern": "^_",
47 "varsIgnorePattern": "^_"
48 }
49 ]
50 },
51 "plugins": [
52 "prettier"
53 ]
54}