eslint-config-ryanzim

0.0.2 • Public • Published

eslint-config-ryanzim

npm npm

This is still a WIP. This config will probably get stricter as time goes on.

Rules

This is not a full listing of all the rules, just the more controversial parts of the config:

  • Semicolons required
  • 2-spaces indent
  • curly: multi
  • Commas last
  • Include a trailing comma in multiline object literals
  • Use single-quotes, unless the string contains the ' character (Template Literals allowed)
  • Use a separate var statement for each variable

This config will emit a warning when console is used; if you are developing a command-line tool, turn this rule off.

This config uses the ES6 ESLint parser.

Licence

ISC

Readme

Keywords

Package Sidebar

Install

npm i eslint-config-ryanzim

Weekly Downloads

0

Version

0.0.2

License

ISC

Last publish

Collaborators

  • ryanzim