projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f426df
)
.eslint.rc
author
Sven Schöling
<s.schoeling@googlemail.com>
Fri, 30 Apr 2021 08:54:33 +0000
(10:54 +0200)
committer
Sven Schöling
<s.schoeling@googlemail.com>
Fri, 25 Jun 2021 13:51:32 +0000
(15:51 +0200)
.eslintrc.js
[new file with mode: 0644]
patch
|
blob
diff --git a/.eslintrc.js
b/.eslintrc.js
new file mode 100644
(file)
index 0000000..
0ba85d8
--- /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
+ },
+};
+