Skip to content

Piwik.js tests: Replace JSLint with JSHint #7232

@tsteur

Description

@tsteur

See http://jshint.com/

Required to resolve #5960

JSHint is the community-driven version of JSLint and more up to date. I think it can even read jslint options so we wouldn't have to change much. JSHint is actively developed and offers fine-grained configuration.

A JS for the tests can be found here: https://github.com/jshint/jshint/blob/master/dist/jshint.js

JSHint also allows us to define more useful options like "Max Complexity", "Max Depth", "Max Params" etc

Metadata

Metadata

Assignees

Labels

TaskIndicates an issue is neither a feature nor a bug and it's purely a "technical" change.c: Tests & QAFor issues related to automated tests or making it easier to QA & test issues.wontfixIf you can reproduce this issue, please reopen the issue or create a new one describing it.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions