Permalink
Browse files

chore(jshint): drop deprecated jshint options

According to JSHint documentation they are limiting their scope to
issues of code correctness, and are deprecating some style rules.

The list of options that are deprecated but used in our .jshintrc
are

* camelcase
* immed
* newcap
* quotemark

This patch drops these options from the .jshintrc templates and also
the actual .jshintrc used by this project itself.

JSHint points to the JSCS — JavaScript Code Style project for future
style checking.

See http://jshint.com/docs/options for a list of all options of
JSHint including deprecation warnings.
  • Loading branch information...
1 parent 359beff commit 7d23acb0bd64358daeec59f8a3996faf1a82a38e @huerlisi huerlisi committed May 13, 2015
Showing with 0 additions and 11 deletions.
  1. +0 −3 .jshintrc
  2. +0 −4 templates/common/root/.jshintrc
  3. +0 −4 templates/common/root/test/.jshintrc
View
@@ -1,15 +1,12 @@
{
"bitwise": true,
- "camelcase": true,
"curly": true,
"eqeqeq": true,
"eqnull": true,
"esnext": true,
"globalstrict": true,
- "immed": true,
"latedef": true,
"mocha" : true,
- "newcap": true,
"noarg": true,
"node": true,
"strict": true,
@@ -1,16 +1,12 @@
{
"bitwise": true,
"browser": true,
- "camelcase": true,
"curly": true,
"eqeqeq": true,
"esnext": true,
- "immed": true,
"latedef": true,
- "newcap": true,
"noarg": true,
"node": true,
- "quotmark": "single",
"strict": true,
"undef": true,
"unused": true,
@@ -1,17 +1,13 @@
{
"bitwise": true,
"browser": true,
- "camelcase": true,
"curly": true,
"eqeqeq": true,
"esnext": true,
- "immed": true,
"jasmine": true,
"latedef": true,
- "newcap": true,
"noarg": true,
"node": true,
- "quotmark": "single",
"strict": true,
"undef": true,
"unused": true,

0 comments on commit 7d23acb

Please sign in to comment.