Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Commit

Permalink
Fix remark (#2880)
Browse files Browse the repository at this point in the history
* Update remark config

* Fix markdown
  • Loading branch information
wooorm authored and jasonLaster committed May 13, 2017
1 parent 51805ad commit b902d84
Show file tree
Hide file tree
Showing 8 changed files with 39 additions and 33 deletions.
30 changes: 14 additions & 16 deletions .remarkrc
@@ -1,19 +1,17 @@
{
"presets": ["lint-recommended"],
"plugins": {
"lint": {
"list-item-bullet-indent": false,
"list-item-indent": false,
"ordered-list-marker-style": false,
"no-unused-definitions": false,
"no-shortcut-reference-link": false,
"no-shortcut-reference-image": false,
"no-table-indentation": true,
"table-cell-padding": "consistent",
"table-pipes": false
},
"validate-links": {
"plugins": [
"preset-lint-recommended",
["lint-list-item-bullet-indent", false],
["lint-list-item-indent", false],
["lint-ordered-list-marker-style", false],
["lint-no-unused-definitions", false],
["lint-no-shortcut-reference-link", false],
["lint-no-shortcut-reference-image", false],
["lint-no-table-indentation", true],
["lint-table-cell-padding", "consistent"],
["lint-table-pipes", false],
["validate-links", {
"repository": ""
}
}
}]
]
}
3 changes: 3 additions & 0 deletions docs/updates/README.md
Expand Up @@ -84,3 +84,6 @@ permalink: docs/updates
[@ryanjduffy]:http://github.com/ryanjduffy
[@diessica]:http://github.com/diessica
[@andreicristianpetcu]:http://github.com/andreicristianpetcu
[@Andarist]:http://github.com/Andarist
[pr-6]:https://github.com/devtools-html/debugger.html/pull/2784
[pr-23]:https://github.com/devtools-html/debugger.html/pull/2810
3 changes: 1 addition & 2 deletions docs/updates/call-stack-4-10-2017.md
Expand Up @@ -51,7 +51,7 @@ We're going to experiment with collapsing library frames by default. This will s
#### :baby: Naming Library frames

One of the benefits of collapsing the library frames is that it gives an opportunity to
describe what the library is doing. For example, instead of showing two frames for jQuery [`elemData.handle`, `event.dispatch`], we can simply show `event`.
describe what the library is doing. For example, instead of showing two frames for jQuery \[`elemData.handle`, `event.dispatch`], we can simply show `event`.

Describing the libary functions will help make it clear when a framework is rendering, routing, or doing any other task.

Expand Down Expand Up @@ -87,7 +87,6 @@ We're really excited about how the new call stack will help users think about th
[simplify]: https://cloud.githubusercontent.com/assets/254562/25029624/14ee346e-208d-11e7-89ec-cd0385f3d69f.jpg
[highlight]: https://cloud.githubusercontent.com/assets/254562/25029622/14ea24fa-208d-11e7-9c12-824879f64bb5.jpg

[original]: https://cloud.githubusercontent.com/assets/254562/25029998/ff7c7124-208f-11e7-8417-153db75597a5.jpg
[naming]: https://cloud.githubusercontent.com/assets/254562/25029999/ff7e7fd2-208f-11e7-925d-66449a19c213.jpg

[original]: https://cloud.githubusercontent.com/assets/254562/24866189/69ce5d32-1dd7-11e7-8252-c3e33f2b7d15.jpg
Expand Down
14 changes: 7 additions & 7 deletions docs/updates/updates-2-28-2017.md
Expand Up @@ -2,10 +2,10 @@

#### Overview

Last week was nothing short or epic.
Last week was nothing short or epic.

1. We made tons of progress on function search, text search, and editor preview
2. We squashed mountains of UI and perf bugs
1. We made tons of progress on function search, text search, and editor preview
2. We squashed mountains of UI and perf bugs
3. We added great features to the scopes pane
4. We focused on integration testing and general QA.

Expand Down Expand Up @@ -125,17 +125,17 @@ We were blocked on adding the feature, while we waited for parser support. This

#### Screenshots

| Persist Scopes |
|Persist Scopes|
|----------------|
|![gif-1]|

| Editor Preview |
|Editor Preview|
|----------------|
|![gif-2]|

| Text Search |
|Text Search|
|-------------|
|![gif-3]!
|![gif-3]|


[gif-1]:https://cloud.githubusercontent.com/assets/792924/23188424/948ff100-f886-11e6-9420-bab20d56d289.gif
Expand Down
2 changes: 1 addition & 1 deletion docs/updates/updates-3-14-2017.md
Expand Up @@ -88,7 +88,7 @@ We continue to chip away at converting our source code to ES6 modules and classe

#### Clojure Syntax

| Old | New |
|Old | New|
|-----|-----|
|![old-clojure]|![new-clojure]|

Expand Down
4 changes: 2 additions & 2 deletions docs/updates/updates-3-7-2017.md
Expand Up @@ -53,11 +53,11 @@ pass consistently on different platforms in debug mode. We disabled `visible` ch



| Preview Popup |
|Preview Popup|
|----------------|
|![gif-1]|

| Dark Theme Updates |
|Dark Theme Updates|
|----|
|![png-1]|
|![png-2]|
Expand Down
4 changes: 2 additions & 2 deletions docs/updates/updates-4-18-2017.md
Expand Up @@ -57,13 +57,13 @@ Thanks everyone who helped make this a great week! [@mquander], [@AnshulMalik],

|Before|After|
|---|---|
| ![window-before] | ![window-after] |
|![window-before]|![window-after]|

#### Debugger UI Gap

|Before|After|
|---|---|
| ![gap-before] | ![gap-after] |
|![gap-before]|![gap-after]|


#### Jest Unit Tests
Expand Down
12 changes: 9 additions & 3 deletions package.json
Expand Up @@ -79,9 +79,6 @@
"pretty-fast": "^0.2.0",
"react": "=15.3.2",
"react-dom": "=15.3.2",
"remark-lint-no-table-indentation": "^1.0.0",
"remark-lint-table-cell-padding": "^1.0.0",
"remark-lint-table-pipes": "^1.0.0",
"reselect": "^3.0.0",
"rimraf": "^2.6.1",
"stylelint": "^7.10.1",
Expand Down Expand Up @@ -117,6 +114,15 @@
"react-addons-test-utils": "=15.3.2",
"remark-cli": "^3.0.0",
"remark-lint": "^6.0.0",
"remark-lint-list-item-bullet-indent": "^1.0.0",
"remark-lint-list-item-indent": "^1.0.0",
"remark-lint-no-shortcut-reference-image": "^1.0.0",
"remark-lint-no-shortcut-reference-link": "^1.0.0",
"remark-lint-no-table-indentation": "^1.0.0",
"remark-lint-no-unused-definitions": "^1.0.0",
"remark-lint-table-cell-padding": "^1.0.0",
"remark-lint-table-pipes": "^1.0.0",
"remark-lint-ordered-list-marker-style": "^1.0.0",
"remark-preset-lint-recommended": "^2.0.0",
"remark-validate-links": "^6.0.0"
},
Expand Down

0 comments on commit b902d84

Please sign in to comment.