Skip to content

Commit

Permalink
refactor: code with eslint and webpack
Browse files Browse the repository at this point in the history
* refactor: code with eslint and webpack
* chore: add src to package files, for NodeJS
  • Loading branch information
artentica authored and blex41 committed Jan 14, 2019
1 parent 7c1ee8a commit 9f8365a
Show file tree
Hide file tree
Showing 7 changed files with 2,460 additions and 2,072 deletions.
31 changes: 31 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"node": true
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 2017,
"sourceType": "module"
},
"rules": {
"indent": [
"error",
"tab"
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"double"
],
"semi": [
"error",
"always"
]
}
}
Loading

0 comments on commit 9f8365a

Please sign in to comment.