瀏覽代碼

Chore: update ESLint/TS ignore

SukkaW 10 月之前
父節點
當前提交
31aeb4bce7
共有 2 個文件被更改,包括 8 次插入0 次删除
  1. 4 0
      eslint.config.js
  2. 4 0
      tsconfig.json

+ 4 - 0
eslint.config.js

@@ -1,6 +1,10 @@
 'use strict';
 
 module.exports = require('eslint-config-sukka').sukka({
+  ignores: [
+    '**/*.conf',
+    '**/*.txt'
+  ],
   js: {
     disableNoConsoleInCLI: ['Build/**']
   },

+ 4 - 0
tsconfig.json

@@ -18,5 +18,9 @@
     "./Source/**/*.js",
     "./Build/**/*.ts",
     "./Source/**/*.ts"
+  ],
+  "exclude": [
+    "node_modules",
+    "public"
   ]
 }