mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 02:14:43 +00:00
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:
parent
010d63ba33
commit
59a8c923af
@ -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/**
|
||||||
|
@ -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",
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user