LaravelTest
57 строк · 1.1 Кб
1{
2"root": true,
3"parserOptions": {
4"ecmaVersion": 5,
5"sourceType": "script"
6},
7"env": {
8"jquery": true
9},
10"extends": [
11"plugin:unicorn/recommended",
12"xo",
13"xo/browser"
14],
15"rules": {
16"capitalized-comments": "off",
17"comma-dangle": [
18"error",
19"never"
20],
21"indent": [
22"error",
232,
24{
25"MemberExpression": "off",
26"SwitchCase": 1
27}
28],
29"multiline-ternary": [
30"error",
31"always-multiline"
32],
33"no-var": "off",
34"object-curly-spacing": [
35"error",
36"always"
37],
38"object-shorthand": "off",
39"prefer-arrow-callback": "off",
40"semi": [
41"error",
42"never"
43],
44"strict": "error",
45"unicorn/no-array-for-each": "off",
46"unicorn/no-for-loop": "off",
47"unicorn/no-null": "off",
48"unicorn/numeric-separators-style": "off",
49"unicorn/prefer-dataset": "off",
50"unicorn/prefer-includes": "off",
51"unicorn/prefer-module": "off",
52"unicorn/prefer-node-append": "off",
53"unicorn/prefer-query-selector": "off",
54"unicorn/prefer-spread": "off",
55"unicorn/prevent-abbreviations": "off"
56}
57}
58