tools/lint/eslint/eslint-plugin-mozilla/package.json
author Mark Banner <standard8@mozilla.com>
Thu, 22 Nov 2018 16:46:19 +0000
changeset 504141 5a48334dcd159b70d813104a4ca6c6c415d5764f
parent 503459 f5d0cd55a71393bd9fe0bf3673f500aa3a9c3ddb
child 504800 cc540ed50749d32dfc41981b568de1abdd8b816b
permissions -rw-r--r--
Bug 1502048 - Update the list of ESLint globals for recent JSM scope changes. r=nika,mossop This patch creates a new list of privileged globals, based on the webidl bindings. The list of jsm globals is reduced to only the ones specially extended to that scope. The privileged globals are enabled everywhere for the time being - although we likely could limit scopes, doing so is difficult with our current mozilla-central layout and configuration settings. Differential Revision: https://phabricator.services.mozilla.com/D12302

{
  "name": "eslint-plugin-mozilla",
  "version": "1.0.0",
  "description": "A collection of rules that help enforce JavaScript coding standard in the Mozilla project.",
  "keywords": [
    "eslint",
    "eslintplugin",
    "eslint-plugin",
    "mozilla",
    "firefox"
  ],
  "bugs": {
    "url": "https://bugzilla.mozilla.org/enter_bug.cgi?product=Testing&component=Lint"
  },
  "homepage": "http://firefox-source-docs.mozilla.org/tools/lint/linters/eslint-plugin-mozilla.html",
  "repository": {
    "type": "hg",
    "url": "https://hg.mozilla.org/mozilla-central/"
  },
  "author": "Mike Ratcliffe",
  "main": "lib/index.js",
  "dependencies": {
    "ini-parser": "0.0.2",
    "sax": "1.2.4",
    "htmlparser2": "3.9.2"
  },
  "devDependencies": {
    "eslint": "5.3.0",
    "mocha": "5.2.0"
  },
  "peerDependencies": {
    "eslint": "^5.0.1",
    "eslint-plugin-no-unsanitized": "^3.0.0"
  },
  "engines": {
    "node": ">=6.9.1"
  },
  "scripts": {
    "prepack": "node scripts/createExports.js",
    "test": "mocha -R dot --reporter 'reporters/mozilla-format.js' tests",
    "postpublish": "rm -f lib/modules.json lib/environments/saved-globals.json lib/rules/saved-rules-data.json",
    "update-tooltool": "./update.sh"
  },
  "license": "MPL-2.0"
}