diff options
author | Nick Van Doorn <vandoorn.nick@gmail.com> | 2019-04-02 15:40:54 -0700 |
---|---|---|
committer | Nick Van Doorn <vandoorn.nick@gmail.com> | 2019-04-02 15:40:54 -0700 |
commit | c7fed806f7f1adac11d32eb61b55724be83ea949 (patch) | |
tree | 48c0d31e963fe39903593fb4b89d7ef3fe81695b | |
parent | 92908835b563d08da253f725cf1f4a79b78ce878 (diff) |
Configure ESLint
-rw-r--r-- | .eslintrc.js | 23 |
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 + } +} |