diff --git a/knip.json b/knip.json index e229b4a..ed33a0c 100644 --- a/knip.json +++ b/knip.json @@ -7,5 +7,5 @@ } }, "ignoreDependencies": ["sherif", "uuid"], - "ignoreFiles": ["sample/index.ts"] + "ignoreFiles": ["sample/index.ts", "packages/config/tsignore.ts"] } diff --git a/packages/config/eslint-preset.js b/packages/config/eslint-preset.js index 29983f4..7ad1f03 100644 --- a/packages/config/eslint-preset.js +++ b/packages/config/eslint-preset.js @@ -2,7 +2,7 @@ import { defineConfig } from 'eslint/config' import eslint from '@eslint/js' import tseslint from 'typescript-eslint' -export const tempblotTSRules = { +const tempblotTSRules = { '@typescript-eslint/no-empty-function': 'off', '@typescript-eslint/no-unused-vars': [ 'warn', // or "error" @@ -14,7 +14,7 @@ export const tempblotTSRules = { ], } -export const tempblotJSRules = { +const tempblotJSRules = { 'no-restricted-imports': [ 'error', {