https://github.com/editd/eslint-config-edited
A shareable ESLint config for the EDITED styleguide
https://github.com/editd/eslint-config-edited
eslint eslint-config javscript
Last synced: 3 months ago
JSON representation
A shareable ESLint config for the EDITED styleguide
- Host: GitHub
- URL: https://github.com/editd/eslint-config-edited
- Owner: EDITD
- License: mit
- Created: 2017-03-22T10:48:05.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2023-11-01T16:35:07.000Z (almost 3 years ago)
- Last Synced: 2025-04-19T11:49:00.648Z (over 1 year ago)
- Topics: eslint, eslint-config, javscript
- Language: JavaScript
- Size: 10.7 KB
- Stars: 2
- Watchers: 31
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# eslint-config-edited
A shareable ESLint config for the EDITED styleguide
### Usage
- `npm install eslint-config-edited --save-dev`
- Don't forget to save the `eslint-config-edited` peerDependencies to your devDependencies!
- Change your `.eslintrc` to the following
**.eslintrc**
```json
{
"extends": "edited",
}
```
## Import resolver settings
If you're using webpack you should
- `npm install eslint-import-resolver-webpack --save-dev`
- Add the following to your `.eslintrc`
```
settings: {
"import/resolver": {
webpack: {
config: ""
}
}
}
```
If you're not using webpack, but you do have .jsx files that you'd like to resolve then you can add the following settings to your `.eslintrc` file.
```
settings: {
"import/resolver": {
"node": {
"extensions": [ ".js", ".jsx" ],
}
}
}
```