Browse Source

js: tweak jscs and jshint for esnext stuff

Kyle P Davis 9 years ago
parent
commit
be09f1a5b9
2 changed files with 3 additions and 0 deletions
  1. 2 0
      .jscsrc
  2. 1 0
      .jshintrc

+ 2 - 0
.jscsrc

@@ -1,4 +1,6 @@
 {
+  "esnext": true,
+  "fileExtensions": [".js", ".es6"],
   "disallowImplicitTypeConversion": ["numeric", "boolean", "binary", "string"],
   "disallowKeywords": ["with"],
   "disallowKeywordsOnNewLine": ["else", "catch", "finally"],

+ 1 - 0
.jshintrc

@@ -26,6 +26,7 @@
 	"expr": true,
 	"globalstrict": true,
 
+	"esnext": true,
 	"node": true,
 	"devel": false