eslint-plugin-yml
Advanced tools
Comparing version 0.6.1 to 0.6.2
@@ -28,2 +28,3 @@ "use strict"; | ||
const debug_1 = __importDefault(require("debug")); | ||
const path_1 = __importDefault(require("path")); | ||
const log = debug_1.default("eslint-plugin-yml:utils/index"); | ||
@@ -35,3 +36,4 @@ function createRule(ruleName, rule) { | ||
if (typeof context.parserServices.defineCustomBlocksVisitor === | ||
"function") { | ||
"function" && | ||
path_1.default.extname(context.getFilename()) === ".vue") { | ||
return context.parserServices.defineCustomBlocksVisitor(context, yamlESLintParser, { | ||
@@ -38,0 +40,0 @@ target: ["yaml", "yml"], |
{ | ||
"name": "eslint-plugin-yml", | ||
"version": "0.6.1", | ||
"version": "0.6.2", | ||
"description": "This ESLint plugin provides linting rules for YAML.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
194868
4722