2.11.0 • Published 21 days ago
@kayahr/eslint-config v2.11.0
kayahr eslint config
Shared eslint configuration for my personal TypeScript projects.
How to use it in a project
Install the dependencies:
$ npm install -D \ eslint \ @kayahr/eslint-config \ @typescript-eslint/eslint-plugin \ @typescript-eslint/parser \ eslint-plugin-deprecation \ eslint-plugin-simple-import-sort
Create an
.eslintrc.json
configuration file with the following content (Modify environment if necessary):{ "$schema": "https://json.schemastore.org/eslintrc", "root": true, "env": { "es6": true, "node": true, "browser": true }, "extends": [ "@kayahr" ] }
Add the following script line to
package.json
:"lint": "eslint --max-warnings 0 --ext .ts src"
Reference the
lint
script in thetest
script:"test": "npm run -s lint && npm run -s check"
Run eslint by typing
npm test
ornpm run lint
.
2.11.0
21 days ago
2.10.2
4 months ago
2.10.1
5 months ago
2.10.0
5 months ago
2.9.0
9 months ago
2.8.0
11 months ago
2.7.0
12 months ago
2.6.0
1 year ago
2.5.0
2 years ago
2.4.0
2 years ago
2.3.0
2 years ago
2.2.0
2 years ago
2.3.1
2 years ago
2.1.0
2 years ago
2.0.1
2 years ago
2.0.0
2 years ago
1.6.1
3 years ago
1.6.0
3 years ago
1.5.0
3 years ago
1.4.0
3 years ago
1.3.0
3 years ago
1.2.0
4 years ago
1.1.0
4 years ago
1.0.0
4 years ago