Skip to content

Commit

Permalink
switched to eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
my8bit committed Aug 24, 2016
1 parent 0967f58 commit f0688e2
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 136 deletions.
36 changes: 36 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"env": {
"browser": true,
"es6": true
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"jsx": true
},
"sourceType": "module"
},
"plugins": [
"react"
],
"rules": {
"react/jsx-uses-vars": 1,
"indent": [
"error",
2
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"single"
],
"semi": [
"error",
"always"
]
}
}
72 changes: 0 additions & 72 deletions .jscsrc

This file was deleted.

64 changes: 0 additions & 64 deletions .jshintrc

This file was deleted.

6 changes: 6 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"start": "webpack-dev-server",
"build": "webpack",
"test": "mocha --compilers js:babel-core/register",
"eslint": "eslint",
"jscs": "gulp jscs",
"coverage": "./node_modules/babel-cli/bin/babel-node.js node_modules/.bin/babel-istanbul cover _mocha --report text --report html -- test",
"test:watch": "mocha --compilers js:babel-core/register -w",
Expand All @@ -32,6 +33,11 @@
"copy-webpack-plugin": "^3.0.1",
"coveralls": "^2.11.11",
"css-loader": "^0.24.0",
"eslint": "^3.3.1",
"eslint-config-standard": "^6.0.0",
"eslint-plugin-promise": "^2.0.1",
"eslint-plugin-react": "^6.1.2",
"eslint-plugin-standard": "^2.0.0",
"exorcist": "^0.4.0",
"extract-text-webpack-plugin": "^1.0.1",
"fetch-mock": "^5.0.0",
Expand Down

0 comments on commit f0688e2

Please sign in to comment.