Skip to content

Commit

Permalink
Update environment for configuration files
Browse files Browse the repository at this point in the history
  • Loading branch information
niksy committed Apr 12, 2024
1 parent 910447e commit 2b243b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
3 changes: 1 addition & 2 deletions browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
module.exports = {

Check warning on line 3 in browser.js

View workflow job for this annotation

GitHub Actions / Test (16)

Expected "export" or "export default"

Check warning on line 3 in browser.js

View workflow job for this annotation

GitHub Actions / Test (16)

Do not use "module"

Check warning on line 3 in browser.js

View workflow job for this annotation

GitHub Actions / Test (16)

Expected "export" or "export default"

Check warning on line 3 in browser.js

View workflow job for this annotation

GitHub Actions / Test (16)

Do not use "module"
env: {
node: false,
browser: true,
commonjs: true
browser: true
},

plugins: ['eslint-plugin-unicorn'],
Expand Down
6 changes: 1 addition & 5 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,13 @@
module.exports = {

Check warning on line 3 in index.js

View workflow job for this annotation

GitHub Actions / Test (16)

Expected "export" or "export default"

Check warning on line 3 in index.js

View workflow job for this annotation

GitHub Actions / Test (16)

Do not use "module"

Check warning on line 3 in index.js

View workflow job for this annotation

GitHub Actions / Test (16)

Expected "export" or "export default"

Check warning on line 3 in index.js

View workflow job for this annotation

GitHub Actions / Test (16)

Do not use "module"
env: {
node: true,
es6: true
es2022: true
},

parserOptions: {
ecmaVersion: 2022
},

globals: {
Promise: false
},

plugins: [
'eslint-plugin-promise',
'eslint-plugin-node',
Expand Down

0 comments on commit 2b243b0

Please sign in to comment.