4.0.0 • Published 6 years ago

eslint-config-styleguide-recommended v4.0.0

Weekly downloads
195
License
MIT
Repository
github
Last release
6 years ago

eslint-config-styleguide-recommended

Sain default coding style
Can be applied in any language

Rules

  • require or disallow newline at the end of files ("eol-last": ["error", "always"]})
  • enforce consistent indentation ("indent": ["error", 2, { "SwitchCase": 1 }])
  • enforce consistent linebreak style ("linebreak-style": ["error", "unix"])
  • enforce a maximum line length ("max-len": ["error", 120])
  • disallow trailing whitespace at the end of lines ("no-trailing-spaces": "error")

Installation

npm install --save-dev eslint-config-styleguide-recommended

.eslintrc

{
    "extends": "styleguide-recommended"
}

Todo

  • Test eslint rules
4.0.0

6 years ago

3.0.1

7 years ago

3.0.0

7 years ago

2.0.0

7 years ago

1.0.0

7 years ago