https://github.com/oprogramador/eslint-config-airbnb-improved
Eslint configuration based on Airbnb with some improvements
https://github.com/oprogramador/eslint-config-airbnb-improved
Last synced: 4 months ago
JSON representation
Eslint configuration based on Airbnb with some improvements
- Host: GitHub
- URL: https://github.com/oprogramador/eslint-config-airbnb-improved
- Owner: oprogramador
- Created: 2016-12-04T13:09:40.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2025-11-08T10:10:40.000Z (8 months ago)
- Last Synced: 2025-11-08T12:10:19.286Z (8 months ago)
- Language: JavaScript
- Size: 146 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# eslint-config-airbnb-improved
[](https://opensource.org/licenses/MIT)
[](https://npmjs.org/package/eslint-config-airbnb-improved)
[](https://travis-ci.com/oprogramador/eslint-config-airbnb-improved)
[](https://npmjs.org/package/eslint-config-airbnb-improved)
Eslint plugin based on [Airbnb](https://github.com/airbnb/javascript)
## install
`npm install --save-dev eslint-config-airbnb-improved`
## usage
in `.eslinrc`:
```json
{
"extends": "eslint-config-airbnb-improved"
}
```
Of course, you can overwrite any rules to satisfy your needs.
in `package.json`:
```json
{
"scripts": {
"lint": "eslint *.js app src",
}
}
```
run `npm run lint`
## Major differences with standard Airbnb:
- Required sorting of imports and keys in object
- Required empty line before `return`
- Allowing `++` operator
- Allowing not using `this` keyword in object methods.
## Why this plugin?
- Because some of Airbnb rules make coding harder with no good reason.
- Because Airbnb does not specify many coding rules.