summaryrefslogtreecommitdiff
path: root/.eslintrc.js
diff options
context:
space:
mode:
authorNick Van Doorn <vandoorn.nick@gmail.com>2019-04-06 14:13:32 -0700
committerNick Van Doorn <vandoorn.nick@gmail.com>2019-04-06 14:52:24 -0700
commit3cf0c3cd297b43c194d0d6820e13bcf8d8751fdc (patch)
tree3a1e411069dc439ce56baeb2c9e79ecf47da3075 /.eslintrc.js
Init commit
Diffstat (limited to '.eslintrc.js')
-rw-r--r--.eslintrc.js23
1 files changed, 23 insertions, 0 deletions
diff --git a/.eslintrc.js b/.eslintrc.js
new file mode 100644
index 0000000..a690f7b
--- /dev/null
+++ b/.eslintrc.js
@@ -0,0 +1,23 @@
+module.exports = {
+ env: {
+ browser: true,
+ es6: true,
+ jest: true
+ },
+ extends: 'eslint:recommended',
+ globals: {
+ Atomics: 'readonly',
+ SharedArrayBuffer: 'readonly'
+ },
+ parserOptions: {
+ ecmaFeatures: {
+ jsx: true
+ },
+ ecmaVersion: 2018,
+ sourceType: 'module'
+ },
+ plugins: ['react'],
+ rules: {
+ 'react/jsx-uses-react': 1
+ }
+}