@apolitical/eslint-config
v2.1.1
Published
Apolitical ESLint and Prettier configurations for Node projects
Downloads
6,939
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-config
Usage
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"