Merge pull request #37 from muffinresearch/remove-jscs
Remove jscs in favour of just using eslint
This commit is contained in:
Коммит
d13f5a934f
|
@ -1,2 +0,0 @@
|
|||
node_modules
|
||||
dist
|
5
.jscsrc
5
.jscsrc
|
@ -1,5 +0,0 @@
|
|||
{
|
||||
"preset": "airbnb",
|
||||
"excludeFiles": ['dist'],
|
||||
"requireSpacesInsideObjectBrackets": false
|
||||
}
|
|
@ -3,7 +3,6 @@ node_js:
|
|||
- "4"
|
||||
env:
|
||||
- TASK=lint
|
||||
- TASK=jscs
|
||||
cache:
|
||||
directories:
|
||||
- node_modules
|
||||
|
|
|
@ -31,7 +31,6 @@ nvm. See https://github.com/creationix/nvm for more info.
|
|||
| npm run dev:disco | As above but just the discovery pane code |
|
||||
| npm run lint | Lints the files with `eslint` (Run in `npm test`)|
|
||||
| npm run eslint | An alias for `npm run lint` |
|
||||
| npm run jscs | Checks for style issues (Run in `npm test`) |
|
||||
| npm run version-check | Checks you have the minimum node + npm versions |
|
||||
|
||||
## Overview and rationale
|
||||
|
|
|
@ -9,10 +9,9 @@
|
|||
"dev": "NODE_ENV=development npm run start",
|
||||
"dev:search": "APP_NAME=search npm run dev",
|
||||
"dev:disco": "APP_NAME=disco npm run dev",
|
||||
"test": "npm run version-check && npm run lint && npm run jscs",
|
||||
"test": "npm run version-check && npm run lint",
|
||||
"lint": "eslint .",
|
||||
"eslint": "npm run lint",
|
||||
"jscs": "jscs .",
|
||||
"build": "npm run version-check && webpack --progress --color -p --config webpack.config.js",
|
||||
"version-check": "node bin/version-check.js"
|
||||
},
|
||||
|
@ -46,7 +45,6 @@
|
|||
"eslint-config-airbnb": "6.0.2",
|
||||
"eslint-plugin-react": "4.1.0",
|
||||
"history": "2.0.0",
|
||||
"jscs": "2.10.1",
|
||||
"react-dom": "0.14.7",
|
||||
"react-hot-loader": "1.3.0",
|
||||
"semver": "5.1.0",
|
||||
|
|
Загрузка…
Ссылка в новой задаче