Skip to content

Commit

Permalink
add .editorconfig and .eslintrc from pattern-engines branch
Browse files Browse the repository at this point in the history
  • Loading branch information
New Geoff committed Feb 27, 2016
1 parent d7535dc commit 276761f
Show file tree
Hide file tree
Showing 2 changed files with 85 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# editorconfig.org
root = true

[*]
indent_style = space
indent_size = 2
tab_width = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
74 changes: 74 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
{
"env": {
"node": true,
"builtin": true
},
"globals": {},
"rules": {
"block-scoped-var": 2,
"camelcase": 0,
"curly": [
2,
"all"
],
"dot-notation": [
1,
{
"allowKeywords": true
}
],
"eqeqeq": [
2,
"allow-null"
],
"global-strict": [
0,
"never"
],
"guard-for-in": 2,
"key-spacing": [
0
],
"new-cap": 0,
"no-bitwise": 2,
"no-caller": 2,
"no-cond-assign": [
2,
"except-parens"
],
"no-debugger": 2,
"no-empty": 2,
"no-eval": 2,
"no-extend-native": 2,
"no-extra-parens": 0,
"no-irregular-whitespace": 1,
"no-iterator": 2,
"no-loop-func": 2,
"no-mixed-requires": 0,
"no-multi-str": 2,
"no-multi-spaces": 0,
"no-new": 2,
"no-proto": 2,
"no-script-url": 2,
"no-sequences": 2,
"no-shadow": 2,
"no-undef": 2,
"no-underscore-dangle": 1,
"no-unused-vars": 2,
"no-with": 2,
"quotes": [
0,
"single"
],
"semi": [
0,
"never"
],
"strict": 0,
"valid-typeof": 2,
"wrap-iife": [
2,
"inside"
]
}
}

0 comments on commit 276761f

Please sign in to comment.