-
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ feat: Add or modify imports, update configurations, and add new files
- Add or modify imports in various files - Update configurations in .eslintrc.js, .fatherrc.ts, example/.dumirc.ts, package.json, tsconfig.json, and vitest.config.ts - Add new files This commit introduces new features by adding or modifying imports, updating configurations, and adding new files to the project. The changes were made to .eslintrc.js, .fatherrc.ts, example/.dumirc.ts, package.json, src/builtins/Container/style.ts, tsconfig.json, and vitest.config.ts files.
- Loading branch information
1 parent
b8748a5
commit 465b9a5
Showing
8 changed files
with
45 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,9 @@ | ||
module.exports = require('@lobehub/lint').eslint; | ||
const config = require('@lobehub/lint').eslint; | ||
|
||
module.exports = { | ||
...config, | ||
rules: { | ||
...config.rules, | ||
'unicorn/prefer-string-replace-all': 0, | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import { defineConfig } from 'vitest/config'; | ||
|
||
import { name } from './package.json'; | ||
|
||
export default defineConfig({ | ||
esbuild: { | ||
jsxInject: "import React from 'react'", | ||
}, | ||
test: { | ||
alias: { | ||
'@': './src', | ||
[name]: './src', | ||
}, | ||
coverage: { | ||
reporter: ['text', 'text-summary', 'json', 'lcov'], | ||
}, | ||
environment: 'jsdom', | ||
globals: true, | ||
setupFiles: './tests/test-setup.ts', | ||
}, | ||
}); |