1.2.8 • Published 12 months ago
eslint-config-stefan v1.2.8
eslint-config-stefan
Configures your React project:
- React/TypeScript linting
- CSS and SCSS linting
- Jest linting
- Git commit linting
- Git pre-commit hooks
- Prettier config
Install
npm install eslint-config-stefan --save-dev
- Installation will add files/folders to your project and scripts to your
package.json
- If your project is not TypeScript based, delete
tsconfig.json
Useage
- Check your code for errors:
npm run lint
- Fix coding errors:
npm run lint:fix
- Fix styling issues:
npm run prettier:fix
- Write commit messages using the Conventional Commit Format:
type(scope?): subject
. More info here: https://conventionalcommits.org/ - If you need to bypass any checks, add
--no-verify
after your commit message
Todo/Issues
- If your React app
package.json
is not in the same directory as your.git
folder you may need to copy yourtsconfig.json
, place it at the top level directory and restart your IDE to get full TypeScript support - May not work with
tsc -w
1.2.8
12 months ago
1.2.7
1 year ago
1.2.6
1 year ago
1.2.5
1 year ago
1.2.4
1 year ago
1.2.3
1 year ago
1.2.2
1 year ago
1.2.1
1 year ago
1.2.0
2 years ago
1.1.5
2 years ago
1.1.4
2 years ago
1.1.3
2 years ago
1.1.2
2 years ago
1.1.1
2 years ago
1.1.0
2 years ago
1.0.18
2 years ago
1.0.17
2 years ago
1.0.16
2 years ago
1.0.15
2 years ago
1.0.14
2 years ago
1.0.13
2 years ago
1.0.12
2 years ago
1.0.11
2 years ago
1.0.10
2 years ago
1.0.9
2 years ago
1.0.8
2 years ago
1.0.7
2 years ago
1.0.6
2 years ago
1.0.5
2 years ago
1.0.4
2 years ago
1.0.3
2 years ago
1.0.2
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago