eslint-config-crocodile

1.0.0 • Public • Published

eslint-config-crocodile

Slack Status MIT License Standard JS Style

This is an opinionated ESLint configuration for CrocodileJS. It was inspired by @earnest/eslint-config-es7, but we wanted to make it further opinionated.

Install

App:

First add the configuration to your package.json file:

npm i --save-dev eslint-config-crocodile

Then create a new file called .eslintrc, and its contents should be:

{
  "extends": "crocodile"
}

That's it! Of course you will need to know how to use ESLint from here.

Tests:

If you need to write tests using mocha, you can extend the mocha configuration:

{
  "extends": "crocodile/mocha"
}

This adds support for mocha environment, and also rules that support expect.

License

MIT License

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    3
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    3

Package Sidebar

Install

npm i eslint-config-crocodile

Weekly Downloads

3

Version

1.0.0

License

MIT

Last publish

Collaborators

  • niftylettuce
  • titanism