Skip to content

Commit

Permalink
fix: Fix globals setup
Browse files Browse the repository at this point in the history
  • Loading branch information
medikoo committed Aug 16, 2022
1 parent bec14ff commit 6409f17
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@

module.exports = {
extends: 'eslint:recommended',
env: { es6: true },
parserOptions: { ecmaVersion: 2020 },
env: { es2020: true },
plugins: ['import'],
rules: {
'array-callback-return': 'error',
Expand Down
2 changes: 1 addition & 1 deletion node/10.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ const { join } = require('path');

module.exports = {
extends: join(__dirname, './12.js'),
globals: { globalThis: 'off' },
globals: { BigInt: 'off', globalThis: 'off' },
};

0 comments on commit 6409f17

Please sign in to comment.