@@ -78,6 +78,78 @@ const esLintConfig: CoreConfig = {
7878 } ,
7979 ] . map ( ( ref ) => ( { ...ref , slug : slugify ( ref . slug ) } ) ) ,
8080 } ,
81+ {
82+ slug : 'type-safety' ,
83+ title : 'Type safety' ,
84+ refs : [
85+ {
86+ type : 'audit' as const ,
87+ plugin : 'eslint' ,
88+ slug : '@typescript-eslint/no-explicit-any' ,
89+ weight : 3 ,
90+ } ,
91+ {
92+ type : 'audit' as const ,
93+ plugin : 'eslint' ,
94+ slug : '@typescript-eslint/explicit-module-boundary-types' ,
95+ weight : 1 ,
96+ } ,
97+ {
98+ type : 'audit' as const ,
99+ plugin : 'eslint' ,
100+ slug : '@typescript-eslint/no-non-null-assertion' ,
101+ weight : 2 ,
102+ } ,
103+ {
104+ type : 'audit' as const ,
105+ plugin : 'eslint' ,
106+ slug : '@typescript-eslint/no-floating-promises' ,
107+ weight : 1 ,
108+ } ,
109+ {
110+ type : 'audit' as const ,
111+ plugin : 'eslint' ,
112+ slug : '@typescript-eslint/no-unnecessary-type-assertion' ,
113+ weight : 1 ,
114+ } ,
115+ {
116+ type : 'audit' as const ,
117+ plugin : 'eslint' ,
118+ slug : '@typescript-eslint/no-misused-promises' ,
119+ weight : 1 ,
120+ } ,
121+ {
122+ type : 'audit' as const ,
123+ plugin : 'eslint' ,
124+ slug : '@typescript-eslint/prefer-readonly' ,
125+ weight : 1 ,
126+ } ,
127+ {
128+ type : 'audit' as const ,
129+ plugin : 'eslint' ,
130+ slug : '@typescript-eslint/prefer-readonly-parameter-types' ,
131+ weight : 1 ,
132+ } ,
133+ {
134+ type : 'audit' as const ,
135+ plugin : 'eslint' ,
136+ slug : '@typescript-eslint/prefer-optional-chain' ,
137+ weight : 1 ,
138+ } ,
139+ {
140+ type : 'audit' as const ,
141+ plugin : 'eslint' ,
142+ slug : '@typescript-eslint/prefer-ts-expect-error' ,
143+ weight : 1 ,
144+ } ,
145+ {
146+ type : 'audit' as const ,
147+ plugin : 'eslint' ,
148+ slug : '@typescript-eslint/unified-signatures' ,
149+ weight : 1 ,
150+ } ,
151+ ] . map ( ( ref ) => ( { ...ref , slug : slugify ( ref . slug ) } ) ) ,
152+ } ,
81153 ] ,
82154} ;
83155
0 commit comments