An ESLint Shareable Config by Wan Saleh
- Run.
npm i -D eslint-config-wansaleh # or yarn install --dev eslint-config-wansaleh
npx install-peerdeps --dev eslint-config-wansaleh
- Create (or update) a .eslintrc.js file with the following content:
{
'extends': [
'wansaleh'
]
}
- Copy the .prettierrc file from this repository into your project folder