@@ -2,7 +2,7 @@ import js from "@eslint/js";
22import globals from "globals" ;
33import tseslint from "typescript-eslint" ;
44import vitest from "@vitest/eslint-plugin" ;
5- import stylistic from "@stylistic/eslint-plugin-ts " ;
5+ import stylistic from "@stylistic/eslint-plugin" ;
66import { defineConfig } from "eslint/config" ;
77
88export default defineConfig ( [
@@ -31,7 +31,7 @@ export default defineConfig([
3131 files : [ "**/*.{ts,mts,cts}" ] ,
3232 plugins : {
3333 "@typescript-eslint" : tseslint . plugin ,
34- "@stylistic/ts " : stylistic ,
34+ "@stylistic" : stylistic ,
3535 } ,
3636 languageOptions : {
3737 parser : tseslint . parser ,
@@ -75,11 +75,11 @@ export default defineConfig([
7575 "lines-around-comment" : "off" ,
7676
7777 // https://github.com/typescript-eslint/typescript-eslint/tree/master/packages/eslint-plugin#supported-rules
78- '@stylistic/ts/ object-curly-spacing' : [ 'warn' , 'always' ] ,
79- "@stylistic/ts/ indent" : [ "warn" , 4 ] ,
80- "@stylistic/ts/ quotes" : [ "warn" , "single" ] ,
81- "@stylistic/ts/ semi" : "error" ,
82- "@stylistic/ts/ no-extra-parens" : "error" ,
78+ '@stylistic/object-curly-spacing' : [ 'warn' , 'always' ] ,
79+ "@stylistic/indent" : [ "warn" , 4 ] ,
80+ "@stylistic/quotes" : [ "warn" , "single" ] ,
81+ "@stylistic/semi" : "error" ,
82+ "@stylistic/no-extra-parens" : "error" ,
8383 "@typescript-eslint/no-unused-vars" : "warn" ,
8484 "@typescript-eslint/no-useless-constructor" : "warn" ,
8585 "@typescript-eslint/no-explicit-any" : "off" ,
@@ -91,19 +91,19 @@ export default defineConfig([
9191 "@typescript-eslint/prefer-optional-chain" : "warn" ,
9292 "@typescript-eslint/prefer-ts-expect-error" : "warn" ,
9393 "@typescript-eslint/promise-function-async" : "error" ,
94- "@stylistic/ts/func -call-spacing" : [ "error" , "never" ] ,
95- "@stylistic/ts/ comma-spacing" : "warn" ,
96- "@stylistic/ts/ keyword-spacing" : "warn" ,
94+ "@stylistic/function -call-spacing" : [ "error" , "never" ] ,
95+ "@stylistic/comma-spacing" : "warn" ,
96+ "@stylistic/keyword-spacing" : "warn" ,
9797 "@typescript-eslint/consistent-indexed-object-style" : [ "error" , "record" ] ,
9898 "@typescript-eslint/consistent-type-imports" : [ "error" , { prefer : 'type-imports' } ] ,
99- "@stylistic/ts/ member-delimiter-style" : "warn" ,
100- "@stylistic/ts/ type-annotation-spacing" : "warn" ,
99+ "@stylistic/member-delimiter-style" : "warn" ,
100+ "@stylistic/type-annotation-spacing" : "warn" ,
101101 "@typescript-eslint/naming-convention" : "error" ,
102102 "@typescript-eslint/no-magic-numbers" : "off" ,
103103 "@typescript-eslint/no-non-null-assertion" : "off" ,
104104 "@typescript-eslint/member-ordering" : "off" ,
105105 "@typescript-eslint/class-literal-property-style" : "off" ,
106- "@stylistic/ts/ space-before-function-paren" : [ "warn" , {
106+ "@stylistic/space-before-function-paren" : [ "warn" , {
107107 "anonymous" : "always" ,
108108 "named" : "never" ,
109109 "asyncArrow" : "always"
@@ -121,11 +121,11 @@ export default defineConfig([
121121 "@typescript-eslint/array-type" : "warn" ,
122122 "@typescript-eslint/prefer-for-of" : "off" ,
123123 "@typescript-eslint/no-restricted-imports" : "off" ,
124- "@stylistic/ts/ lines-between-class-members" : [ "error" ] ,
124+ "@stylistic/lines-between-class-members" : [ "error" ] ,
125125 "@typescript-eslint/max-params" : [ "warn" , {
126126 "max" : 5
127127 } ] ,
128- "@stylistic/ts/ lines-around-comment" : [ "warn" , {
128+ "@stylistic/lines-around-comment" : [ "warn" , {
129129 "allowInterfaceStart" : true ,
130130 "allowBlockStart" : true ,
131131 "allowModuleStart" : true ,
0 commit comments