Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Commit 9973ed6

Browse files
authored
Merge pull request #169 from mobify/remove-linebreak-style
Remove `linebreak-style` Rule for ES6
2 parents b44fdf3 + b5c798b commit 9973ed6

File tree

5 files changed

+6
-8
lines changed

5 files changed

+6
-8
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
## To Be Released
2+
- Remove `linebreak-style` blocks windows users from linting their code properly [#169](https://github.com/mobify/mobify-code-style/pull/169)
23
- Add in Responsive Best Practices section, updated references to Adaptive [#165](https://github.com/mobify/mobify-code-style/pull/165)
34

45
## v2.8.4 (October 31, 2017)

docs/test/good.expected.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ Used to test style.
44

55
## GOOD: One level step down headings.
66

7-
<!--lint disable no-duplicate-headings-in-section -->
7+
<!--lint disable no-duplicate-headings-in-section-->
88

99
### GOOD: Repeated Content when rule is disabled
1010

1111
### GOOD: Repeated Content when rule is disabled
1212

13-
<!--lint enable no-duplicate-headings-in-section -->
13+
<!--lint enable no-duplicate-headings-in-section-->
1414

1515
## GOOD: Section with subsections that duplicate
1616

docs/test/good.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ Used to test style.
44

55
## GOOD: One level step down headings.
66

7-
<!--lint disable no-duplicate-headings-in-section -->
7+
<!--lint disable no-duplicate-headings-in-section-->
88

99
### GOOD: Repeated Content when rule is disabled
1010

1111
### GOOD: Repeated Content when rule is disabled
1212

13-
<!--lint enable no-duplicate-headings-in-section -->
13+
<!--lint enable no-duplicate-headings-in-section-->
1414

1515
## GOOD: Section with subsections that duplicate
1616

docs/test/test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ echo "Testing bad.md ..."
2323
diff <("$LINT_MD" "$TEST_DIR/bad.md" --no-color 2>&1) "$TEST_DIR/bad.expected.md"
2424
EXIT_BAD=$?
2525

26-
echo "Testing a-bad-filename.expected.md ..."
26+
echo "Testing a-bad-filename.md ..."
2727
diff <("$LINT_MD" "$TEST_DIR/a-bad-filename.md" --no-color 2>&1) "$TEST_DIR/a-bad-filename.expected.md"
2828
EXIT_BAD_FILENAME=$?
2929

es6/mobify-es6.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,6 @@ rules:
148148
jsx-quotes: error
149149
key-spacing: error
150150
keyword-spacing: error
151-
linebreak-style:
152-
- error
153-
- unix
154151
max-depth:
155152
- error
156153
- max: 5

0 commit comments

Comments
 (0)