diff options
| author | Amaury Levé | 2018-06-22 16:22:04 +0200 |
|---|---|---|
| committer | GitHub | 2018-06-22 16:22:04 +0200 |
| commit | 7385260825c79419a920bdf835e925cef916b404 (patch) | |
| tree | 0d50a28fc9e2eb0de3169c602651617c6d2a8c13 /its/plugin | |
| parent | 08d6560282dcd46710d7ad2db4ab8a4bb969e116 (diff) | |
| download | sonar-css-7385260825c79419a920bdf835e925cef916b404.tar.bz2 | |
Rule S4656: Properties should not be duplicated (#63)
Diffstat (limited to 'its/plugin')
| -rw-r--r-- | its/plugin/projects/issues-project/src/file1.css | 12 | ||||
| -rw-r--r-- | its/plugin/projects/issues-project/src/file2.less | 12 | ||||
| -rw-r--r-- | its/plugin/projects/issues-project/src/file3.scss | 12 |
3 files changed, 21 insertions, 15 deletions
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 +} |
