зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1357393 - Correct getting the rootDir in createExports - used for publishing eslint-plugin-mozilla. r=mossop
Bump the version number to match what is currently published. MozReview-Commit-ID: 8r8otQQBqBo --HG-- extra : rebase_source : 1b7daac6b2852117ae08927fd5a09b2a7650d683
This commit is contained in:
Родитель
9800f2b30a
Коммит
2e1696e256
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "eslint-plugin-mozilla",
|
"name": "eslint-plugin-mozilla",
|
||||||
"version": "0.2.39",
|
"version": "0.2.40",
|
||||||
"description": "A collection of rules that help enforce JavaScript coding standard in the Mozilla project.",
|
"description": "A collection of rules that help enforce JavaScript coding standard in the Mozilla project.",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"eslint",
|
"eslint",
|
||||||
|
|
|
@ -10,7 +10,7 @@ var fs = require("fs");
|
||||||
var path = require("path");
|
var path = require("path");
|
||||||
var helpers = require("../lib/helpers");
|
var helpers = require("../lib/helpers");
|
||||||
|
|
||||||
const eslintDir = path.join(helpers.getRootDir(module.filename),
|
const eslintDir = path.join(helpers.rootDir,
|
||||||
"tools", "lint", "eslint");
|
"tools", "lint", "eslint");
|
||||||
|
|
||||||
const globalsFile = path.join(eslintDir, "eslint-plugin-mozilla",
|
const globalsFile = path.join(eslintDir, "eslint-plugin-mozilla",
|
||||||
|
|
Загрузка…
Ссылка в новой задаче