2.1.5 • Published 8 years ago
eslint-config-dqnt v2.1.5
eslint-config-dqnt
Eslint config based on create-react-app with some tweaks and included prettier.
Installation
yarn add eslint prettier eslint-config-dqnt --devor
npm install eslint prettier eslint-config-dqnt --save-devUsage
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"
}