@yandex-lms-ext/eslint-config-react
v1.1.0
Published
ESLint config for external projects of Yandex.LMS team with React
Downloads
4
Readme
@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
}
}