wiki.techinc.nl/.jshintrc
Timo Tijhof 459432f2a7 build: Upgrade grunt-jscs and remove legacy jshint camelcase/nomen
Follows-up 4ec6b0cce.

grunt-jscs v0.7.0 upgraded node-jscs to v0.6.0 which introduced
the ability to disable rules via inline comments.

This means we can finally remove the deprecated jshint rules for
coding style rules and restrict jshint to code quality only.

Unsuppress the equivalent rules from jscs.

Change-Id: Idacf7e552d656ee139863d927e5bfc1f86af8283
2014-11-30 19:02:22 +00:00

26 lines
347 B
Text

{
// Enforcing
"bitwise": true,
"eqeqeq": true,
"es3": true,
"freeze": true,
"latedef": true,
"noarg": true,
"nonew": true,
"undef": true,
"unused": true,
"strict": false,
// Relaxing
"laxbreak": true,
"multistr": true,
// Environment
"browser": true,
"globals": {
"mediaWiki": true,
"jQuery": false,
"QUnit": false
}
}