Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kakawait/hugo-tranquilpeak-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '.eslintrc')
-rw-r--r--.eslintrc23
1 files changed, 21 insertions, 2 deletions
diff --git a/.eslintrc b/.eslintrc
index 1d06d1d..fedb602 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -1,4 +1,7 @@
{
+ "parserOptions": {
+ "ecmaVersion": 6
+ },
"extends": "google",
"rules": {
"comma-dangle": [2,"never"],
@@ -10,6 +13,22 @@
"no-trailing-spaces": [2, {"skipBlankLines": true }],
"eqeqeq":[1],
"max-len": [1, 100, 4, {"ignoreUrls": true}],
- "no-useless-escape":0
+ "no-useless-escape":0,
+ "quote-props": [
+ 2,
+ "as-needed"
+ ],
+ "no-var": "off",
+ "no-invalid-this": "off",
+ "indent": [
+ "error",
+ 2,
+ {
+ "FunctionDeclaration": {
+ "body": 1,
+ "parameters": 2
+ }
+ }
+ ]
}
-} \ No newline at end of file
+}