2
2
/* eslint-disable @typescript-eslint/no-unsafe-argument */
3
3
import { fixupPluginRules , includeIgnoreFile } from '@eslint/compat' ;
4
4
import eslint from '@eslint/js' ;
5
+ import stylistic from '@stylistic/eslint-plugin' ;
5
6
import eslintPluginDeprecation from 'eslint-plugin-deprecation' ;
6
7
import eslintPluginJsdoc from 'eslint-plugin-jsdoc' ;
7
8
import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended' ;
@@ -100,10 +101,6 @@ export default tseslint.config(
100
101
'@typescript-eslint/no-unsafe-assignment' : 'off' ,
101
102
'@typescript-eslint/no-unsafe-call' : 'off' ,
102
103
'@typescript-eslint/no-unsafe-member-access' : 'off' ,
103
- '@typescript-eslint/padding-line-between-statements' : [
104
- 'error' ,
105
- { blankLine : 'always' , prev : 'block-like' , next : '*' } ,
106
- ] ,
107
104
'@typescript-eslint/prefer-regexp-exec' : 'error' ,
108
105
'@typescript-eslint/restrict-plus-operands' : [
109
106
'error' ,
@@ -129,6 +126,20 @@ export default tseslint.config(
129
126
} ,
130
127
//#endregion
131
128
129
+ //#region stylistic
130
+ {
131
+ plugins : {
132
+ '@stylistic' : stylistic ,
133
+ } ,
134
+ rules : {
135
+ '@stylistic/padding-line-between-statements' : [
136
+ 'error' ,
137
+ { blankLine : 'always' , prev : 'block-like' , next : '*' } ,
138
+ ] ,
139
+ } ,
140
+ } ,
141
+ //#endregion
142
+
132
143
//#region deprecation
133
144
{
134
145
plugins : {
0 commit comments