Skip to content

Commit aca05a9

Browse files
Move eslintrc comment in nimbus.js into .eslintrc.js
1 parent da55a10 commit aca05a9

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/apis/.eslintrc.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,7 @@ module.exports = {
55
ExtensionAPI: true,
66
ExtensionError: true,
77
},
8+
rules: {
9+
"no-unused-vars": ["error", { varsIgnorePattern: "nimbus" }],
10+
},
811
};

src/apis/nimbus.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
44
*/
55

6-
/* eslint no-unused-vars: ["error", { "varsIgnorePattern": "nimbus" }]*/
7-
86
const lazy = {};
97

108
ChromeUtils.defineESModuleGetters(lazy, {

0 commit comments

Comments
 (0)