Skip to content

Commit

Permalink
fix: do not lint if node <= 14
Browse files Browse the repository at this point in the history
  • Loading branch information
mjeanroy committed Jul 25, 2023
1 parent 5b53af1 commit 2e64e8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/lint/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const log = require('../log');
module.exports = function lint() {
const nodeVersion = process.versions.node;
const major = Number(nodeVersion.split('.')[0]);
if (major < 12) {
if (major <= 14) {
log.debug(`Skipping ESLint because of node version compatibility (currenly in used: ${nodeVersion})`);
return Promise.resolve();
}
Expand Down

0 comments on commit 2e64e8b

Please sign in to comment.