summaryrefslogtreecommitdiffstats
path: root/packages/markdown/marked/.eslintrc.json
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2019-04-20 15:18:33 +0300
committerLauri Ojansivu <x@xet7.org>2019-04-20 15:18:33 +0300
commit73e265d8fd050ae3daa67472b4465a5c49d68910 (patch)
tree677b233934a43d8f873e24c794ce289d85e3a9b7 /packages/markdown/marked/.eslintrc.json
parent6117097a93bfb11c8bd4c87a23c44a50e22ceb87 (diff)
downloadwekan-73e265d8fd050ae3daa67472b4465a5c49d68910.tar.gz
wekan-73e265d8fd050ae3daa67472b4465a5c49d68910.tar.bz2
wekan-73e265d8fd050ae3daa67472b4465a5c49d68910.zip
Include to Wekan packages directory contents, so that meteor command would build all directly.
This also simplifies build scripts. Thanks to xet7 !
Diffstat (limited to 'packages/markdown/marked/.eslintrc.json')
-rw-r--r--packages/markdown/marked/.eslintrc.json29
1 files changed, 29 insertions, 0 deletions
diff --git a/packages/markdown/marked/.eslintrc.json b/packages/markdown/marked/.eslintrc.json
new file mode 100644
index 00000000..1800cb72
--- /dev/null
+++ b/packages/markdown/marked/.eslintrc.json
@@ -0,0 +1,29 @@
+{
+ "extends": "standard",
+ "plugins": [
+ "standard"
+ ],
+ "parserOptions": { "ecmaVersion": 5 },
+ "rules": {
+ "semi": ["error", "always"],
+ "indent": ["warn", 2, {
+ "VariableDeclarator": { "var": 2 },
+ "SwitchCase": 1,
+ "outerIIFEBody": 0
+ }],
+ "space-before-function-paren": "off",
+ "object-curly-spacing": "off",
+ "operator-linebreak": ["error", "before", { "overrides": { "=": "after" } }],
+ "no-cond-assign": "off",
+ "no-useless-escape": "off",
+ "no-return-assign": "off",
+ "one-var": "off",
+ "no-control-regex": "off"
+ },
+ "env": {
+ "node": true,
+ "browser": true,
+ "amd": true,
+ "jasmine": true
+ }
+}