eslint-plugin-deprecate icon indicating copy to clipboard operation
eslint-plugin-deprecate copied to clipboard

support different error levels

Open correttojs opened this issue 5 years ago • 1 comments

'deprecate/import': [ 'warn', { nameRegExp: 'legacy-module1', use: 'new-module1 instead', level: 'error' }, { nameRegExp: 'legacy-module2', use: 'new-module1 instead', level: 'warn' }, ],

correttojs avatar Nov 28 '19 09:11 correttojs

Hi @correttojs. Thanks for the suggestion, this makes sense.

AlexMost avatar Nov 28 '19 11:11 AlexMost