eslint-config-touchlay
v1.2.12
Published
TouchLay eslint config
Readme
eslint-config-touchlay
StandardJS with ES6 features, babel, JSX, eslint-plugin-react, eslint-plugin-import and dangling commas for multiline statements.
Install
npm install --save-dev eslint-config-touchlay
npx install-peerdeps --dev eslint-config-touchlayor with yarn:
yarn add --dev eslint-config-touchlay
npx install-peerdeps --dev eslint-config-touchlayUse
Add to your .eslintrc:
{
"extends": "touchlay"
}You can additionally set environments, pick some!
{
"extends": "touchlay",
"env": {
"browser": true,
"meteor": true,
"mongo": true,
"node": true,
}
}Atom
In the editor Atom, you can install a linter as follows:
apm install linter-eslintRestart Atom afterwards to prevent issues.

