@wondermarin/eslint-config
TypeScript icon, indicating that this package has built-in type declarations

2.2.0 • Public • Published

@wondermarin/eslint-config

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.

Installation

pnpm add -D @wondermarin/eslint-config

Usage

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,
});

Versioning Policy

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.

License

Code released under the MIT license.

Readme

Keywords

none

Package Sidebar

Install

npm i @wondermarin/eslint-config

Weekly Downloads

72

Version

2.2.0

License

MIT

Unpacked Size

62.3 kB

Total Files

5

Last publish

Collaborators

  • wondermarin