1.13.0 • Published 1 month ago
eslint-config-timetree v1.13.0
eslint-config-timetree
A sharable ESLint config for TimeTree. This is intended to use at a project for React + TypeScript + Prettier.
Install
npm i --save-dev eslint prettier typescript react // install peerDependencies
npm i --save-dev eslint-config-timetree
yarn add --dev eslint prettier typescript react // install peerDependencies
yarn add --dev eslint-config-timetree
How to use
Add a following .eslintrc.js
in your project.
module.exports = {
extends: ["timetree"]
}
or
module.exports = {
extends: ["timetree/react"]
}
If your project is not React based, you can use base config.
module.exports = {
extends: ["timetree/base"]
}
Run eslint
!
npx eslint src
If you want to lint TypeScript files including .tsx
, you can use --ext
option ESLint has.
npx eslint --ext .ts,.tsx src
1.13.0
1 month ago
1.12.1-0
1 month ago
1.12.1-1
1 month ago
1.12.1-2
1 month ago
1.12.0
5 months ago
1.11.0
7 months ago
1.10.1
7 months ago
1.10.0
9 months ago
1.9.1
10 months ago
1.9.0
10 months ago
1.10.0-0
9 months ago
1.10.0-1
9 months ago
1.9.2
9 months ago
1.7.3
2 years ago
1.7.2
2 years ago
1.8.0
2 years ago
1.7.1
2 years ago
1.7.0
2 years ago
1.6.1
2 years ago
1.6.0
3 years ago
1.6.0-beta.0
3 years ago
1.5.3
3 years ago
1.5.2
3 years ago
1.5.1
3 years ago
1.5.0
3 years ago
1.4.1
3 years ago
1.4.0
3 years ago
1.3.0
3 years ago
1.2.0
3 years ago
1.1.0
3 years ago
1.0.1
3 years ago
1.0.0
3 years ago