Skip to content

chore(linter): switch from eslint to standard#108

Merged
rogeriopvl merged 1 commit intomasterfrom
switch-from-eslint-to-standard
Mar 15, 2017
Merged

chore(linter): switch from eslint to standard#108
rogeriopvl merged 1 commit intomasterfrom
switch-from-eslint-to-standard

Conversation

@rogeriopvl
Copy link
Copy Markdown
Collaborator

@rogeriopvl rogeriopvl commented Mar 15, 2017

We are currently using eslint with standard plugin for linting the
project's code. This is practically the same as using standard alone,
and has the advantage of not needing all the eslint packages, resulting
in a lot less setup and noise from greenkeeper.

Note: standard version was downgraded to v7.1.2 to maintain compatibility with supported node engines.

@rogeriopvl rogeriopvl force-pushed the switch-from-eslint-to-standard branch 2 times, most recently from 0d497df to c3f1967 Compare March 15, 2017 01:07
@rogeriopvl
Copy link
Copy Markdown
Collaborator Author

cc @dignifiedquire I would like to have some feedback for this change before merging.

Comment thread examples/simple/index.spec.js Outdated
@@ -1,5 +1,7 @@
/* global describe, it */
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.

please use /* eslint-env mocha */ instead

Comment thread package.json Outdated
"description": "A Karma plugin. Launcher for Chrome and Chrome Canary.",
"main": "index.js",
"scripts": {
"pretest": "standard",
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.

lets add a script called lint which runs standard so it's easy to run by itself

We are currently using eslint with standard plugin for linting the
project's code. This is practically the same as using standard alone,
and has the advantage of not needing all the eslint packages, resulting
in a lot less setup and noise from greenkeeper.

Standard version was downgraded to v7.1.2 to maintain compatiblity with
supported node engines.
@rogeriopvl rogeriopvl force-pushed the switch-from-eslint-to-standard branch from c3f1967 to 51dd27b Compare March 15, 2017 10:07
@rogeriopvl
Copy link
Copy Markdown
Collaborator Author

@dignifiedquire made the changes.

Copy link
Copy Markdown
Member

@dignifiedquire dignifiedquire left a comment

Choose a reason for hiding this comment

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

LGTM

@rogeriopvl rogeriopvl merged commit 80bbe0c into master Mar 15, 2017
@rogeriopvl rogeriopvl deleted the switch-from-eslint-to-standard branch March 15, 2017 10:40
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.

2 participants