Wondering what’s next for npm?Check out our public roadmap! »

eslint-config-bee

1.0.1 • Public • Published

🐝🐝🐝

ESLint rules config.

Usage

eslint-config-bee

JS

  • npm install eslint eslint-config-bee --save-dev
  • add config in .eslintrc
{
  "extends": ["bee"]
}

React

  • npm install eslint-plugin-react --save-dev
  • add config in .eslintrc
{
  "extends": ["bee", "bee/react"]
}

Only JSX

  • add config in .eslintrc
{
  "extends": ["bee", "bee/jsx"]
}

Lint ES6/7 features

If you need to lint experimental features in ES6/7 (class properties, decorators, types),install babel-eslint npm install babel-eslint --save-dev,and add config in .eslintrc

{
  "parser": "babel-eslint"
}

Keywords

Install

npm i eslint-config-bee

DownloadsWeekly Downloads

2

Version

1.0.1

License

MIT

Unpacked Size

27.2 kB

Total Files

10

Last publish

Collaborators

  • avatar