Skip to content

Commit

Permalink
Allow experimental features
Browse files Browse the repository at this point in the history
Resolves a non-issue where the eslint-plugin-n plugin reports use of the
`test` library in this project as an error since it's experimental in
Node.js 18. The `engines` config in this project matches ESLint's and
this project is developed against `lts/iron` _anyway_. So… non-issue.
  • Loading branch information
jgarber623 committed Jun 30, 2024
1 parent a22df2d commit e5ee89d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,11 @@ export default [
},
},
},
{
rules: {
"n/no-unsupported-features/node-builtins": ["error", {
allowExperimental: true,
}],
},
},
];

0 comments on commit e5ee89d

Please sign in to comment.