diff --git a/lib/utils/indent-common.js b/lib/utils/indent-common.js index c8719a98a..1b93f2069 100644 --- a/lib/utils/indent-common.js +++ b/lib/utils/indent-common.js @@ -631,8 +631,16 @@ module.exports.defineVisitor = function create (context, tokenStore, defaultOpti */ function validateCore (token, expectedIndent, optionalExpectedIndent) { const line = token.loc.start.line - const actualIndent = token.loc.start.column const indentText = getIndentText(token) + + // If there is no line terminator after the `