5.1.0 • Published 4 years ago
eslint-config-bamboo v5.1.0
eslint-config-bamboo 🎋
Install
# Install Dependencies
$ yarn add -D eslint typescript @typescript-eslint/parser @typescript-eslint/eslint-plugin
# Install eslint-config-bamboo
$ yarn add -D eslint-config-bamboo
Usage
ESLint config
Add the ESLint config to your package.json
:
{
"name": "my-project",
// ...
"eslintConfig": {
"extends": "bamboo"
}
}
Or to eslintrc.js
or eslintrc.json
:
{
"extends": "bamboo"
}
Create tsconfig.eslint.json
next to the eslint config file, for example with content:
{
"extends": "./tsconfig.json",
"include": ["src", "test"]
}
TypeScript config
You can use eslint-config-bamboo
's
tsconfig.json
by extending it in yours:
{
"extends": "eslint-config-bamboo"
}
All of its properties are defaulted for bleeding-edge TypeScript options, you may extend this to include your own configuration options as well.
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request!
Author
eslint-config-bamboo © kyranet, released under the MIT License. Authored and maintained by kyranet.