tobiipro / eslint-config-firecloud

The ESLint config used within Tobii Cloud Services.
http://eslint.org/
The Unlicense
2 stars 0 forks source link
eslint eslint-config javascript tobii-firecloud

eslint-config-firecloud Build Status

The ESLint config used within Tobii Cloud Services.

In your project's .eslintrc.js

module.exports = {
  extends: [
    'firecloud/node'
  ],
  rules: {
    'override-some-rule': error
  }
}

Optionally, you can run node_modules/eslint-config-firecloud/npm-install-peer-dependencies in order to install the required peer dependencies.

If you want to use an addon, it's as easy as doing this in .eslintrc.js:

module.exports = {
  extends: [
    'firecloud/node',
    'firecloud/configs/jest'
  ],
  rules: {
    'override-some-rule': error
  }
}

and running npm install --dev eslint-plugin-jest.

Bundles

Common bundles are provided as following:

These addons require you to install the plugin manually:

Guiding Principles

"I (don't) like/want ..." is no argument in this codebase. Instead, we follow a few guiding principles that have concrete consequences on daily work.

1. Keep It Short

References to conventions that cannot/will not be put into eslint rules

License

UNLICENSE