Closed StewEucen closed 5 months ago
no-warning-comments
{ 'no-warning-comments': [ 'error', { terms: [ 'todo', 'fixme', 'xxx', ], location: 'start', decoration: undefined, // When disable `decoration` field, give undefined instead of empty array }, ], }
undefined
[]
Overview
no-warning-comments
ruleNote
undefined
instead of[]
is as follows: See → https://github.com/eslint/eslint/blob/main/lib/rules/no-warning-comments.js#L47