3.0.0-rc.12 • Published 5 days ago

@leandromatos/eslint-config v3.0.0-rc.12

Weekly downloads
14
License
MIT
Repository
github
Last release
5 days ago

ESlint Config

!IMPORTANT

This package's version, v3.x, works with ESLint v9.x. If you are using an older version of ESLint, please use the package's version v2.x..

This is a custom and sharable ESLint configuration for TypeScript, JavaScript, and React projects. It includes the following packages:

Usage

!NOTE

It's crucial to note that you must install the typescript package, even in a project that uses only JavaScript. This is because ESLint leverages TypeScript to parse the code and provide more accurate error messages.

  1. Use yarn or another package manager to install the package. For example:

    yarn add --dev eslint typescript @leandromatos/eslint-config
  2. Create a new eslint.config.js file in the root of your project and add the following content:

    const { flatConfig } = require("@leandromatos/eslint-config")
    
    module.exports = [
      ...flatConfig
    ]
  3. If you want to override some rules, you can do so by adding new configuration objects to the array. For example:

    const { flatConfig } = require("@leandromatos/eslint-config")
    
    module.exports = [
      ...flatConfig,
      {
        rules: {
          "no-unused-vars": "warn"
        }
      }
    ]

License

This package is licensed under the MIT License. For more information, see the LICENSE file.

3.0.0-rc.12

5 days ago

3.0.0-rc.11

12 days ago

3.0.0-rc.10

12 days ago

3.0.0-rc.9

12 days ago

3.0.0-rc.8

12 days ago

3.0.0-rc.7

18 days ago

3.0.0-rc.6

25 days ago

3.0.0-rc.5

25 days ago

3.0.0-rc.4

25 days ago

3.0.0-rc.2

29 days ago

3.0.0-rc.1

29 days ago

3.0.0-rc.0

29 days ago

3.0.0-rc.3

28 days ago

2.2.11

2 months ago

2.3.0

2 months ago

2.2.1

10 months ago

2.2.3

9 months ago

2.2.2

9 months ago

2.2.5

9 months ago

2.2.4

9 months ago

2.2.7

9 months ago

2.2.6

9 months ago

2.2.10

5 months ago

2.1.1

10 months ago

2.2.9

7 months ago

2.2.8

7 months ago

2.1.0

11 months ago

1.3.4

1 year ago

1.4.0

1 year ago

2.0.2

1 year ago

2.0.1

1 year ago

2.0.0

1 year ago

1.3.3

1 year ago

1.2.0

1 year ago

1.1.0

1 year ago

0.0.22

1 year ago

1.3.2

1 year ago

1.3.1

1 year ago

1.3.0

1 year ago

0.0.21

2 years ago

0.0.20

2 years ago

0.0.16

2 years ago

0.0.17

2 years ago

0.0.18

2 years ago

0.0.19

2 years ago

0.0.15

3 years ago

0.0.13

4 years ago

0.0.14

4 years ago

0.0.12

4 years ago

0.0.11

4 years ago

0.0.10

4 years ago

0.0.9

4 years ago

0.0.8-0

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago