Codemotion ESLint Configuration
Installation
yarn add --dev eslint eslint-config-codemotion
Usage
Specify codemotion
in the extends
section of your ESLint configuration.
{
"eslintConfig": {
"extends": "codemotion"
}
}
If your target environment is running Node.js 7 or below add codemotion/extra/oldNode
to your configuration (or codemotion/extra/error/oldNode
for errors)
{
"eslintConfig": {
"extends": [
"codemotion",
"codemotion/extra/oldNode"
]
}
}