eslint-config-mooveit-standard

1.0.2 • Public • Published

Eslint Config Moove-it Standard

An Eslint shareable config for the style we use for some projects.

Install

npm install --save-dev eslint-config-mooveit-standard

Usage

Shareable configs are designed to work using the extends feature of eslintrc.json files.

Add this to the eslintrc.json or .eslintrc file:

{
  "extends": "mooveit-standard"
}

Packages

Custom Rules

  • Prevent usage of setState in componentDidUpdate
  • Prevent usage of unknown DOM property
  • Prevent missing React when using JSX
  • No comma dangle
  • Single quotes
  • Optional prop types
  • No semi colons
  • Prefer let

/eslint-config-mooveit-standard/

    Package Sidebar

    Install

    npm i eslint-config-mooveit-standard

    Weekly Downloads

    1

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    3.83 kB

    Total Files

    5

    Last publish

    Collaborators

    • laragno