8.0.0 • Published 6 months ago

@deseteral/eslint-config v8.0.0

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

Deseteral ESLint config

Customized Airbnb ESLint configuration for JavaScript and TypeScript projects

Usage

First you gotta install it:

npm i --save-dev eslint @deseteral/eslint-config

Then you gotta setup your .eslintrc to extend that config:

{
  "extends": "@deseteral/eslint-config"
}

...or if you're using TypeScript:

{
  "extends": "@deseteral/eslint-config/typescript"
}

The last thing you have to do is put linting script in your project's package.json:

"scripts": {
  "lint": "eslint src --ext js,jsx,ts,tsx"
}

Changelog

8.0.0 - 2023-11-08

Changed

  • Upgraded dependencies.

7.0.0 - 2023-01-13

Changed

  • Upgraded ESLint rules dependencies.

6.1.1 - 2023-01-13

Fixed

  • Upgraded dependencies.

6.1.0 - 2022-12-31

Changed

  • Disabled no-dupe-class-members because it's handled by TypeScript.

6.0.3 - 2022-05-24

Fixed

  • Reverted changes from last version.

6.0.2 - 2022-05-24

Fixed

  • Replaced indent with it's TypeScript equivalent.

6.0.1 - 2022-04-09

Fixed

  • Bad config for import/no-default-export.
  • Added function-paren-newline rule.

6.0.0 - 2022-04-09

Changed

  • Upgraded deps. ESLint 8 is now minimum required version.
  • Removed disabling dot-notation rule.
  • Replaced import/prefer-default-export with import/no-default-export rule.

5.1.0 - 2021-10-31

Changed

  • Turned off react/require-default-props' rule for TypeScript

5.0.1 - 2021-10-29

Fixed

  • Migrated package-lock to version 2

5.0.0 - 2021-05-23

Changed

  • Added type-annotation-spacing rule for TypeScript

4.1.0 - 2021-05-04

Changed

  • Upgraded deps

4.0.0 - 2021-03-15

Changed

  • Upgraded ESLint

3.0.3 - 2021-03-15

Fixed

  • Fixed false-positive no-shadow when defining enums in TypeScript

3.0.2 - 2020-10-06

Fixed

  • Fixed false-positive no-use-before-define when using TypeScript

3.0.1 - 2020-10-04

Fixed

  • Fixed false-positive no-unused-expressions when using optional call expressions in TypeScript

3.0.0 - 2020-10-03

Changed

  • Upgraded ESLint version
  • Upgraded Airbnb config
  • Enabled rules of Hooks
  • Allowed using _id as variable name (for MongoDB ObjectID representation)

Fixed

  • Fixed false-positive Cannot read property 'map' of undefined errors for TypeScript

2.0.1 - 2019-12-31

Fixed

  • Disabled import/extensions for TypeScript projects

2.0.0 - 2019-12-31

Changed

  • Upgraded ESLint version
  • Upgraded Airbnb config
  • Enabled TypeScript extensions for import/extensions rule

1.3.1 - 2019-05-08

Fixed

  • Babel parser is now in dependencies not dev dependencies.

1.3.0 - 2019-05-08

Changed

  • ESLint is now using Babel as its code parser.

1.2.0 - 2019-04-03

Added

  • Rule specifing use of operator linebreak.

1.1.0 - 2019-03-10

Added

  • JSX is now allowed in files with .tsx extension.

1.0.0 - 2019-02-24

  • Initial release.

License

This project is licensed under the MIT license.

8.0.0

6 months ago

6.1.1

1 year ago

7.0.0

1 year ago

6.1.0

1 year ago

6.0.3

2 years ago

6.0.2

2 years ago

6.0.1

2 years ago

6.0.0

2 years ago

5.1.0

3 years ago

5.0.1

3 years ago

5.1.1-beta.1

3 years ago

5.0.0

3 years ago

4.1.0

3 years ago

3.0.3

3 years ago

4.0.0

3 years ago

3.0.2

4 years ago

3.0.1

4 years ago

2.2.0-beta.0

4 years ago

2.2.0-beta.1

4 years ago

2.2.0-beta.2

4 years ago

3.0.0

4 years ago

2.1.1

4 years ago

2.1.0

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.3.1

5 years ago

1.3.0

5 years ago

1.2.0

5 years ago

1.1.0

5 years ago

1.0.0

5 years ago

1.0.0-beta.4

5 years ago

1.0.0-beta.3

5 years ago

1.0.0-beta.2

5 years ago

1.0.0-beta.1

5 years ago