summaryrefslogtreecommitdiff
path: root/.eslintrc.js
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2016-10-17 23:26:19 +0100
committerw0rp <devw0rp@gmail.com>2016-10-17 23:26:19 +0100
commitbf45ab6d8d4dd3a97905eeaa4610757cf69c956c (patch)
tree46000746ebeae64c1b979efafa3e87ec65962798 /.eslintrc.js
parent654a1724730e181c80cd262a781055c5a9f0ca05 (diff)
downloadale-bf45ab6d8d4dd3a97905eeaa4610757cf69c956c.zip
Add a function for waiting for linters to complete, and add a test which checks that linting updates the loclist.
Diffstat (limited to '.eslintrc.js')
-rw-r--r--.eslintrc.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/.eslintrc.js b/.eslintrc.js
new file mode 100644
index 00000000..adcb2513
--- /dev/null
+++ b/.eslintrc.js
@@ -0,0 +1,11 @@
+module.exports = {
+ parserOptions: {
+ ecmaVersion: 6,
+ sourceType: "module",
+ },
+ rules: {
+ semi: 'error',
+ 'space-infix-ops': 'warn',
+ radix: 'error',
+ }
+}