freemarker-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From edendra...@apache.org
Subject [2/5] incubator-freemarker-docgen git commit: changing eslint configuration to json
Date Mon, 16 Nov 2015 04:31:43 GMT
changing eslint configuration to json


Project: http://git-wip-us.apache.org/repos/asf/incubator-freemarker-docgen/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-freemarker-docgen/commit/15129f5d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-freemarker-docgen/tree/15129f5d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-freemarker-docgen/diff/15129f5d

Branch: refs/heads/master
Commit: 15129f5d18d1f6061bca261880d95fb01994193b
Parents: 770d4ec
Author: rather <ratherblue@gmail.com>
Authored: Sun Oct 11 16:14:53 2015 -0700
Committer: rather <ratherblue@gmail.com>
Committed: Sun Nov 15 20:30:29 2015 -0800

----------------------------------------------------------------------
 .eslintrc | 43 ++++++++++++++++++++++++-------------------
 1 file changed, 24 insertions(+), 19 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-freemarker-docgen/blob/15129f5d/.eslintrc
----------------------------------------------------------------------
diff --git a/.eslintrc b/.eslintrc
index 0c99890..9735638 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -1,19 +1,24 @@
-env:
-  node: true
-  browser: true
-
-globals:
-  toc: true
-  breadcrumb: true
-
-
-rules:
-  indent: [2, 2]
-  quotes: [2, "single"]
-  no-spaced-func: [2]
-  space-before-function-paren: [2, "never"]
-  valid-jsdoc: [2, { prefer: { "return": "returns"}}]
-  space-after-keywords: [2, "always"]
-  space-before-blocks: [2, "always"]
-  space-in-parens: [2, "never"]
-  strict: [2, "never"]
+{
+    "rules": {
+        "indent": [2, 2],
+        "quotes": [2, "single"],
+        "linebreak-style": [2, "unix"],
+        "semi": [2, "always"],
+        "space-in-parens": [2, "never"],
+        "strict": [2, "never"],
+        "no-spaced-func": [2],
+        "space-before-function-paren": [2, "never"],
+        "valid-jsdoc": [2, { "prefer": { "return": "returns" } }],
+        "space-after-keywords": [2, "always"],
+        "space-before-blocks": [2, "always"],
+        "space-in-parens": [2, "never"]
+    },
+    "env": {
+        "browser": true
+    },
+    "globals": {
+        "toc": true,
+        "breadcrumb": true
+    },
+    "extends": "eslint:recommended"
+}


Mime
View raw message