https://github.com/dgeibi/eslint-config-dgeibi
ESLint Config based on eslint-config-airbnb-base without style rules.
https://github.com/dgeibi/eslint-config-dgeibi
eslint-config
Last synced: 3 months ago
JSON representation
ESLint Config based on eslint-config-airbnb-base without style rules.
- Host: GitHub
- URL: https://github.com/dgeibi/eslint-config-dgeibi
- Owner: dgeibi
- License: mit
- Created: 2017-03-16T11:03:53.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2019-06-07T14:09:35.000Z (about 7 years ago)
- Last Synced: 2025-09-17T09:21:42.923Z (10 months ago)
- Topics: eslint-config
- Language: JavaScript
- Homepage:
- Size: 97.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# eslint-config-dgeibi
ESLint Config base on `eslint-config-airbnb-base` and `eslint-config-prettier`
## Install
### Common projects
Install `eslint-config-dgeibi` and eslint:
```
$ npm i -D eslint eslint-config-dgeibi
```
If you want to format your source code, just install `prettier`
```
$ npm i -D prettier
```
and create a `.prettierrc`, for example:
```json
{
"semi": false,
"singleQuote": true,
"trailingComma": "es5"
}
```
For common es6 projects, add this to your `.eslintrc`
```json
{
"extends": ["dgeibi"]
}
```
For node, use `dgeibi/node`
For legacy projects:
```json
{
"extends": ["dgeibi/legacy"]
}
```
### (p)react projects
The configs are copying from eslint-config-standard-react and eslint-config-standard-preact.
add this to `.eslintrc`
```json
{
"extends": ["dgeibi/react"]
}
```
extends `dgeibi/preact` instead for preact projects.
## LICENSE
[MIT](LICENSE)