JSPM

coffeelint-taboo

0.1.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 6
  • Score
    100M100P100Q24196F
  • License MIT

coffeelint plugin that doesn't allow accessing certain identifiers (console, debugger, it.only, etc.)

Package Exports

  • coffeelint-taboo

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 (coffeelint-taboo) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

coffeelint-taboo

Circle CI Dependencies Dev Dependencies Coverage Status

coffeelint plugin that denies access to certain identifiers that are undesirable in production such as:

  • it.only or describe.only
  • the console object
  • debugger statements

Expected use case: ensuring no debug code gets through into production (when run as part of CI). I learned this the hard way so you don't have to!

Table of Contents

Installation

Add coffeelint-taboo to your project's dependencies

npm install --save coffeelint-taboo

Insert this somewhere into your coffeelint.json file (I like to keep my custom rules at the bottom):

"reject_identifiers": {
    "module": "coffeelint-taboo",
    "level": "error",
    "identifiers": ["debugger", "console", "it.only", "describe.only"]
},

License

coffeelint-taboo is licensed under the MIT license.

↑ Back to top