Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lint our markdown #988

Merged
merged 9 commits into from
Jun 17, 2017
Merged

lint our markdown #988

merged 9 commits into from
Jun 17, 2017

Conversation

ljharb
Copy link
Member

@ljharb ljharb commented Jun 17, 2017

From #984 (comment)

Now our docs will be linted.

Copy link
Collaborator

@nfcampos nfcampos left a comment

Choose a reason for hiding this comment

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

looks great! this is a great addition to the repo

"import/no-unresolved": 0,
"import/no-extraneous-dependencies": 0,
"import/extensions": 0,
"max-len": 0,
Copy link
Collaborator

Choose a reason for hiding this comment

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

why disable this one?

Copy link
Member Author

Choose a reason for hiding this comment

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

I don't really like this rule in general; it's basically a poor proxy for limiting complexity. All the lines it warned on weren't worth arbitrarily splitting up.

@nfcampos
Copy link
Collaborator

only question is for me is what if someone adds a markdown with an extension other .md? should we do anything for that?

@ljharb
Copy link
Member Author

ljharb commented Jun 17, 2017

I'm not sure if there's anyway we can prevent that short of manual review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants