Merge pull request #184 from nhubbard/no-eslint

No More ESLint!
This commit is contained in:
Michael Teeuw 2016-04-17 14:40:56 +02:00
commit b22b845d57
2 changed files with 6 additions and 12 deletions

View File

@ -12,13 +12,13 @@ First, before you run the linters, you will need to install them all **and** ins
npm install
```
### JavaScript: Run JSCS and ESLint
### JavaScript: Run JSCS
We use [JSCS](http://jscs.info) and [ESLint](http://eslint.org) on our JavaScript files.
We use [JSCS](http://jscs.info) on our JavaScript files.
Our JSCS configuration is in our .jscsrc file, and we use [eslint-config-google](https://www.npmjs.com/package/eslint-config-google) in ESLint.
Our JSCS configuration is in our .jscsrc file.
To run ESLint, use `npm run eslint`. To run JSCS, use `npm run jscs`.
To run JSCS, use `npm run jscs`.
### CSS: Run StyleLint

View File

@ -4,8 +4,7 @@
"description": "A modular interface for smart mirrors.",
"main": "js/electron.js",
"scripts": {
"start": "electron js/electron.js",
"eslint": "eslint .",
"start": "electron js/electron.js"
"jscs": "jscs **/**/**/**/*.js",
"stylelint": "stylelint css/main.css fonts/roboto.css",
"htmlvalidator": "html-validator --file=index.html",
@ -31,9 +30,7 @@
"devDependencies": {
"electron-prebuilt": "latest",
"stylelint": "latest",
"stylelint-config-standard": "latest",
"eslint": "latest",
"eslint-config-google": "latest"
"stylelint-config-standard": "latest"
},
"dependencies": {
"express": "latest",
@ -46,8 +43,5 @@
"socket.io": "latest",
"valid-url": "latest",
"walk": "latest"
},
"eslintConfig": {
"extends": "google"
}
}