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

Change the linting #348

Merged
merged 1 commit into from
May 20, 2015
Merged

Change the linting #348

merged 1 commit into from
May 20, 2015

Conversation

okuryu
Copy link
Member

@okuryu okuryu commented May 16, 2015

It just switches from JSHint to ESLint. ESLint has many good linting
rules as default, and it makes more consistency code. The summary of
changes as follows.

  • Intended code under lib/ and tests/.
  • Follow default rules of ESLint as much as possible.
  • Disable following rules to avoid making large code changes for now.
    • camelcase
    • new-cap
    • no-loop-func
    • no-process-exit
    • no-underscore-dangle
    • no-use-before-define

It just switches from JSHint to ESLint. ESLint has many good linting
rules as default, and it makes more consistency code. The summary of
changes as follows.

* Intended code under `lib/` and `tests/`.
* Follow default rules of ESLint as much as possible.
* Disable following rules to avoid making large code changes for now.
 * `camelcase`
 * `new-cap`
 * `no-loop-func`
 * `no-process-exit`
 * `no-underscore-dangle`
 * `no-use-before-define`
@yahoocla
Copy link

CLA is valid!

@okuryu okuryu merged commit 8f547eb into yui:master May 20, 2015
@okuryu okuryu added this to the v0.8.0 milestone May 20, 2015
@okuryu okuryu deleted the eslint branch May 20, 2015 21:11
@Turbo87 Turbo87 mentioned this pull request Apr 25, 2016
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