Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 9 days 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 (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-06-07T14:09:35.000Z (over 5 years ago)
- Last Synced: 2024-12-10T04:37:49.631Z (18 days ago)
- Topics: eslint-config
- Language: JavaScript
- Homepage:
- Size: 97.7 KB
- Stars: 0
- Watchers: 2
- 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)