Check ignore next warning comments in a warn() helper

This commit is contained in:
dualfroz committed 2026-10-05 23:11:46 +02:00
1 parent e47232149a
commit dc4f2415a8
7 files changed
+121 -82

No files matched your search

+4 -3
View File
@@ -1,5 +1,5 @@
let Declaration = require('../declaration')
let { isPureNumber } = require('../utils')
let { isPureNumber, warn } = require('../utils')
class GridEnd extends Declaration {
/**
@@ -34,9 +34,10 @@ class GridEnd extends Declaration {
return undefined
}
} else {
decl.warn(
warn(
result,
`Can not prefix ${decl.prop} (${startProp} is not found)`
`Can not prefix ${decl.prop} (${startProp} is not found)`,
{ node: decl }
)
}
}