diff --git a/.eslintrc.js b/.eslintrc.js index b84b7f4..03da36d 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,23 +1,20 @@ module.exports = { - 'env': { - 'es6': true, - 'node': true, + env: { + es6: true, + node: true, }, - 'plugins': [ + plugins: [ 'prettier', ], - 'extends': [ + extends: [ 'eslint:recommended', + 'google', 'plugin:prettier/recommended', ], - 'rules': { + rules: { 'prettier/prettier': 'error', }, - // 'globals': { - // 'Atomics': 'readonly', - // 'SharedArrayBuffer': 'readonly', - // }, - 'parserOptions': { - 'ecmaVersion': 2017, - } + parserOptions: { + ecmaVersion: 2018 + } };