diff options
author | Lauri Ojansivu <x@xet7.org> | 2019-06-27 15:27:14 -0400 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2019-06-27 15:27:14 -0400 |
commit | a0a482aa8efb3255a523de4524c8e09453d5571f (patch) | |
tree | ef64c00f146add91a484f7f6b27a40a785f459a0 /.eslintrc.json | |
parent | fb728baf0c87bae5fa39d92089b667ff1ed69fa6 (diff) | |
parent | 3d63b6006b13942a887bbeddebb055d697451223 (diff) | |
download | wekan-a0a482aa8efb3255a523de4524c8e09453d5571f.tar.gz wekan-a0a482aa8efb3255a523de4524c8e09453d5571f.tar.bz2 wekan-a0a482aa8efb3255a523de4524c8e09453d5571f.zip |
Merge branch 'justinr1234-created-modified' into meteor-1.8
Diffstat (limited to '.eslintrc.json')
-rw-r--r-- | .eslintrc.json | 35 |
1 files changed, 30 insertions, 5 deletions
diff --git a/.eslintrc.json b/.eslintrc.json index 364f82a9..c6d68748 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,9 +1,15 @@ { - "extends": "eslint:recommended", + "extends": [ + "eslint:recommended", + "plugin:meteor/recommended", + "prettier", + "prettier/standard" + ], "env": { "es6": true, "node": true, - "browser": true + "browser": true, + "meteor": true }, "parserOptions": { "ecmaVersion": 2017, @@ -28,11 +34,12 @@ "no-unneeded-ternary": 2, "radix": 2, "semi": [2, "always"], - "camelcase": [2, {"properties": "never"}], + "camelcase": [2, { "properties": "never" }], "comma-spacing": 2, "comma-style": 2, "eol-last": 2, "linebreak-style": [2, "unix"], + "meteor/audit-argument-checks": 0, "new-parens": 2, "no-lonely-if": 2, "no-multiple-empty-lines": 2, @@ -52,8 +59,26 @@ "prefer-const": 2, "prefer-spread": 2, "prefer-template": 2, - "no-unused-vars" : "warn" + "no-unused-vars": "warn", + "prettier/prettier": [ + "error", + { + "printWidth": 80, + "tabWidth": 2, + "useTabs": false, + "singleQuote": true, + "trailingComma": "all" + } + ] }, + "settings": { + "import/resolver": { + "meteor": { + "extensions": [".js", ".jsx"] + } + } + }, + "plugins": ["prettier", "meteor"], "globals": { "Meteor": false, "Session": false, @@ -100,7 +125,7 @@ "Attachments": true, "Boards": true, "CardComments": true, - "DatePicker" : true, + "DatePicker": true, "Cards": true, "CustomFields": true, "Lists": true, |