summaryrefslogtreecommitdiffstats
path: root/toolkit/mozapps/extensions/test/xpcshell/.eslintrc.js
blob: 8e3971b385f9a3881560fb294798b88c98e41d17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
"use strict";

module.exports = {
  rules: {
    "no-unused-vars": [
      "error",
      { args: "none", varsIgnorePattern: "^end_test$" },
    ],
  },
  overrides: [
    {
      files: "head*.js",
      rules: {
        "no-unused-vars": [
          "error",
          {
            args: "none",
            vars: "local",
          },
        ],
      },
    },
  ],
};