eslint-config-richardpringle

2.0.0 • Public • Published

eslint-config-richardpringle

Baseline eslint config for richardpringle projects. A work in progress.

Basic Usage

Add eslint-config-richardpringle to devDependencies.

$ npm install -D github:richardpringle/eslint-config-richardpringle

Create/modify .eslintrc in the project's root to include:

{
  "extends": "richardpringle"
}

Advanced Usage

It is sometimes desirable to override some of these rules because a team does not want to follow that particular rule for this repository:

{
  "extends": "richardpringle",
  "rules": {
    "comma-dangle": 0
  }
}

In cases where these rules are being adopted but the code has many style errors, it might be helpful to turn the worst errors into warnings until the entire repo can be fixed:

{
  "extends": "richardpringle",
  "rules": {
    "comma-dangle": 1,
  }
}

Further Reading

Readme

Keywords

none

Package Sidebar

Install

npm i eslint-config-richardpringle

Weekly Downloads

459

Version

2.0.0

License

MIT

Unpacked Size

3.63 kB

Total Files

4

Last publish

Collaborators

  • richardpringle