Skip to content

Commit

Permalink
Update eslint configs
Browse files Browse the repository at this point in the history
  • Loading branch information
Surya Gaddipati committed Apr 10, 2015
1 parent 9b1d912 commit 4a20db4
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 3 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
src/main/jsx/css/
18 changes: 17 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,22 @@
{
"parser": "babel-eslint",
"rules": {
"strict": 0
"strict": 0,
"no-underscore-dangle": 0,
"no-unused-vars": 0,
"curly": 0,
"no-multi-spaces": 0,
"key-spacing": 0,
"no-return-assign": 0,
"consistent-return": 0,
"no-shadow": 0,
"no-comma-dangle": 0,
"no-use-before-define": 0,
"no-empty": 0,
"new-parens": 0,
"no-cond-assign": 0
},
"env": {
"node": true
}
}
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,11 @@
"autoprefixer-loader": "^1.1.0",
"babel": "^5.0.0",
"babel-core": "latest",
"babel-eslint": "^2.0.2",
"babel-loader": "latest",
"css-loader": "^0.9.1",
"chai": "latest",
"css-loader": "^0.9.1",
"eslint": "^0.18.0",
"extract-text-webpack-plugin": "^0.3.8",
"file-loader": "^0.8.1",
"jest-cli": "^0.2.2",
Expand Down
17 changes: 16 additions & 1 deletion src/main/jsx/.eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,21 @@
"parser": "babel-eslint",
"rules": {
"strict": 0,
"quotes": [2, "single"]
"no-underscore-dangle": 0,
"no-unused-vars": 0,
"curly": 0,
"no-multi-spaces": 0,
"key-spacing": 0,
"no-return-assign": 0,
"consistent-return": 0,
"no-shadow": 0,
"no-comma-dangle": 0,
"no-use-before-define": 0,
"no-empty": 0,
"new-parens": 0,
"no-cond-assign": 0
},
"env": {
"node": true
}
}

0 comments on commit 4a20db4

Please sign in to comment.