Skip to content
This repository was archived by the owner on Dec 10, 2019. It is now read-only.

Commit 276761f

Browse files
author
New Geoff
committed
add .editorconfig and .eslintrc from pattern-engines branch
1 parent d7535dc commit 276761f

File tree

2 files changed

+85
-0
lines changed

2 files changed

+85
-0
lines changed

.editorconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# editorconfig.org
2+
root = true
3+
4+
[*]
5+
indent_style = space
6+
indent_size = 2
7+
tab_width = 2
8+
end_of_line = lf
9+
charset = utf-8
10+
trim_trailing_whitespace = true
11+
insert_final_newline = true

.eslintrc

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
{
2+
"env": {
3+
"node": true,
4+
"builtin": true
5+
},
6+
"globals": {},
7+
"rules": {
8+
"block-scoped-var": 2,
9+
"camelcase": 0,
10+
"curly": [
11+
2,
12+
"all"
13+
],
14+
"dot-notation": [
15+
1,
16+
{
17+
"allowKeywords": true
18+
}
19+
],
20+
"eqeqeq": [
21+
2,
22+
"allow-null"
23+
],
24+
"global-strict": [
25+
0,
26+
"never"
27+
],
28+
"guard-for-in": 2,
29+
"key-spacing": [
30+
0
31+
],
32+
"new-cap": 0,
33+
"no-bitwise": 2,
34+
"no-caller": 2,
35+
"no-cond-assign": [
36+
2,
37+
"except-parens"
38+
],
39+
"no-debugger": 2,
40+
"no-empty": 2,
41+
"no-eval": 2,
42+
"no-extend-native": 2,
43+
"no-extra-parens": 0,
44+
"no-irregular-whitespace": 1,
45+
"no-iterator": 2,
46+
"no-loop-func": 2,
47+
"no-mixed-requires": 0,
48+
"no-multi-str": 2,
49+
"no-multi-spaces": 0,
50+
"no-new": 2,
51+
"no-proto": 2,
52+
"no-script-url": 2,
53+
"no-sequences": 2,
54+
"no-shadow": 2,
55+
"no-undef": 2,
56+
"no-underscore-dangle": 1,
57+
"no-unused-vars": 2,
58+
"no-with": 2,
59+
"quotes": [
60+
0,
61+
"single"
62+
],
63+
"semi": [
64+
0,
65+
"never"
66+
],
67+
"strict": 0,
68+
"valid-typeof": 2,
69+
"wrap-iife": [
70+
2,
71+
"inside"
72+
]
73+
}
74+
}

0 commit comments

Comments
 (0)