diff options
| author | Amaury Levé | 2018-06-25 11:55:11 +0200 |
|---|---|---|
| committer | Amaury Levé | 2018-06-25 15:05:03 +0200 |
| commit | 0105e87be8d99a8e9c99faa0a278fc3a2d676a20 (patch) | |
| tree | 09f6c39469ecc29714e0b466a6a27e1e26332285 /its/plugin/projects/issues-project | |
| parent | 99ba1731fae85f49ae6bd9462a7d52070f104b52 (diff) | |
| download | sonar-css-0105e87be8d99a8e9c99faa0a278fc3a2d676a20.tar.bz2 | |
Rule S1116: Empty statements should be removed
Diffstat (limited to 'its/plugin/projects/issues-project')
| -rw-r--r-- | its/plugin/projects/issues-project/src/file1.css | 22 | ||||
| -rw-r--r-- | its/plugin/projects/issues-project/src/file2.less | 22 | ||||
| -rw-r--r-- | its/plugin/projects/issues-project/src/file3.scss | 22 |
3 files changed, 39 insertions, 27 deletions
diff --git a/its/plugin/projects/issues-project/src/file1.css b/its/plugin/projects/issues-project/src/file1.css index 13c2cc0..6e1dcdd 100644 --- a/its/plugin/projects/issues-project/src/file1.css +++ b/its/plugin/projects/issues-project/src/file1.css @@ -1,16 +1,20 @@ @import "a.css"; -@import "a.css"; /* S1128 | no-duplicate-at-import-rules */ +@import "a.css"; /* S1128 | no-duplicate-at-import-rules */ .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 */ - font: 1em/1.3 Times; /* S4649 | font-family-no-missing-generic-family-keyword */ - font-family: serif, serif; /* S4648 | font-family-no-duplicate-names */ + color: orange; /* S4656 | declaration-block-no-duplicate-properties */ + font: 1em/1.3 Times; /* S4649 | font-family-no-missing-generic-family-keyword */ + font-family: serif, serif; /* S4648 | font-family-no-duplicate-names */ +} + +a { + color: pink;; /* S1116 | no-extra-semicolons */ } @keyframes important1 { @@ -18,6 +22,6 @@ margin-top: 50px; } to { - margin-top: 100px !important; /* S4655 | keyframe-declaration-no-important */ + 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 f8ddf14..3f2809c 100644 --- a/its/plugin/projects/issues-project/src/file2.less +++ b/its/plugin/projects/issues-project/src/file2.less @@ -1,16 +1,20 @@ @import "a.css"; -@import "a.css"; /* S1128 | no-duplicate-at-import-rules | Doesn't raise for LESS */ +@import "a.css"; /* S1128 | no-duplicate-at-import-rules | Doesn't raise for LESS */ .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 */ - font: 1em/1.3 Times; /* S4649 | font-family-no-missing-generic-family-keyword */ - font-family: serif, serif; /* S4648 | font-family-no-duplicate-names */ + color: orange; /* S4656 | declaration-block-no-duplicate-properties */ + font: 1em/1.3 Times; /* S4649 | font-family-no-missing-generic-family-keyword */ + font-family: serif, serif; /* S4648 | font-family-no-duplicate-names */ +} + +a { + color: pink;; /* S1116 | no-extra-semicolons */ } @keyframes important1 { @@ -18,6 +22,6 @@ margin-top: 50px; } to { - margin-top: 100px !important; /* S4655 | keyframe-declaration-no-important */ + 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 13c2cc0..6e1dcdd 100644 --- a/its/plugin/projects/issues-project/src/file3.scss +++ b/its/plugin/projects/issues-project/src/file3.scss @@ -1,16 +1,20 @@ @import "a.css"; -@import "a.css"; /* S1128 | no-duplicate-at-import-rules */ +@import "a.css"; /* S1128 | no-duplicate-at-import-rules */ .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 */ - font: 1em/1.3 Times; /* S4649 | font-family-no-missing-generic-family-keyword */ - font-family: serif, serif; /* S4648 | font-family-no-duplicate-names */ + color: orange; /* S4656 | declaration-block-no-duplicate-properties */ + font: 1em/1.3 Times; /* S4649 | font-family-no-missing-generic-family-keyword */ + font-family: serif, serif; /* S4648 | font-family-no-duplicate-names */ +} + +a { + color: pink;; /* S1116 | no-extra-semicolons */ } @keyframes important1 { @@ -18,6 +22,6 @@ margin-top: 50px; } to { - margin-top: 100px !important; /* S4655 | keyframe-declaration-no-important */ + margin-top: 100px !important; /* S4655 | keyframe-declaration-no-important */ } }
\ No newline at end of file |
