Skip to content
This repository has been archived by the owner on Sep 20, 2021. It is now read-only.

smooth-code/eslint-config-smooth

Repository files navigation

eslint-config-smooth

travis npm

This package is deprecated, use eslint-config-react-app instead.

Install

npm install eslint-config-smooth

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 the JavaScript Standard Style shareable config, first run this:

npm install --save-dev eslint-config-smooth eslint-config-airbnb eslint-config-prettier eslint-plugin-import eslint-plugin-jsx-a11y eslint-plugin-react babel-eslint eslint

Then, add this to your .eslintrc file:

{
  "extends": "smooth"
}

Note: We omitted the eslint-config- prefix since it is automatically assumed by ESLint.

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

License

MIT