Adding ESLint config

This commit is contained in:
Jonathan Putney
2019-11-10 16:54:34 -05:00
parent 02082ca1a7
commit 5bfae43f54
4 changed files with 349 additions and 69 deletions

23
.eslintrc.js Normal file
View File

@@ -0,0 +1,23 @@
module.exports = {
parser: "babel-eslint",
env: {
browser: true,
es6: true,
},
globals: {
Atomics: 'readonly',
SharedArrayBuffer: 'readonly',
},
parserOptions: {
sourceType: "module",
allowImportExportEverywhere: false,
ecmaFeatures: {
globalReturn: false,
},
babelOptions: {
configFile: "./.babelrc",
},
},
rules: {
},
};