@i40/eslint-config

1.1.1 • Public • Published

i40 JavaScript Style npm

An ESLint Shareable Config for i40 flavored JavaScript Standard Style

Install

npx install-peerdeps --dev @i40/eslint-config

Usage

Add to either package.json or .eslintrc:

package.json
{
  // …
  "eslintConfig": {
    "extends": "@i40/eslint-config"
  }
  // …
}
.eslintrc
{
  "extends": "@i40/eslint-config"
}

Rules

  1. Comma dangle (comma-dangle) always-multiline: Requires trailing commas for multiline object and array literals
  2. Space before function parenthesis: (space-before-function-paren) never: Disallows any space followed by the ( of arguments

Readme

Keywords

Package Sidebar

Install

npm i @i40/eslint-config

Weekly Downloads

0

Version

1.1.1

License

ISC

Unpacked Size

1.79 kB

Total Files

3

Last publish

Collaborators

  • markwestside