9 lines
352 B
JavaScript
9 lines
352 B
JavaScript
import { lintWarning } from "./utils";
|
|
var linter = function linter(key, value, info) {
|
|
if (key === 'animation') {
|
|
if (info.hashId && value !== 'none') {
|
|
lintWarning("You seem to be using hashed animation '".concat(value, "', in which case 'animationName' with Keyframe as value is recommended."), info);
|
|
}
|
|
}
|
|
};
|
|
export default linter; |