Skip to content

The holy Ten Commandments for sovity Javascript projects.

Notifications You must be signed in to change notification settings

sovity/eslint-config

Repository files navigation

eslint-config

The holy Ten Commandments for sovity Javascript projects.

Using the Config

Install the file

npm i -D github:sovity/eslint-config#v1.0

Make sure you also install the peer dependencies:

  • ´eslint´
  • ´prettier´ (optional)
  • ´eslint-config-prettier´ (optional)
  • ´eslint-plugin-prettier´ (optional)

Include it in your ESLint config.

Write this as part of the configuration object in your .eslintrc file:

"extends": [
    "@sovity/eslint-config/eslint"
]

Include the prettier rules if you are also using prettier.

Write this as the only contents of your .prettierrc file:

"@sovity/eslint-config/prettier"

About

The holy Ten Commandments for sovity Javascript projects.

Resources

Stars

Watchers

Forks

Packages

No packages published