aboutsummaryrefslogtreecommitdiff
path: root/.eslintrc.js
diff options
context:
space:
mode:
authoroldmud0 <oldmud0@users.noreply.github.com>2018-09-03 22:48:46 -0500
committeroldmud0 <oldmud0@users.noreply.github.com>2018-09-03 22:48:46 -0500
commit077fcf719b1a9383b4170f33a77c95024d6f7188 (patch)
treef57862b1866f766435db783b186f0c9f2478937d /.eslintrc.js
parent2f18d565cb06de3826aee13fd07356adf29d9cbc (diff)
Continue code cleanup
Diffstat (limited to '.eslintrc.js')
-rw-r--r--.eslintrc.js36
1 files changed, 36 insertions, 0 deletions
diff --git a/.eslintrc.js b/.eslintrc.js
new file mode 100644
index 0000000..c3c75e8
--- /dev/null
+++ b/.eslintrc.js
@@ -0,0 +1,36 @@
+module.exports = {
+ "env": {
+ "browser": true,
+ "es6": true,
+ "jquery": true
+ },
+ "extends": "eslint:recommended",
+ "parserOptions": {
+ "ecmaVersion": 2016,
+ "sourceType": "module"
+ },
+ "rules": {
+ "indent": [
+ "error",
+ "tab"
+ ],
+ "linebreak-style": [
+ "error",
+ "unix"
+ ],
+ "quotes": [
+ "warn",
+ "double"
+ ],
+ "semi": [
+ "error",
+ "always"
+ ],
+ "no-console": [
+ "off"
+ ],
+ "no-unused-vars": [
+ "warn"
+ ]
+ }
+}; \ No newline at end of file