This is the eslint configuration used by Organization MEST.
- Install:
yarn add @mest-fe/eslint-config -D - Add the following code to the in-configuration file (
.eslintrc):
{ "extends": "@mest-fe/eslint-config" }- Install:
yarn add @mest-fe/eslint-config-ts -D - Adding configuration to the
.eslintrcfile:
{
"extends": ["@mest-fe/eslint-config-ts"],
"parserOptions": {
"project": "./tsconfig.json"
}
}- Install:
yarn add @mest-fe/eslint-config-ts @mest-fe/eslint-config-react -D - Add the following code to the in-configuration file (
.eslintrc):
{
"extends": ["@mest-fe/eslint-config-ts", "@mest-fe/eslint-config-react"],
"parserOptions": {
"project": "./tsconfig.json"
}
}