Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

Latest commit

 

History

History
34 lines (22 loc) · 863 Bytes

README.md

File metadata and controls

34 lines (22 loc) · 863 Bytes

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.