@deseteral/eslint-config
v8.0.0
Published
Customized Airbnb ESLint configuration for JavaScript and TypeScript projects
Readme
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-configThen 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-membersbecause 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
indentwith it's TypeScript equivalent.
[6.0.1] - 2022-04-09
Fixed
- Bad config for
import/no-default-export. - Added
function-paren-newlinerule.
[6.0.0] - 2022-04-09
Changed
- Upgraded deps. ESLint 8 is now minimum required version.
- Removed disabling
dot-notationrule. - Replaced
import/prefer-default-exportwithimport/no-default-exportrule.
[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-spacingrule 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-shadowwhen defining enums in TypeScript
[3.0.2] - 2020-10-06
Fixed
- Fixed false-positive
no-use-before-definewhen using TypeScript
[3.0.1] - 2020-10-04
Fixed
- Fixed false-positive
no-unused-expressionswhen 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
_idas variable name (for MongoDBObjectIDrepresentation)
Fixed
- Fixed false-positive
Cannot read property 'map' of undefinederrors for TypeScript
[2.0.1] - 2019-12-31
Fixed
- Disabled
import/extensionsfor TypeScript projects
[2.0.0] - 2019-12-31
Changed
- Upgraded ESLint version
- Upgraded Airbnb config
- Enabled TypeScript extensions for
import/extensionsrule
[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
.tsxextension.
[1.0.0] - 2019-02-24
- Initial release.
License
This project is licensed under the MIT license.
