Browse Source

Add jshint/jscs config files

master
Chimo 5 years ago
parent
commit
0bccca2f3a
2 changed files with 23 additions and 0 deletions
  1. +9
    -0
      .jscsrc
  2. +14
    -0
      .jshintrc

+ 9
- 0
.jscsrc View File

@ -0,0 +1,9 @@
{
"preset": "jquery",
"validateLineBreaks": null,
"requireCamelCaseOrUpperCaseIdentifiers": null,
"maximumLineLength": 500,
"requireBlocksOnNewline": true,
"requireSpaceBeforeBlockStatements": true,
"disallowMixedSpacesAndTabs": true
}

+ 14
- 0
.jshintrc View File

@ -0,0 +1,14 @@
{
"boss": true,
"curly": true,
"eqeqeq": true,
"eqnull": true,
"expr": true,
"immed": true,
"noarg": true,
"undef": true,
"unused": true,
"jquery": true,
"browser": true,
"es3": true
}

Loading…
Cancel
Save