From 7385260825c79419a920bdf835e925cef916b404 Mon Sep 17 00:00:00 2001 From: Amaury Levé Date: Fri, 22 Jun 2018 16:22:04 +0200 Subject: Rule S4656: Properties should not be duplicated (#63) --- its/plugin/projects/issues-project/src/file1.css | 12 +++++++----- its/plugin/projects/issues-project/src/file2.less | 12 +++++++----- its/plugin/projects/issues-project/src/file3.scss | 12 +++++++----- 3 files changed, 21 insertions(+), 15 deletions(-) (limited to 'its/plugin/projects') diff --git a/its/plugin/projects/issues-project/src/file1.css b/its/plugin/projects/issues-project/src/file1.css index 4f9b880..afd6213 100644 --- a/its/plugin/projects/issues-project/src/file1.css +++ b/its/plugin/projects/issues-project/src/file1.css @@ -1,9 +1,11 @@ .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 */ + color: pink; + color: orange; /* S4656 | declaration-block-no-duplicate-properties */ } @keyframes important1 { @@ -13,4 +15,4 @@ to { margin-top: 100px !important; /* S4655 | keyframe-declaration-no-important */ } -} \ No newline at end of file +} diff --git a/its/plugin/projects/issues-project/src/file2.less b/its/plugin/projects/issues-project/src/file2.less index 4f9b880..afd6213 100644 --- a/its/plugin/projects/issues-project/src/file2.less +++ b/its/plugin/projects/issues-project/src/file2.less @@ -1,9 +1,11 @@ .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 */ + color: pink; + color: orange; /* S4656 | declaration-block-no-duplicate-properties */ } @keyframes important1 { @@ -13,4 +15,4 @@ to { margin-top: 100px !important; /* S4655 | keyframe-declaration-no-important */ } -} \ No newline at end of file +} diff --git a/its/plugin/projects/issues-project/src/file3.scss b/its/plugin/projects/issues-project/src/file3.scss index 4f9b880..afd6213 100644 --- a/its/plugin/projects/issues-project/src/file3.scss +++ b/its/plugin/projects/issues-project/src/file3.scss @@ -1,9 +1,11 @@ .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 */ + color: pink; + color: orange; /* S4656 | declaration-block-no-duplicate-properties */ } @keyframes important1 { @@ -13,4 +15,4 @@ to { margin-top: 100px !important; /* S4655 | keyframe-declaration-no-important */ } -} \ No newline at end of file +} -- cgit v1.2.3