Permalink
Browse files

editorconfig and jshintrc

  • Loading branch information...
1 parent b14027d commit aee895e566d7478604804ee30b910db0cb9ea208 @nadimtuhin nadimtuhin committed Jul 9, 2015
Showing with 33 additions and 14 deletions.
  1. +13 −0 .editorconfig
  2. +20 −14 .jshintrc
View
@@ -0,0 +1,13 @@
+# http://editorconfig.org
+root = true
+
+[*]
+indent_style = space
+indent_size = 2
+end_of_line = lf
+charset = utf-8
+trim_trailing_whitespace = true
+insert_final_newline = true
+
+[*.md]
+trim_trailing_whitespace = false
View
@@ -1,22 +1,28 @@
{
- "curly": false,
- "esnext":true,
+ "node": true,
+ "scripturl": true,
+ "esnext": true,
+ "bitwise": true,
+ "camelcase": true,
+ "curly": true,
"eqeqeq": true,
"immed": true,
+ "indent": 2,
"latedef": true,
"newcap": true,
"noarg": true,
- "sub": true,
- "undef": false,
+ "regexp": true,
+ "undef": true,
"unused": true,
- "boss": true,
- "eqnull": true,
- "browser": true,
-
+ "strict": false,
+ "trailing": true,
+ "smarttabs": true,
+ "white": true,
"predef": [
- "define",
- "module",
- "mfp"
- ],
- "jquery": true
-}
+ "window",
+ "document",
+ "jQuery",
+ "alert",
+ "onepager"
+ ]
+}

0 comments on commit aee895e

Please sign in to comment.