/eslint-config-dqnt

Eslint config based on create-react-app and prettier

Primary LanguageJavaScript

eslint-config-dqnt

Eslint config based on create-react-app with some tweaks and included prettier.

Installation

yarn add eslint prettier eslint-config-dqnt --dev

or

npm install eslint prettier eslint-config-dqnt --save-dev

Usage

Create a file named .eslintrc with following contents in the root folder of your project:

{
  "extends": "dqnt"
}

Create a file named .prettierrc with prettier settings best fit your preferences:

{
  "printWidth": 80,
  "singleQuote": true,
  "trailingComma": "es5"
}