Commit 307ec1d9 authored by BigBlueHat's avatar BigBlueHat

Add .jscrc for JavaScript Code Style help

JSCS is like JSHint, but specifically for Code Style.

It comes with a Google Code Style (which we use currently)
pre-set. This config file sets that and can be extended
later for any departures we make (if any) from that style
guide.
parent 984a745a
{
"preset": "google",
"excludeFiles": [
"node_modules/**",
"h/static/scripts/vendor"
],
"maxErrors": 10
}
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
"uglify-js": "^2.4.14" "uglify-js": "^2.4.14"
}, },
"devDependencies": { "devDependencies": {
"jscs": "^1.13.1",
"karma": "^0.12.17", "karma": "^0.12.17",
"karma-browserify": "^3.0.3", "karma-browserify": "^3.0.3",
"karma-cli": "0.0.4", "karma-cli": "0.0.4",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment