An opinionated ESLint config generator for my projects. Comes with AirBnB, Vue, TypeScript and Prettier support.
Package | Version |
---|---|
@kocal/eslint-config-generator | |
@kocal/eslint-config-generator-common | |
@kocal/eslint-config-generator-plugin-typescript | |
@kocal/eslint-config-generator-plugin-vue |
- Use eslint-config-airbnb-base
- Use Prettier with eslint-plugin-prettier and eslint-config-prettier
- Support Vue, with eslint-plugin-vue and some opinionated rules
- Support TypeScript, with @typescript-eslint/plugin-eslint and some opinionated rules
Please read the documentation to get started.
Read Vue plugin's documentation.
Read TypeScript plugin's documentation.
You need to install Rush.js first.
Then run:
$ rush install
$ rush build -v
$ rush test -v
$ rush lint
$ rush lint:fix
- Make a pull request, its title should follows Angular commit message convention
- Rush
rush change
to describe your changes (they will be used to generate the CHANGELOG)
This is automatically done by GitHub Actions and Rush when a pull request is merged.