1.0.6 • Published 6 months ago

@moccona/eslint-config v1.0.6

Weekly downloads
-
License
MIT
Repository
-
Last release
6 months ago

@moccona/eslint-config

The @moccona/eslint-config package provides a convenient way to configure ESLint rules. It allows you to extend the default configuration with custom rules tailored to your project's needs.

Installation

  1. Basic Installation:
npm install @moccona/eslint-config -D

Available Extras

The package provides additional configuration options through "extras" modules, which can be imported and customized. Currently supported extras include:

  • TypeScript: Extends the base configuration with TypeScript-specific rules.
  • React: Provides React-specific configurations for ESLint checks.
  • TailwindCSSv3: Offers Tailwind CSS utilities integration into ESLint reports.
  • Jest: Enhances ESLint with Jest-generated test files and fixtures.
  • Vitest: Adds Vitest test discovery options to your ESLint configuration.

Example Usage

Here's an example of how you might use the package in your project:

// eslint.config.js
import baseConfig from "@moccona/eslint-config/flat";
// if you use typescript.
import tsConfig from "@moccona/eslint-config/extra/typescript";
// if you use prettier
import prettierConfig from "@moccona/eslint-config/extra/prettier";

export default [
  ...baseConfig,
  ...tsConfig,
  ...prettierConfig,
  {
    // Add your custom here.
  },
];

Notes

The legacy configuration is marked as deprecated. Users are encouraged to use the new format instead.

1.0.2

7 months ago

1.0.1

7 months ago

1.0.0

7 months ago

1.0.6

6 months ago

1.0.5

6 months ago

1.0.4

6 months ago

1.0.3

7 months ago

0.3.8

11 months ago

0.3.9

11 months ago

0.3.12

11 months ago

0.3.11

11 months ago

0.3.10

11 months ago

0.4.1

8 months ago

0.4.0

9 months ago

0.4.2

8 months ago

0.3.6

1 year ago

0.3.7

1 year ago

0.3.5

1 year ago

0.3.2

1 year ago

0.3.1

1 year ago

0.3.4

1 year ago

0.3.3

1 year ago

0.2.16

1 year ago

0.2.15

1 year ago

0.2.14

1 year ago

0.2.13

1 year ago

0.2.12

1 year ago

0.2.11

1 year ago

0.2.10

1 year ago

0.2.1

1 year ago

0.2.0

1 year ago

0.2.7

1 year ago

0.2.6

1 year ago

0.2.9

1 year ago

0.2.8

1 year ago

0.2.3

1 year ago

0.2.2

1 year ago

0.2.5

1 year ago

0.2.4

1 year ago

0.1.10

2 years ago

0.1.9

2 years ago

0.1.8

2 years ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.0

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago