Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
## To Be Released
- Remove `linebreak-style` blocks windows users from linting their code properly [#169](https://github.com/mobify/mobify-code-style/pull/169)
- Add in Responsive Best Practices section, updated references to Adaptive [#165](https://github.com/mobify/mobify-code-style/pull/165)

## v2.8.4 (October 31, 2017)
Expand Down
4 changes: 2 additions & 2 deletions docs/test/good.expected.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ Used to test style.

## GOOD: One level step down headings.

<!--lint disable no-duplicate-headings-in-section -->
<!--lint disable no-duplicate-headings-in-section-->

### GOOD: Repeated Content when rule is disabled

### GOOD: Repeated Content when rule is disabled

<!--lint enable no-duplicate-headings-in-section -->
<!--lint enable no-duplicate-headings-in-section-->

## GOOD: Section with subsections that duplicate

Expand Down
4 changes: 2 additions & 2 deletions docs/test/good.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ Used to test style.

## GOOD: One level step down headings.

<!--lint disable no-duplicate-headings-in-section -->
<!--lint disable no-duplicate-headings-in-section-->

### GOOD: Repeated Content when rule is disabled

### GOOD: Repeated Content when rule is disabled

<!--lint enable no-duplicate-headings-in-section -->
<!--lint enable no-duplicate-headings-in-section-->

## GOOD: Section with subsections that duplicate

Expand Down
2 changes: 1 addition & 1 deletion docs/test/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ echo "Testing bad.md ..."
diff <("$LINT_MD" "$TEST_DIR/bad.md" --no-color 2>&1) "$TEST_DIR/bad.expected.md"
EXIT_BAD=$?

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

Expand Down
3 changes: 0 additions & 3 deletions es6/mobify-es6.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,6 @@ rules:
jsx-quotes: error
key-spacing: error
keyword-spacing: error
linebreak-style:
- error
- unix
max-depth:
- error
- max: 5
Expand Down