ESLint & Prettier config for &CRU
Shareable configs are designed to work with the extends
feature of eslint
files.
You can learn more about
shareable configs on the
official ESLint website.
This project uses node and npm.
$ npx install-peerdeps --dev @and-cru/eslint-config
Add this to your .eslintrc
file in the root of your project:
{
"extends": "@and-cru"
}
Then add the scripts to your package.json
:
"scripts": {
"lint": "eslint .",
"lint:fix": "eslint . --fix"
},
[![and-cru-code-style](https://img.shields.io/badge/code%20style-%26CRU-EAEBE3.svg?style=flat-square)](https://www.andcru.io/)
- Fork it and 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
MIT © &CRU