-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Fix Testing/Linting Issues #1112
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
Conversation
Great work. Once all issues are resolved, those tests also should be added to CI. Running
|
@wooorm Any idea on this alex warning issue? |
A “warning” in alex’s sense is enough to fail the tests I think. You could go with |
@webpack/documentation-team idk after taking a look at the warnings I saw locally and the ones @simon04 shared, I'd say the way it's configured now is way too tight for our use case. The fact that it's flagging things like Has anyone found it useful so far? Or is anyone familiar enough with it to re-configure it in a looser way? Either way, imho I think we should remove it for now and re-integrate more thoroughly later on if anything. I'd like to get this merged and back into the CI process sooner rather than later so I don't have to go through fixing a bunch more errors after the next round of PRs (would be nice if markdownlint had a |
Note that you could also add an {
"allow": [
"bigger",
"color",
"lies",
"execute",
"executed",
"execution",
"host-hostess",
"disabled",
"crash",
"failure",
"period",
"hook",
"dirty",
"host-hostess",
"fire",
"remains",
"jade",
"failed"
]
} Or, alternatively, run alex as previously mentioned as |
@wooorm ah ok... I'll try that and then we can continue to fiddle around this more down the road (or just keep adding words to the |
@wooorm that solution works, thanks. @webpack/documentation-team just need to test
|
The `lint:md` command isn't very semantic as it stands right now and also isn't very useful. We'd have to split out a separate eslint config for this and even then it might be hard to strike a nice balance.
6614d3c
to
d0e0a49
Compare
Ok rebased and resolved conflicts...
Definitely agree... is this as simple as adding a line to the |
Yeah, tweak |
This should be good to go 👍 , all tests ran and the CI build passed. |
Fixes #1041
This is an attempt to resolve all of our linting and testing issues. It contains:
.markdownlintrc
to loosen rulesTake aways...
In general, I think we should try to be a little more careful about adding scripts or processes before they're fully ready. Also, for the ones that we do want to keep, these should actually fail hard in the travis build so we pick up on things like markdown or prose issues instead of letting them build up.
The last one that needs fixing is
lint:social
. It only emits warnings right now but for some reason it's still failing hard. @bebraw @TheLarkInn any ideas? (I forget who implemented that one)Once we get
lint:social
either removed or resolved, I'll rebase to resolve the conflicts and this should be good to go.