tc-rules

5.0.0 • Public • Published

TaskCluster Javascript Rules

This repository contains various rules for taskcluster node components. Intended to be used with modules such as babel-compile and eslint. For efficiency we've named the package tc-rules to keep the name short.

Example:

{
  "name": "taskcluster-lib-...",
  "version": "...",
  "license": "MPL-2.0",
  "scripts": {
    "compile": "babel-compile -c tc-rules/babel src:lib test:.test",
    "prepublish": "npm run compile",
    "pretest": "npm run compile",
  },
  "dependencies": {
    "babel-runtime": "^5.8.25"
  },
  "devDependencies": {
    "babel-compile": "^0.0.3",
    "mocha": "^2.0.1",
    "tc-rules": "^1.0.6"
  },
  ...
}
 

By loading configuration from this module, all TaskCluster Javascript modules can have the same linter and babel configuration. This should help us keep the code reasonably consistent.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 5.0.0
    0
    • latest

Version History

Package Sidebar

Install

npm i tc-rules

Weekly Downloads

1

Version

5.0.0

License

ISC

Last publish

Collaborators

  • jwhitlock
  • bsieber
  • pmoore
  • taskcluster-bot
  • jonasfj