@apolitical/eslint-config
v2.1.2
Published
Apolitical ESLint and Prettier configurations for Node projects
Maintainers
Readme
Apolitical Eslint Config
Apolitical ESLint and Prettier configurations for Node projects
Requirements
Requires the following to run:
Installation
Install with yarn:
yarn add -D @apolitical/eslint-configUsage
Link the ESLint configurations from your package.json:
On your API (Express project):
"eslintConfig": {
"extends": "@apolitical/eslint-config/api.config"
},On your UI (React project):
"eslintConfig": {
"extends": "@apolitical/eslint-config/ui.config"
}Link the Prettier configurations from your package.json:
"prettier": "@apolitical/eslint-config/prettier.config"