Skip to content

Commit

Permalink
fix: Fix BigInt recognition configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
medikoo committed Nov 3, 2021
1 parent 119e74d commit c4948c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions node/6.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ const { join } = require('path');
module.exports = {
extends: join(__dirname, 'index.js'),
parserOptions: { ecmaVersion: 2015 },
globals: { BigInt: 'off' },
};
2 changes: 1 addition & 1 deletion node/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const { join } = require('path');
module.exports = {
// The only way to ensure that ESLint resolves expected config from any location
extends: join(__dirname, '../index.js'),
globals: { BigInt: true },
globals: { BigInt: 'readonly' },
env: { node: true },
rules: {
'no-path-concat': 'error',
Expand Down

0 comments on commit c4948c0

Please sign in to comment.