/eslint-config

ESLint & Prettier config for &CRU

Primary LanguageJavaScriptMIT LicenseMIT

@and-cru/eslint-config

package version package downloads standard-readme compliant package license make a pull request

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

[![and-cru-code-style](https://img.shields.io/badge/code%20style-%26CRU-EAEBE3.svg?style=flat-square)](https://www.andcru.io/)

Contribute

  1. Fork it and create your feature branch: git checkout -b my-new-feature
  2. Commit your changes: git commit -am "Add some feature"
  3. Push to the branch: git push origin my-new-feature
  4. Submit a pull request

License

MIT © &CRU