update build scripts and prompt,s

This commit is contained in:
louiscklaw
2025-04-24 13:19:51 +08:00
parent 92040c6efb
commit b8e8968866
12 changed files with 642 additions and 119 deletions

View File

@@ -1,7 +1,6 @@
const { resolve } = require('node:path');
const project = resolve(__dirname, 'tsconfig.json');
module.exports = {
root: true,
extends: [
@@ -84,4 +83,13 @@ module.exports = {
'react/jsx-sort-props': 'off',
},
ignorePatterns: ['**/*del', '**/*bak', '**/*copy.*', '**/*copy*.*'],
overrides: [
{
// override to ignore no-def for `describe`, `it`, and `expect`
files: ['*.test.ts', '*.test.tsx'],
rules: {
'no-undef': 'off',
},
},
],
};