Skip to content

Commit

Permalink
Moved eslint config to .eslintrc
Browse files Browse the repository at this point in the history
  • Loading branch information
lindell committed Jun 27, 2016
1 parent faf51a9 commit 437dbfe
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
18 changes: 18 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"env": {
"browser": true,
"node": true
},
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"extends": "eslint:recommended",
"predef": "jQuery",
"rules": {
"semi": ["warn", "always"],
"no-console": "error",
"no-control-regex": "off",
"indent": ["warn", "tab"]
}
}
18 changes: 0 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,23 +77,5 @@
"dependencies": {
"canvas": "^1.0.0",
"commander": ">=2.8.0"
},
"eslintConfig": {
"env": {
"browser": true,
"node": true
},
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"extends": "eslint:recommended",
"predef": "jQuery",
"rules": {
"semi": ["warn", "always"],
"no-console": "error",
"no-control-regex": "off",
"indent": ["warn", "tab"]
}
}
}

0 comments on commit 437dbfe

Please sign in to comment.