Skip to content

Updates to markdown linting - #1127

Merged
chancancode merged 4 commits into
ember-learn:masterfrom
maxwondercorn:md-linting-update
Oct 15, 2019
Merged

chancancode merged 4 commits into
ember-learn:masterfrom
maxwondercorn:md-linting-update

Conversation

@maxwondercorn

Copy link
Copy Markdown
Contributor

Multiple updates to the markdown linting setup

  • Moved selected words from the local dictionary to ember-dictionary
  • Updated .remarkignore to lint only 3.8.x onward (2 LTS releases)
  • Bumped ember-dictionary version to latest
  • Bumped retext-repeated-words version to latest

Comment thread .local.dic Resolved
Comment thread .remarkignore Resolved

@chancancode chancancode left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM other than the comments

@chancancode

Copy link
Copy Markdown
Contributor

@maxwondercorn do you think you can help with ember-learn/super-rentals-tutorial#13?

That workflow is that we write special "runnable" markdowns in that repo. When we merge a pull request there, CI will build that into "regular" markdown, and integrate the result into this repo, e.g.
#1126. Because we don't have linting setup in super-rentals-tutorial, often we will merge a PR over there, only to find out when it's being integrated that it failed some lints (repeated words and what not), and had to fix that in a second PR on super-rentals-tutorial.

It would be nice to "roughly mirror" (i.e. duplicate) the linting setup we used here into super-rentals-tutorial, so the CI there will catch most of the mistakes before we merge it there.

I'm brining it up since you seem to know how these things are setup here 😄

@chancancode

Copy link
Copy Markdown
Contributor

@jenweber should this target the octane branch?

@jenweber

jenweber commented Oct 2, 2019

Copy link
Copy Markdown
Contributor

@chancancode it's ok for this to target master. We didn't freeze PRs to 3.13 yet.

@maxwondercorn

Copy link
Copy Markdown
Contributor Author

@chancancode I'll take a look at it.

@maxwondercorn

Copy link
Copy Markdown
Contributor Author

Looks like travis errors were timeouts

@chancancode

Copy link
Copy Markdown
Contributor

@maxwondercorn Thank you for working on this! Do you mind rebasing against master?

@maxwondercorn

Copy link
Copy Markdown
Contributor Author

@chancancode I will get the rebase this afternoon

@maxwondercorn

Copy link
Copy Markdown
Contributor Author

Added words from super-rentals-tutorial and rebased against master. This PR removed some words from the local dictionary and put them into the main ember-dictionary.

If someone updates their local guides-source copy with a git pull they should run npm install to pull down the latest dictionary.

@chancancode
chancancode merged commit 677b57f into ember-learn:master Oct 15, 2019
@chancancode

Copy link
Copy Markdown
Contributor

@maxwondercorn Thank you for working on this (and ember-learn/super-rentals-tutorial#13). Sorry it had taken so long to merge this. The builds are pretty broken right now 😐

@chancancode

Copy link
Copy Markdown
Contributor

@maxwondercorn I think the next step is to merge these changes into the octane branch (which is where the new tutorial is hosted). Do you think you have cycles to work on that next?

@maxwondercorn

Copy link
Copy Markdown
Contributor Author

@chancancode Updating the octane branch should be pretty straightforward. Diff the local dictionaries and update the linting dependencies should be all that's required. I should get to it by the end of the week

@maxwondercorn
maxwondercorn deleted the md-linting-update branch October 16, 2019 03:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants