aboutsummaryrefslogtreecommitdiff
path: root/.eslintrc.js
diff options
context:
space:
mode:
authorstonedDiscord <stoned@derpymail.org>2019-07-16 18:19:40 +0200
committerGitHub <noreply@github.com>2019-07-16 18:19:40 +0200
commitb0394289a591417ed2300b076da205b3fa03750d (patch)
tree6dd502e5d7e09123f3f107d820ec176782a8b6a0 /.eslintrc.js
parent93a4462c3c2f333f9bc54296847d628d6d46bdb1 (diff)
parentc4c754944c209fc365e04aa17e6bd3a73c504e26 (diff)
Merge pull request #4 from AttorneyOnline/master
i'm sure there is a way to do this correctly
Diffstat (limited to '.eslintrc.js')
-rw-r--r--.eslintrc.js22
1 files changed, 22 insertions, 0 deletions
diff --git a/.eslintrc.js b/.eslintrc.js
new file mode 100644
index 0000000..3cd51ec
--- /dev/null
+++ b/.eslintrc.js
@@ -0,0 +1,22 @@
+module.exports = {
+ "env": {
+ "browser": true,
+ "es6": true,
+ "jquery": true
+ },
+ "extends": "eslint:recommended",
+ "globals": {
+ "Atomics": "readonly",
+ "SharedArrayBuffer": "readonly"
+ },
+ "parserOptions": {
+ "ecmaVersion": 2018,
+ "sourceType": "module"
+ },
+ "rules": {
+ "no-console": "off",
+ "no-unused-vars": ["warn", { "argsIgnorePattern": "^_" }],
+ "eqeqeq": ["error", "smart"],
+ "semi": ["error", "always"]
+ }
+}; \ No newline at end of file