project: Add ESLint support

This commit is contained in:
Michael Fabian 'Xaymar' Dirks
2018-11-29 01:04:26 +01:00
committed by Michael Fabian Dirks
parent a901071740
commit 27d6dc130a
+30
View File
@@ -0,0 +1,30 @@
{
"env": {
"browser": true,
"es6": true,
"node": true
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"rules": {
"indent": [
"error",
"tab"
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"single"
],
"semi": [
"error",
"always"
]
}
}