By extending the recommended eslint-plugin-import rules, we accidentally changed the default parserOptions.sourceType to module.
The sourceType is now explicitly set to script.
In some cases, parserOptions.ecmaVersion could also be set to an incorrect version.
The ecmaVersion is now explicitly set to 2017, matching the corresponding setting in env.
By extending the recommended eslint-plugin-import rules, we accidentally changed the default parserOptions.sourceType to module.
The sourceType is now explicitly set to script.
In some cases, parserOptions.ecmaVersion could also be set to an incorrect version.
The ecmaVersion is now explicitly set to 2017, matching the corresponding setting in env.
In some cases, parserOptions.ecmaVersion could be set to an incorrect version.
The ecmaVersion is now explicitly set to 2020, matching the corresponding setting in env.
7.0.0
@metamask/eslint-config
Changed
(BREAKING) Update Prettier quoteProps rule to as-needed (#181)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps @metamask/eslint-config-nodejs from 6.0.0 to 7.0.1.
Release notes
Sourced from
@metamask/eslint-config-nodejs
's releases.... (truncated)
Commits
6feaedd
7.0.1 (#194)c246a19
Fix parserOptions for various configs (#193)adf6365
Bump@metamask/auto-changelog
from 2.3.0 to 2.4.0 (#192)f2cb8a8
Add publish script (#191)8d24d45
7.0.0 (#190)b8cafc7
Add version field to root manifest (#189)73fdfc2
Bump hosted-git-info from 2.8.5 to 2.8.9 (#188)dbdc93f
Bump glob-parent from 5.1.1 to 5.1.2 (#187)8de178c
Add release automation GitHub Action workflows (#182)c07683c
Update install instructions in READMEs (#185)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)