aboutsummaryrefslogtreecommitdiffstats
path: root/.eslintrc.js
diff options
context:
space:
mode:
authorLibravatar vantezzen <properly@protonmail.com>2019-09-05 11:22:49 +0200
committerLibravatar vantezzen <properly@protonmail.com>2019-09-05 11:22:49 +0200
commit29b8334b060dc0c05a509d523ead4b3a30229fef (patch)
tree4dbfcfb90a3eff31acd219b27557bbdc594f589f /.eslintrc.js
parentAdd cookie notice to login page (diff)
downloadferdium-server-29b8334b060dc0c05a509d523ead4b3a30229fef.tar.gz
ferdium-server-29b8334b060dc0c05a509d523ead4b3a30229fef.tar.zst
ferdium-server-29b8334b060dc0c05a509d523ead4b3a30229fef.zip
Add eslint
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..d02f489
--- /dev/null
+++ b/.eslintrc.js
@@ -0,0 +1,22 @@
1module.exports = {
2 env: {
3 commonjs: true,
4 es6: true,
5 node: true,
6 },
7 extends: [
8 'airbnb-base',
9 ],
10 globals: {
11 Atomics: 'readonly',
12 SharedArrayBuffer: 'readonly',
13 use: 'readonly'
14 },
15 parserOptions: {
16 ecmaVersion: 2018,
17 },
18 rules: {
19 "class-methods-use-this": 'off',
20 "no-restricted-syntax": 'off',
21 },
22};