eslint-config-smartthings

3.2.0 • Public • Published

eslint-config-smartthings

NPM

NPM version

SmartThing's ESLint config, following our style guide. Based on Airbnb's Javascript styleguide

eslint-config-smartthings

Lints ES6+ but does not lint React. Requires eslint and babel-eslint.

  • Add "extends": "smartthings" to your .eslintrc

eslint-config-smartthings/react

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

eslint-config-smartthings/legacy

Lints ES5 and below. Only requires eslint.

  • Add "extends": "smartthings/legacy" to your .eslintrc

Resources

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 3.2.0
    1
    • latest

Version History

Package Sidebar

Install

npm i eslint-config-smartthings

Weekly Downloads

1

Version

3.2.0

License

Apache-2.0

Unpacked Size

33.9 kB

Total Files

16

Last publish

Collaborators

  • xres
  • victor.chow