tonik / eslint-config

A shareable ESlint config for JavaScript used at Tonik

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

eslint-config

A shareable ESlint config for JavaScript used at Tonik

Install

npm install @tonik/eslint-config --save-dev

Usage

Shareable configs are designed to work with the extends feature of .eslintrc files. You can learn more about Shareable Configs on the official ESLint website.

To use a shareable config, first run this:

npm install --save-dev @tonik/eslint-config eslint-config-standard eslint-plugin-standard eslint-plugin-promise eslint-plugin-import eslint-plugin-node

Then, add this to your .eslintrc file:

{
  "extends": "@tonik/eslint-config"
}

You can override settings from the shareable config by adding them directly into your .eslintrc file.

License

Licensed under the MIT license.

About

A shareable ESlint config for JavaScript used at Tonik

License:MIT License


Languages

Language:JavaScript 100.0%