UNPKG

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