From 4d6725cb2f8859ecbb5793c2332c7d24d81434be Mon Sep 17 00:00:00 2001 From: Huan Luo Date: Sat, 13 Apr 2024 23:24:51 +0800 Subject: [PATCH] feat(#41): add support for flat config --- lib/index.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lib/index.js b/lib/index.js index 320f8fe..936ba7a 100644 --- a/lib/index.js +++ b/lib/index.js @@ -16,3 +16,13 @@ export const rules = { 'folder-naming-convention': FolderNamingConvention, 'no-index': NoIndex, }; + +const plugin = { + meta: { + name: 'eslint-plugin-check-file', + version: '2.7.1', + }, + rules, +}; + +export default plugin;