1.0.1 • Published 4 years ago
@alvs-company/alvs-eslint-config v1.0.1
alvs-eslint-config
ALVS - Advanced Level Virtual Systems default eslint code pattern config for used technologies.
Usage
You can extended one of these configurations, depending on the project you are developing:
-- alvs-company -- alvs-company/typescript -- alvs-company/react -- alvs-company/react-typescript
PS.: If you are using @alvs-company/typescript or @alvs-company/react-typescript configs you will need to install some dependencies:
yarn @typescript-eslint/eslint-plugin @typescript-eslint/parserfor @alvs-company/react-typescript also install:
yarn eslint-plugin-jsx-ally eslint-plugin-react eslint-plugin-react-hooksfinally, install ALVS ESLint config
yarn @alvs-company/alvs-eslint-configSetup
For setting up ALVS ESLint Config, just extend and tweak the config as you like in your package.json:
{
"eslintConfig": {
"root": true,
"extends": "alvs-company/typescript",
"parserOptions": {
"project": "./tsconfig.json"
}
}
}