eslint-plugin-buildium

2.3.0 • Public • Published

eslint-plugin-buildium

Installation

npm install eslint-plugin-buildium --save-dev

Rules

There are four custom rules:

  • func-names
    • Requires that all functions be named, unless they are passed as an argument to another function
  • template-location
    • Requires that template includes (i.e. fs.readFileSync() calls) be located outside of module.exports
  • imports-lodash
    • Requires that require('lodash') is not used (should use underscore or a specific lodash function)
  • imports-jquery
    • Requires that jquery be used instead of jQuery (which causes jquery to be bundled incorrectly for us)
  • no-focused-tests
    • Requires that no files may be checked in with fdescribe, ddescribe, fit or iit.
  • angular-strict-di
    • Requires that AngularJS functions use explicit annotations with $inject array.

/eslint-plugin-buildium/

    Package Sidebar

    Install

    npm i eslint-plugin-buildium

    Weekly Downloads

    65

    Version

    2.3.0

    License

    MIT

    Unpacked Size

    34.5 kB

    Total Files

    21

    Last publish

    Collaborators

    • buildium