Bug 1325339 - tools/lint/eslint/eslint-plugin-mozilla isn't being linted. r=mossop

MozReview-Commit-ID: ImgANPcndoF

--HG--
extra : rebase_source : 0eb85c185d907ac9c07ba26662f60dbb81511610
This commit is contained in:
Mark Banner 2016-12-22 10:53:51 +00:00
parent 010d63ba33
commit 59a8c923af
3 changed files with 5 additions and 7 deletions

View File

@ -40,9 +40,7 @@ python/**
rdf/** rdf/**
startupcache/** startupcache/**
testing/** testing/**
!tools/lint/eslint/eslint-plugin-mozilla/ tools/update-packaging/**
tools/lint/eslint/eslint-plugin-mozilla/node_modules/**
tools/**
uriloader/** uriloader/**
view/** view/**
widget/** widget/**

View File

@ -23,7 +23,7 @@ module.exports = {
"curly": ["error", "multi-line"], "curly": ["error", "multi-line"],
"handle-callback-err": ["error", "er"], "handle-callback-err": ["error", "er"],
"indent": ["error", 2, {"SwitchCase": 1}], "indent": ["error", 2, {"SwitchCase": 1}],
"max-len": ["error", 80, "error"], "max-len": ["error", 80, 2],
"no-multiple-empty-lines": ["error", {"max": 1}], "no-multiple-empty-lines": ["error", {"max": 1}],
"no-undef": "error", "no-undef": "error",
"no-undef-init": "error", "no-undef-init": "error",

View File

@ -1,7 +1,7 @@
/** /**
* @fileoverview Simply marks `test` (the test method) or `run_test` as used when * @fileoverview Simply marks `test` (the test method) or `run_test` as used
* in mochitests or xpcshell tests respectively. This avoids ESLint telling us * when in mochitests or xpcshell tests respectively. This avoids ESLint telling
* that the function is never called. * us that the function is never called.
* *
* This Source Code Form is subject to the terms of the Mozilla Public * This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this * License, v. 2.0. If a copy of the MPL was not distributed with this