@yandex-lms-ext/eslint-config-react
ESLint base config for external projects of Yandex.LMS team with React.
Installation
npm install --save-dev eslint prettier @yandex-lms-ext/eslint-config-base @yandex-lms-ext/eslint-config-react
Configuration
Extend your ESLint config and select environments which you use:
.eslintrc.js
{
"extends": ["@yandex-lms-ext/eslint-config-base", "@yandex-lms-ext/eslint-config-react"],
"env": {
"es6": true,
"jest": true,
"node": true,
"browser": true
}
}