5.0.9 • Published 2 years ago
eslint-config-brad v5.0.9
eslint-config-brad
ESLint configuration files for my style
Usage
yarn add -D eslint-config-brad @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint eslint-plugin-eslint-comments eslint-plugin-import eslint-plugin-jest eslint-plugin-node eslint-plugin-simple-import-sort eslint-restricted-glob
If you're working on a non-react project:
{
"extends": [
"brad",
],
}
If you're working on a react project:
yarn add -D eslint-plugin-react eslint-plugin-react-hooks
{
"extends": [
"brad/react",
],
}
Prettier
Standardised prettier config can be used by creating the following .prettierrc.json
in your project root:
"eslint-config-brad/prettier"
Developing
Clone the repo, and then install the dependencies yarn install
Available Commands:
make build
- run a typescript build on each packagemake lint
- lint the entire codebasemake format
- run prettier on the codebasemake show-unused
- scan the packages and their plugins to find any rules that haven't been definedmake regenerate-types
- generate the typescript definition files for all of the valid, non-deprecated rules
5.0.6
2 years ago
5.0.5
2 years ago
5.0.4
2 years ago
5.0.3
2 years ago
5.0.2
2 years ago
5.0.1
2 years ago
5.0.0
2 years ago
5.0.9
2 years ago
5.0.8
2 years ago
5.0.7
2 years ago
4.0.0
4 years ago
3.0.2
4 years ago
3.0.1
4 years ago
3.0.0
4 years ago
2.1.3
4 years ago
2.1.2
4 years ago
2.1.1
4 years ago
2.1.0
4 years ago
2.0.2
5 years ago
2.0.1
5 years ago
2.0.0
5 years ago
1.6.5
5 years ago
1.6.4
5 years ago
1.6.3
5 years ago
1.6.2
5 years ago
1.6.1
5 years ago
1.6.0
5 years ago
1.5.1
5 years ago
1.5.0
5 years ago
1.4.1
5 years ago
1.4.0
5 years ago
1.3.0
5 years ago
1.2.0
5 years ago
1.1.0
5 years ago
1.0.2
5 years ago
1.0.1
5 years ago
1.0.0
5 years ago
1.0.0-rc.2
5 years ago
1.0.0-rc.1
5 years ago
1.0.0-rc.0
5 years ago