7.7.2 • Published 4 months ago

eslint-config-airlight-base v7.7.2

Weekly downloads
68
License
MIT
Repository
github
Last release
4 months ago

eslint-config-airlight-base

ESLint configure for base focused on code quality, security and performance on top of eslint-config-airbnb-typescript/base.

Now compatible with oxlint and biome configuration

Installation

npm install eslint-config-airlight-base --save-dev
# or
yarn add eslint-config-airlight-base -D

Peer dependencies

Dependencies

Dependencies reason

  • eslint-config-airbnb-typescript - Main config
  • @typescript-eslint/eslint-plugin - Config for TypeScript codebase
  • eslint-config-prettier - Prettier config
  • eslint-plugin-import - ESLint plugin with rules that help validate proper imports
  • eslint-plugin-no-secrets - secrets/credentials finder/matched plug-in for ESLint

Usage

.eslintrc

{
  "extends": "airlight-base/legacy"
}

eslint.config.js

import airlightBase from 'eslint-config-airlight-base';

export default [
  ...airlightBase,
  // your rules
]

oxlint

If you are using eslint + oxlint combo, see here and follow guide

oxlint -c ./node_modules/eslint-config-airlight-base/oxlintrc.json

biome

If you are using eslint + biome combo, see here and follow guide

{
  "$schema": "https://biomejs.dev/schemas/1.8.3/schema.json",
  "extends": ["eslint-config-airlight-base/biome.json"]
}
biome check . --write

Rules

We customized following rules.

Change these flat config or legacy config by your needs

License

MIT

7.7.2

4 months ago

7.6.0

11 months ago

7.7.1

11 months ago

7.7.0

11 months ago

7.5.7

11 months ago

7.5.6

11 months ago

7.5.5

11 months ago

7.5.9

11 months ago

7.5.8

11 months ago

7.1.3

1 year ago

7.3.0

12 months ago

7.1.2

1 year ago

7.1.1

1 year ago

7.1.0

1 year ago

7.4.0

12 months ago

7.2.0

12 months ago

7.0.1

1 year ago

7.5.3

12 months ago

7.5.2

12 months ago

7.5.1

12 months ago

7.5.0

12 months ago

7.1.4

1 year ago

7.5.4

12 months ago

7.0.0

1 year ago

6.0.1

1 year ago

6.0.0

1 year ago

5.0.4

1 year ago

5.0.3

2 years ago

5.0.2

2 years ago

5.0.1

2 years ago

5.0.0

2 years ago

4.0.6

3 years ago

4.0.5

3 years ago

4.0.4

3 years ago

4.0.3

3 years ago

4.0.2

3 years ago

4.0.1

4 years ago

4.0.0

4 years ago

3.0.1

4 years ago

3.0.0

4 years ago

2.0.0

4 years ago

1.0.21

4 years ago

1.0.20

4 years ago

1.0.19

4 years ago

1.0.18

4 years ago

1.0.17

4 years ago

1.0.16

4 years ago

1.0.15

4 years ago

1.0.14

4 years ago

1.0.13

4 years ago

1.0.9

4 years ago

1.0.11

4 years ago

1.0.10

4 years ago

1.0.12

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago