File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -151,7 +151,9 @@ export class CSSSourceCode extends TextSourceCodeBase {
151151 * that ESLint needs to further process the directives.
152152 */
153153 getDisableDirectives ( ) {
154+ /** @type {Array<FileProblem> } */
154155 const problems = [ ] ;
156+ /** @type {Array<Directive> } */
155157 const directives = [ ] ;
156158
157159 this . getInlineConfigNodes ( ) . forEach ( comment => {
@@ -204,7 +206,9 @@ export class CSSSourceCode extends TextSourceCodeBase {
204206 * that ESLint needs to further process the rule configurations.
205207 */
206208 applyInlineConfig ( ) {
209+ /** @type {Array<FileProblem> } */
207210 const problems = [ ] ;
211+ /** @type {Array<{config:{rules:RulesConfig},loc:SourceLocation}> } */
208212 const configs = [ ] ;
209213
210214 this . getInlineConfigNodes ( ) . forEach ( comment => {
You can’t perform that action at this time.
0 commit comments