Skip to content

Commit

Permalink
add editorconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
lcxfs1991 committed Nov 4, 2017
1 parent 7e2d017 commit 549a88c
Show file tree
Hide file tree
Showing 32 changed files with 869 additions and 729 deletions.
16 changes: 16 additions & 0 deletions .editorconfig
@@ -0,0 +1,16 @@
root = true

[*]
charset = utf-8
end_of_line = lf
indent_size = 4
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
trim_trailing_whitespace = false

[{package.json,.travis.yml}]
indent_style = space
indent_size = 2
9 changes: 4 additions & 5 deletions .eslintrc.js
@@ -1,14 +1,13 @@
module.exports = {
"env": {},
"extends": [
"@alloyteam/eslint-config-standard",
"eslint-config-alloy",
],
"plugins": [],
"rules": {
"no-mixed-operators": 0,
'one-var': 'off'
},
"globals": {
"define": true,
"$": true,
"$": true
}
};
};

0 comments on commit 549a88c

Please sign in to comment.