Skip to content

Commit

Permalink
build(eslint): update ecma version
Browse files Browse the repository at this point in the history
  • Loading branch information
mirabilio committed Apr 3, 2020
1 parent 589a277 commit cf56ea5
Showing 1 changed file with 10 additions and 13 deletions.
23 changes: 10 additions & 13 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -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
}
};

0 comments on commit cf56ea5

Please sign in to comment.