feat: Migrate ESLint to flat config and resolve initial linting errors
Migrated the ESLint configuration to the new flat config format () and addressed several initial linting errors. Key changes include: - Updated ESLint configuration to treat as warnings instead of errors. - Fixed errors in by declaring and . - Corrected error in by using instead of an out-of-scope . - Resolved error in by replacing the undefined directive with the component. - Addressed errors in by replacing with and with . - Fixed errors in by importing necessary modules (, , ) and adding missing props (, , , , ).
This commit is contained in:
@@ -11,10 +11,10 @@ const config = {
|
||||
preprocess: [vitePreprocess()],
|
||||
|
||||
vitePlugin: {
|
||||
inspector: true,
|
||||
inspector: true
|
||||
},
|
||||
kit: {
|
||||
adapter: adapter_node(),
|
||||
adapter: adapter_node()
|
||||
|
||||
// adapter: adapter_static({
|
||||
// // default options are shown. On some platforms
|
||||
@@ -39,4 +39,4 @@ const config = {
|
||||
// },
|
||||
}
|
||||
};
|
||||
export default config;
|
||||
export default config;
|
||||
|
||||
Reference in New Issue
Block a user