https://github.com/narrativescience-old/eslint-config-narrative-science
https://github.com/narrativescience-old/eslint-config-narrative-science
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/narrativescience-old/eslint-config-narrative-science
- Owner: NarrativeScience-old
- Created: 2017-05-05T20:20:29.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2020-11-05T20:03:29.000Z (over 5 years ago)
- Last Synced: 2024-12-28T13:46:36.980Z (over 1 year ago)
- Language: JavaScript
- Size: 5.86 KB
- Stars: 0
- Watchers: 33
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Narrative Science ESLint Base
This package extends the [Airbnb Lint Package](https://github.com/airbnb/javascript)
## Use
This has been built primary for the internal use at Narrative Science. Make sure
it has been installed in your `package.json` file, and then create an `.eslintrc`
file that contains the following:
```json
{
"parser": "babel-eslint",
"env": {
"browser": true,
"jquery": true,
"node": true
},
"extends": "narrative-science",
"ecmaFeatures": {
"experimentalObjectRestSpread": true
},
"plugins": [
"babel",
"react"
],
}
```