From d7b975a07e1b876ca2c75597d054a81564b25685 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=94=AF=E7=84=B6?= Date: Tue, 9 Aug 2022 14:24:51 +0800 Subject: [PATCH] chore: tweak eslint config --- .eslintrc.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.eslintrc.js b/.eslintrc.js index 4e8623da..f6726965 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -17,6 +17,15 @@ module.exports = { env: { mocha: true, }, + overrides: [ + { + // these messageIds were used outside + files: ["lib/rules/prefer-global/*.js"], + rules: { + "eslint-plugin/no-unused-message-ids": 0, + }, + }, + ], } // const version = require("./package.json").version