https://github.com/wfcd/eslint-config
Shareable eslint configuration for
https://github.com/wfcd/eslint-config
Last synced: about 1 year ago
JSON representation
Shareable eslint configuration for
- Host: GitHub
- URL: https://github.com/wfcd/eslint-config
- Owner: WFCD
- Created: 2022-03-27T01:27:03.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-04-30T02:26:10.000Z (about 2 years ago)
- Last Synced: 2025-04-04T05:45:47.526Z (about 1 year ago)
- Language: JavaScript
- Size: 68.4 KB
- Stars: 1
- Watchers: 5
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# @wfcd/eslint-config
Sharable eslint config for Warframe Community Dev projects...
and anyone who wants to follow the same style/configs.
## Setup
Extend the plugin in your local eslint config
```json
// eslintConfig:
{
"extends": "@wfcd"
}
```
In order to use newer features, such as static class properties & private methods,
you must still include babel config in your eslint config
```json
// eslintConfig:
{
"parser": "@babel/eslint-parser",
"parserOptions": {
"babelOptions": {
"plugins": [
"@babel/plugin-transform-class-properties",
"@babel/plugin-transform-private-methods"
]
}
}
}
```
as well as the accompanying babel config
```json
// babel:
{
"presets": [
"@babel/preset-env"
],
"plugins": [
"@babel/plugin-transform-class-properties",
"@babel/plugin-transform-private-methods"
]
}
```
## Additional rules
Your configuration can still include additional rules configurations in the standard