SmartThing's ESLint config, following our style guide. Based on Airbnb's Javascript styleguide
Lints ES6+ but does not lint React. Requires eslint
and babel-eslint
.
- Add
"extends": "smartthings"
to your .eslintrc
Contains all of our ESLint rules, including EcmaScript 6+
and React. It requires eslint
, babel-eslint
, and eslint-plugin-react
.
- Add
"extends": "smartthings/react"
to your .eslintrc
Lints ES5 and below. Only requires eslint
.
- Add
"extends": "smartthings/legacy"
to your .eslintrc