chore: update deps
This commit is contained in:
@@ -27,15 +27,15 @@
|
||||
}
|
||||
},
|
||||
"dependencies": {
|
||||
"eslint-config-turbo": "^2.0.10",
|
||||
"eslint-config-turbo": "^2.0.11",
|
||||
"eslint-plugin-command": "^0.2.3",
|
||||
"eslint-plugin-import-x": "^3.1.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@eslint/js": "^9.8.0",
|
||||
"@types/eslint": "^9.6.0",
|
||||
"@typescript-eslint/eslint-plugin": "^7.18.0",
|
||||
"@typescript-eslint/parser": "^7.18.0",
|
||||
"@typescript-eslint/eslint-plugin": "^8.0.0",
|
||||
"@typescript-eslint/parser": "^8.0.0",
|
||||
"eslint": "^9.8.0",
|
||||
"eslint-config-prettier": "^9.1.0",
|
||||
"eslint-plugin-eslint-comments": "^3.2.0",
|
||||
|
@@ -40,22 +40,10 @@ export async function typescript(): Promise<Linter.FlatConfig[]> {
|
||||
},
|
||||
],
|
||||
|
||||
'@typescript-eslint/ban-types': 'error',
|
||||
'@typescript-eslint/consistent-type-definitions': ['warn', 'interface'],
|
||||
'@typescript-eslint/explicit-function-return-type': 'off',
|
||||
'@typescript-eslint/explicit-function-rkeyword-spacingeturn-type':
|
||||
'off',
|
||||
'@typescript-eslint/explicit-module-boundary-types': 'off',
|
||||
'@typescript-eslint/keyword-spacing': [
|
||||
'error',
|
||||
{
|
||||
after: true,
|
||||
before: true,
|
||||
overrides: {
|
||||
case: { after: true },
|
||||
return: { after: true },
|
||||
throw: { after: true },
|
||||
},
|
||||
},
|
||||
],
|
||||
'@typescript-eslint/no-empty-function': [
|
||||
'error',
|
||||
{
|
||||
@@ -65,6 +53,7 @@ export async function typescript(): Promise<Linter.FlatConfig[]> {
|
||||
'@typescript-eslint/no-explicit-any': 'off',
|
||||
'@typescript-eslint/no-namespace': 'off',
|
||||
'@typescript-eslint/no-non-null-assertion': 'error',
|
||||
'@typescript-eslint/no-unused-expressions': 'off',
|
||||
'@typescript-eslint/no-unused-vars': [
|
||||
'error',
|
||||
{
|
||||
|
@@ -116,9 +116,9 @@ interface LibraryPluginOptions extends CommonPluginOptions {
|
||||
injectLibCss?: boolean;
|
||||
}
|
||||
|
||||
interface ApplicationOptions extends ApplicationPluginOptions {}
|
||||
type ApplicationOptions = ApplicationPluginOptions;
|
||||
|
||||
interface LibraryOptions extends LibraryPluginOptions {}
|
||||
type LibraryOptions = LibraryPluginOptions;
|
||||
|
||||
type DefineApplicationOptions = (config?: ConfigEnv) => Promise<{
|
||||
application?: ApplicationOptions;
|
||||
|
Reference in New Issue
Block a user