use ts-es-tree-typings, support import-equals

This commit is contained in:
Johannes Rieken
2019-12-30 14:08:44 +01:00
parent 11f9af09d7
commit 4db80066b4
14 changed files with 123 additions and 38 deletions

View File

@@ -47,7 +47,7 @@ module.exports = new class {
if (!matched) {
// None of the restrictions matched
context.report({
node,
loc: node.loc,
messageId: 'badImport',
data: {
restrictions: restrictions.join(' or ')