eslint-config-typescript
v1.0.2 eslint config eslintconfig typescript prettier react
format
npm run format:root && npm run format:src && npm run format:specs
format:root
prettier --write ./*.js
format:src
prettier --write ./src/{,**}/*.js
format:specs
prettier --write ./specs/{,**}/*.js
lint
npm run lint:root && npm run lint:src && npm run lint:specs
lint:root
eslint --config eslint.config.js ./*.js
lint:src
eslint --config eslint.config.js ./src/{,**}/*.js
lint:specs
eslint --config eslint.config.js ./specs/{,**}/*.js
test
jest --config jest.config.js
test:verbose
jest --config jest.config.js --verbose
test:coverage
jest --config jest.config.js --coverage
test:spec
eslint --format json
precommit
lint-staged && npm test
npm i [email protected]
Source Code
github.com/weirdpattern/esli...Metadata
- MIT
- Whatever
- Patricio Trevino
- released 9/12/2017