0.1.2 • Published 4 years ago
@voyage.studio/eslint-config v0.1.2
@voyage.studio/eslint-config
Installation
1. Install dependencies & config
yarn add --dev eslint eslint-plugin-import prettier @voyage.studio/eslint-config
2. Configure ESLint
Reference the config in your .eslintrc
For Vanilla JS
{
extends: "@voyage.studio/eslint-config/vanilla"
}
React JS
{
extends: "@voyage.studio/eslint-config/react"
}
3. Configure Prettier
Add .prettierrc
4. Configure scripts
{
"scripts": {
"eslint": "eslint .",
"lint": "eslint . --cache"
}
}
0.1.2
4 years ago
0.1.1
4 years ago
0.1.0
4 years ago
0.1.0-alpha.0
5 years ago
0.0.3-alpha.0
5 years ago
0.0.2-alpha.0
5 years ago