1.1.0 • Published 4 years ago
@vidaq/eslint-config v1.1.0
Install
npm install @vidaq/eslint-configInstall dependencies
npm install @typescript-eslint/parser typescript prettierPrettier Config
Create .prettierrc file on the root
{
"singleQuote": true,
"tabWidth": 2,
"printWidth": 120,
"trailingComma": "es5",
"arrowParens": "avoid"
}Common problems
If you are getting error context.getPhysicalFilename is not a function you need to update eslint running this command yarn upgrade -R eslint more info.