Personal ESLint config.
[!IMPORTANT] This package is strictly for personal use. If anyone wants to use it in their projects, please pay attention to the specific versioning policy.
pnpm add -D @wondermarin/eslint-config
eslint.config.js
import wondermarin from "@wondermarin/eslint-config";
export default wondermarin({
/**
* ESLint config.
* @default true
*/
javascript: true,
/**
* `@typescript-eslint/eslint-plugin` config.
* @default false
*/
typescript: false,
/**
* `eslint-plugin-prettier`, `@stylistic/eslint-plugin`, and `eslint-plugin-perfectionist` config.
* @default true
*/
stylistic: true,
/**
* `eslint-plugin-package-json` config.
* @default true
*/
json: true,
/**
* `eslint-plugin-react` and `eslint-plugin-react-hooks` config.
* @default false
*/
react: false,
});
The package follows semantic versioning with some specific nuances:
- Patch release: A rule is disabled.
-
Minor release:
- A new configuration is added.
- A new rule is added (or a previously disabled rule is enabled).
- A rule is updated (updating its options or changing its severity).
- Major release: Major release in ESLint.
Code released under the MIT license.