forked from mirrors/gecko-dev
Bug 1897898 - Separate out ESLint rule rollouts configurations to a separate module. r=frontend-codestyle-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D210992
This commit is contained in:
parent
c9e4de7a6b
commit
c01122d19b
6 changed files with 2191 additions and 2170 deletions
2177
.eslintrc-rollouts.js
Normal file
2177
.eslintrc-rollouts.js
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -4,8 +4,6 @@
|
|||
|
||||
"use strict";
|
||||
|
||||
/* eslint-env node */
|
||||
|
||||
// The `*testPaths` defined below for test paths are the main path formats we
|
||||
// prefer to support for tests as they are commonly used across the tree.
|
||||
|
||||
|
|
|
|||
2172
.eslintrc.js
2172
.eslintrc.js
File diff suppressed because it is too large
Load diff
|
|
@ -82,9 +82,9 @@ eslint-plugin-mozilla is used by a few projects outside of mozilla-central,
|
|||
so they will pick up the rule addition when eslint-plugin-mozilla is next released.
|
||||
|
||||
Where existing failures are disabled/turned to warnings, these should be handled
|
||||
in the :searchfox:`top-level .eslintrc.js file <.eslintrc.js>`, and follow-up bugs
|
||||
must be filed before landing and referenced in the appropriate sections. The
|
||||
follow-up bugs should block
|
||||
in the :searchfox:`top-level .eslintrc-rollouts.js file <..eslintrc-rollouts.js>`,
|
||||
and follow-up bugs must be filed before landing and referenced in the appropriate
|
||||
sections. The follow-up bugs should block
|
||||
`bug 1596191 <https://bugzilla.mozilla.org/show_bug.cgi?id=1596191>`_
|
||||
|
||||
Adding a New ESLint Plugin
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ eslint:
|
|||
extensions: ['mjs', 'js', 'jsm', 'json', 'jsx', 'html', 'sjs', 'xhtml']
|
||||
support-files:
|
||||
- '**/.eslintrc.js'
|
||||
- '.eslintrc-test-paths.js'
|
||||
- '.eslintrc*.js'
|
||||
- '.eslintignore'
|
||||
- 'tools/lint/eslint/**'
|
||||
# Files that can influence global variables
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ avoid-blacklist-and-whitelist:
|
|||
- java
|
||||
- kt
|
||||
exclude:
|
||||
- '**/.eslintrc.js'
|
||||
- '**/.eslintrc-rollouts.js'
|
||||
- browser/app/profile/firefox.js
|
||||
- browser/app/winlauncher/LauncherProcessWin.cpp
|
||||
- browser/base/content/browser.js
|
||||
|
|
|
|||
Loading…
Reference in a new issue