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 @@ -197,7 +197,9 @@ export class JSONSourceCode extends TextSourceCodeBase {
197197 * that ESLint needs to further process the directives.
198198 */
199199 getDisableDirectives ( ) {
200+ /** @type {Array<FileProblem> } */
200201 const problems = [ ] ;
202+ /** @type {Array<Directive> } */
201203 const directives = [ ] ;
202204
203205 this . getInlineConfigNodes ( ) . forEach ( comment => {
@@ -250,7 +252,9 @@ export class JSONSourceCode extends TextSourceCodeBase {
250252 * that ESLint needs to further process the rule configurations.
251253 */
252254 applyInlineConfig ( ) {
255+ /** @type {Array<FileProblem> } */
253256 const problems = [ ] ;
257+ /** @type {Array<{config:{rules:RulesConfig},loc:SourceLocation}> } */
254258 const configs = [ ] ;
255259
256260 this . getInlineConfigNodes ( ) . forEach ( comment => {
You can’t perform that action at this time.
0 commit comments