зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
010d63ba33
Коммит
59a8c923af
|
@ -40,9 +40,7 @@ python/**
|
|||
rdf/**
|
||||
startupcache/**
|
||||
testing/**
|
||||
!tools/lint/eslint/eslint-plugin-mozilla/
|
||||
tools/lint/eslint/eslint-plugin-mozilla/node_modules/**
|
||||
tools/**
|
||||
tools/update-packaging/**
|
||||
uriloader/**
|
||||
view/**
|
||||
widget/**
|
||||
|
|
|
@ -23,7 +23,7 @@ module.exports = {
|
|||
"curly": ["error", "multi-line"],
|
||||
"handle-callback-err": ["error", "er"],
|
||||
"indent": ["error", 2, {"SwitchCase": 1}],
|
||||
"max-len": ["error", 80, "error"],
|
||||
"max-len": ["error", 80, 2],
|
||||
"no-multiple-empty-lines": ["error", {"max": 1}],
|
||||
"no-undef": "error",
|
||||
"no-undef-init": "error",
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* @fileoverview Simply marks `test` (the test method) or `run_test` as used when
|
||||
* in mochitests or xpcshell tests respectively. This avoids ESLint telling us
|
||||
* that the function is never called.
|
||||
* @fileoverview Simply marks `test` (the test method) or `run_test` as used
|
||||
* when in mochitests or xpcshell tests respectively. This avoids ESLint telling
|
||||
* us that the function is never called.
|
||||
*
|
||||
* 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
|
||||
|
|
Загрузка…
Ссылка в новой задаче