This package is now archived, I don't plan to maintain it anymore because I believe the community does not this kind of tool anymore since ESLint supports FlatConfig.
FlatConfig simplified the configuration sharing, it means that you can create a eslint.config.js
file at the root of your project and import configs from npm packages like this:
import someConfig from "some-other-config-you-use";
import eslintConfigPrettier from "eslint-config-prettier";
export default [
someConfig,
{
rules: {
indent: "error",
},
},
eslintConfigPrettier, // eslint-config-prettier last
];
An opinionated ESLint config generator for my projects. Comes with AirBnB, Vue, and TypeScript 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
- 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.