chore: update eslint type (#4032)
* chore: update eslint type * fix: test type error --------- Co-authored-by: dong <196628497@qq.com>
This commit is contained in:
@@ -51,7 +51,7 @@ export async function jsonc(): Promise<Linter.Config[]> {
|
||||
];
|
||||
}
|
||||
|
||||
function sortPackageJson(): Linter.FlatConfig {
|
||||
function sortPackageJson(): Linter.Config {
|
||||
return {
|
||||
files: ['**/package.json'],
|
||||
rules: {
|
||||
@@ -130,7 +130,7 @@ function sortPackageJson(): Linter.FlatConfig {
|
||||
};
|
||||
}
|
||||
|
||||
function sortTsconfig(): Linter.FlatConfig {
|
||||
function sortTsconfig(): Linter.Config {
|
||||
return {
|
||||
files: [
|
||||
'**/tsconfig.json',
|
||||
|
Reference in New Issue
Block a user