Skip to content

Eslint all the things - #1185

Merged
joshbruce merged 4 commits into
markedjs:masterfrom
UziTech:eslint-all-the-things
Apr 4, 2018
Merged

Eslint all the things#1185
joshbruce merged 4 commits into
markedjs:masterfrom
UziTech:eslint-all-the-things

Conversation

@UziTech

@UziTechUziTech commented Mar 29, 2018

Copy link
Copy Markdown
Member

Marked version:8489411

Description

  • eslint will lint all .js files except /marked.min.js and it will lint /bin/marked

Contributor

  • Test(s) exist to ensure functionality and minimize regression (if no tests added, list tests covering this PR); or,
  • no tests required for this PR.
  • If submitting new feature, it has been documented in the appropriate places.

Committer

In most cases, this should be a different person than the contributor.

  • Draft GitHub release notes have been updated.
  • CI is green (no forced merge required).
  • Merge PR

@joshbruce

Copy link
Copy Markdown
Member

Thought we decided to ignore test. No skin in this game for me, just making sure not missing some rationale.

@UziTech

Copy link
Copy Markdown
MemberAuthor

no, /test/index.js was being linted. I just forgot to update the eslint calls when I added Jasmine

Comment threadbin/marked Outdated
.on('error', function(err) {
fs.readFile(__dirname + '/../man/marked.1.txt', 'utf8', function(err, data) {
spawn('man', [path.resolve(__dirname, '/../man/marked.1')], options)
.on('error', function(err) { // eslint-disable-line handle-callback-err

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Should this err be removed since it is unused rather than disabled eslint here?

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

good call

@joshbrucejoshbruce mentioned this pull request Apr 4, 2018
6 tasks
@UziTech
UziTech requested a review from joshbruceApril 4, 2018 18:23

@joshbrucejoshbruce left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Gonna want to run this over my latest additions. lol

@joshbruce
joshbruce merged commit 3f6b2c8 into markedjs:masterApr 4, 2018
@UziTech
UziTech deleted the eslint-all-the-things branch April 5, 2018 14:39
zhenalexfan pushed a commit to zhenalexfan/MarkdownHan that referenced this pull request Nov 8, 2021
Sign up for freeto 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

@UziTech@joshbruce@styfle