@and-cru/eslint-config
ESLint & Prettier config for &CRU
Table of Contents
About
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.
Install
This project uses node and npm.
$ npx install-peerdeps --dev @and-cru/eslint-config
Usage
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"
},
Add Badge
[![and-cru-code-style](https://img.shields.io/badge/code%20style-%26CRU-EAEBE3.svg?style=flat-square)](https://www.andcru.io/)
Contribute
- 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
License
MIT © &CRU