From 08d6560282dcd46710d7ad2db4ab8a4bb969e116 Mon Sep 17 00:00:00 2001 From: Amaury Levé Date: Fri, 22 Jun 2018 14:41:52 +0200 Subject: Rule S4655: '!important' should not be used on 'keyframes' (#61) --- its/plugin/projects/issues-project/src/file2.less | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'its/plugin/projects/issues-project/src/file2.less') diff --git a/its/plugin/projects/issues-project/src/file2.less b/its/plugin/projects/issues-project/src/file2.less index 3d5ac89..4f9b880 100644 --- a/its/plugin/projects/issues-project/src/file2.less +++ b/its/plugin/projects/issues-project/src/file2.less @@ -1,7 +1,16 @@ .class1 { - background-color: #ffw; /* S4647 | color-no-invalid-hex */ - width: 100pixels; /* S4653 | unit-no-unknown */ - /* */ /* S4663 | comment-no-empty */ + background-color: #ffw; /* S4647 | color-no-invalid-hex */ + width: 100pixels; /* S4653 | unit-no-unknown */ + /* */ /* S4663 | comment-no-empty */ content: "first - second"; /* S4652 | string-no-newline */ + second"; /* S4652 | string-no-newline */ +} + +@keyframes important1 { + from { + margin-top: 50px; + } + to { + margin-top: 100px !important; /* S4655 | keyframe-declaration-no-important */ + } } \ No newline at end of file -- cgit v1.2.3