From 140699e852e7886fb7ae458f830cc47d7a35215b Mon Sep 17 00:00:00 2001 From: Amin Marashi Date: Wed, 29 Jan 2020 15:08:51 +0800 Subject: [PATCH] Add eslintrc --- .eslintrc.js | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .eslintrc.js diff --git a/.eslintrc.js b/.eslintrc.js new file mode 100644 index 0000000..400703d --- /dev/null +++ b/.eslintrc.js @@ -0,0 +1,19 @@ +module.exports = { + env: { + browser: true, + es6: true, + }, + extends: [ + 'airbnb-base', + ], + globals: { + Atomics: 'readonly', + SharedArrayBuffer: 'readonly', + }, + parserOptions: { + ecmaVersion: 2018, + sourceType: 'module', + }, + rules: { + }, +};