JSPM

  • Created
  • Published
  • Downloads 16109
  • Score
    100M100P100Q134796F
  • License MIT

ESLint shareable config for TC's projects

Package Exports

  • eslint-config-tc

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (eslint-config-tc) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

eslint-config-tc

ESLint shareable config for TC's projects

license npm Travis Dependency Status devDependency Status

What is eslint-config-tc?

Shared configuration for ESLint. Follow the instructions below to easily include this configuration in another project without having to duplicate the file.

How do I install it?

First thing first, let's make sure you have the necessary pre-requisites.

System Dependencies

Node

Command

npm install eslint-config-tc --save-dev

Usage

Add the following to your .eslintrc.json file:

{
  "extends": "eslint-config-tc"
}

If you need to override a rule, your .eslintrc.json file should look like the example below. All shared rules will be used, but eqeqeq will be turned off.

{
  "extends": "eslint-config-tc",
  "rules": {
    "eqeqeq": "off"
  }
}

Contributing

Please see CONTRIBUTING.md.

Release History

Please see CHANGELOG.md.

License

Copyright (c) 2016 Thomas Lindner. Licensed under the MIT license.