@competec/eslint-config-competec v2.8.2
eslint-config-competec
Competec ESLint Rules
Installation
You'll first need to install ESLint with yarn:
$ yarn add eslint --devNext, install @competec/eslint-config-competec with yarn:
$ yarn add @competec/eslint-config-competec --devUsage
Create a file named .eslintrc.json with following contents in the root folder of your project:
{
"extends": [
"@competec/eslint-config-competec"
]
}For the use with react, change it to the following:
{
"extends": [
"@competec/eslint-config-competec/react"
]
}For the use with typescript, change it to the following:
{
"extends": [
"@competec/eslint-config-competec/typescript"
]
}For the use with flow, change it to the following:
{
"extends": [
"@competec/eslint-config-competec/flow"
]
}For the use in tests, change it to the following:
{
"extends": [
"@competec/eslint-config-competec/test"
]
}Developer Information
Please use the yarn commit command to add commit with the correct formatting.
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago