mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-03 01:38:46 +02:00
This disables caughtErrors from everywhere. This is enabled by default in v9. We should work to enable this later. This also changes the exported comments - ESLint is more strict about what it can handle, and doesn't like a star in the middle of the comment. Also tidies up some rules where they are no longer needed. Differential Revision: https://phabricator.services.mozilla.com/D251253
15 lines
419 B
JavaScript
15 lines
419 B
JavaScript
/* 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
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
export default [
|
|
{
|
|
rules: {
|
|
"no-inner-declarations": "error",
|
|
"no-unused-vars": [
|
|
"error",
|
|
{ vars: "all", caughtErrors: "none", argsIgnorePattern: "^_" },
|
|
],
|
|
},
|
|
},
|
|
];
|