2.5.0 • Published 4 years ago
eslint-config-particle v2.5.0
eslint-config-particle
eslint config rules for Particle Javascript projects
Enforcing style rules in a Particle project
- Install dependencies
npm install --save-dev eslint eslint-config-particle
- Tell eslint to use the Particle config by creating
.eslintrc.js
module.exports = {
extends: ['eslint-config-particle'],
root: true
}
- Add lint scripts to
package.json
"scripts": {
"lint": "eslint . --quiet -f unix",
"lint:fix": "eslint . --quiet --fix -f unix",
}
- Run lint as part of the CI pipeline, for example by adding to
.travis.yml
script:
- npm run lint && npm test
2.5.0
4 years ago
2.4.1
5 years ago
2.4.0
5 years ago
2.4.0-rc.1
5 years ago
2.3.0
5 years ago
2.2.2
5 years ago
2.2.1
7 years ago
2.2.0
7 years ago
2.1.0
7 years ago
2.0.0
8 years ago
1.0.8
8 years ago
1.0.7
8 years ago
1.0.6
8 years ago
1.0.5
9 years ago
1.0.4
9 years ago
1.0.3
9 years ago
1.0.2
9 years ago
1.0.1
9 years ago
1.0.0
9 years ago