npm install --development eslint eslint-config-cretia
There are two ways to load this configuration:
- Inside your package.json
"eslint": {
"extends": "eslint-config-cretia"
}
- Use a config file
.eslintrc
{
"extends": "eslint-config-cretia"
}
npm install --development prettier prettier-config-cretia
There are two ways to load this configuration:
- Inside your package.json
"prettier": "prettier-config-cretia"
- Use a config file
prettierrc.json
"prettier-config-cretia"