JSPM

coffeelint-advanced-missing-fat-arrows

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 4
  • Score
    100M100P100Q37022F
  • License Apache-2.0

Warns when you use 'this' inside a function that wasn't defined with a fat arrow. Configurable by comment.

Package Exports

  • coffeelint-advanced-missing-fat-arrows

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

Readme

coffeelint-advanced-missing-fat-arrows

This is exactly like the coffeelint builtin missing_fat_arrows rule, except you can disable it with a 'use this' directive in the first line of your function.

Install via npm, then configure in coffeelint.json like so:

"advanced_missing_fat_arrows": {
    "module": "coffeelint-advanced-missing-fat-arrows",
    "level": "warn"
}