chore: Rename the website directory to docs
This commit is contained in:
@@ -41,8 +41,7 @@ export async function typescript(): Promise<Linter.FlatConfig[]> {
|
||||
],
|
||||
|
||||
'@typescript-eslint/consistent-type-definitions': ['warn', 'interface'],
|
||||
'@typescript-eslint/explicit-function-rkeyword-spacingeturn-type':
|
||||
'off',
|
||||
'@typescript-eslint/explicit-function-return-type': 'off',
|
||||
'@typescript-eslint/explicit-module-boundary-types': 'off',
|
||||
'@typescript-eslint/no-empty-function': [
|
||||
'error',
|
||||
|
@@ -116,7 +116,7 @@ const customConfig: Linter.FlatConfig[] = [
|
||||
},
|
||||
// 后端模拟代码,不需要太多规则
|
||||
{
|
||||
files: ['apps/backend-mock/**/**', 'website/**/**'],
|
||||
files: ['apps/backend-mock/**/**', 'docs/**/**'],
|
||||
rules: {
|
||||
'@typescript-eslint/no-extraneous-class': 'off',
|
||||
'n/no-extraneous-import': 'off',
|
||||
|
Reference in New Issue
Block a user