3 const isStandardSyntaxDeclaration = require("../utils/isStandardSyntaxDeclaration");
4 const isStandardSyntaxProperty = require("../utils/isStandardSyntaxProperty");
5 const report = require("../utils/report");
6 const styleSearch = require("style-search");
8 module.exports = function(opts) {
9 opts.root.walkDecls(decl => {
11 !isStandardSyntaxDeclaration(decl) ||
12 !isStandardSyntaxProperty(decl.prop)
18 source: decl.toString(),
20 functionArguments: "skip"
23 checkComma(decl.toString(), match.startIndex, decl);
28 function checkComma(source, index, node) {
29 opts.locationChecker({
38 ruleName: opts.checkedRuleName