From: Sven Schöling Date: Fri, 30 Apr 2021 08:54:33 +0000 (+0200) Subject: .eslint.rc X-Git-Tag: kivitendo-mebil_0.1-0~9^2~121 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=0bf838be2439afa8349d4caf0acf9d5a774f2d37;p=kivitendo-erp.git .eslint.rc --- diff --git a/.eslintrc.js b/.eslintrc.js new file mode 100644 index 000000000..0ba85d8b7 --- /dev/null +++ b/.eslintrc.js @@ -0,0 +1,39 @@ +module.exports = { + "env": { + "browser": true, + "es6": true, + "jquery": true + }, + "extends": "eslint:recommended", + "parserOptions": { + "ecmaVersion": 2015 + }, + "rules": { + "indent": [ + "error", + 2 + ], + "linebreak-style": [ + "error", + "unix" + ], + "semi": [ + "error", + "always" + ], + "no-console": [ + "error", + { + "allow": [ + "warn", + "error" + ], + } + ] + }, + "globals": { + "namespace": true, + "kivi": true + }, +}; +