From 8205e76d121ccad52f55267284788fed90d02966 Mon Sep 17 00:00:00 2001 From: Yosuke Ota Date: Mon, 30 Oct 2023 14:12:11 +0000 Subject: [PATCH] fix lint error --- .eslintrc.js | 4 ++++ package.json | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index b62b4c7c..15f31316 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -64,6 +64,10 @@ module.exports = { selector: "method", format: null, }, + { + selector: "import", + format: ["camelCase", "PascalCase", "UPPER_CASE"], + }, ], "@typescript-eslint/no-non-null-assertion": "off", "@typescript-eslint/no-use-before-define": "off", diff --git a/package.json b/package.json index 4f361afd..306cfa31 100644 --- a/package.json +++ b/package.json @@ -63,7 +63,7 @@ "@changesets/changelog-github": "^0.4.8", "@changesets/cli": "^2.26.1", "@changesets/get-release-plan": "^3.0.16", - "@ota-meshi/eslint-plugin": "^0.15.0", + "@ota-meshi/eslint-plugin": "^0.15.2", "@types/benchmark": "^2.1.2", "@types/chai": "^4.3.5", "@types/eslint": "^8.40.1", @@ -73,7 +73,7 @@ "@types/mocha": "^10.0.1", "@types/node": "^18.16.16", "@types/semver": "^7.5.0", - "@typescript-eslint/eslint-plugin": "^6.1.0", + "@typescript-eslint/eslint-plugin": "^6.9.0", "@typescript-eslint/parser": "~6.8.0", "@typescript-eslint/types": "~6.8.0", "benchmark": "^2.1.4",