Permalink
Browse files

Provide a .jscsrc file for local JavaScript linting

  • Loading branch information...
1 parent b9152a8 commit bb471cbb0d65eef5e73af3ad1264343bac130801 @jdforrester jdforrester committed May 23, 2016
Showing with 9 additions and 1 deletion.
  1. +7 −0 .jscsrc
  2. +2 −1 index.js
View
@@ -0,0 +1,7 @@
+{
+ "preset": "wikimedia",
+
+ "disallowQuotedKeysInObjects": false,
+ "disallowTrailingComma": false,
+ "validateQuoteMarks": false
+}
View
@@ -95,8 +95,9 @@ module.exports = {
"at-rule-empty-line-before": [ "always", {
except: [ "blockless-group", "first-nested" ],
- ignore: ["after-comment"],
+ ignore: [ "after-comment" ],
} ],
+
"at-rule-name-case": "lower",
"at-rule-name-space-after": "always-single-line",

0 comments on commit bb471cb

Please sign in to comment.