Skip to content

Commit

Permalink
BREAKING CHANGE: Stop supporting Node.js < v20
Browse files Browse the repository at this point in the history
  • Loading branch information
mondeja committed Nov 29, 2024
1 parent 5ebdb6c commit a879007
Show file tree
Hide file tree
Showing 6 changed files with 7,638 additions and 7,442 deletions.
3 changes: 2 additions & 1 deletion .xo-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"test/projects/broken/broken-svglint-config.js"
],
"rules": {
"unicorn/prefer-event-target": "warn",
"unicorn/prefer-event-target": "off",
"n/file-extension-in-import": "off",
"sort-imports": [
"error",
Expand All @@ -32,6 +32,7 @@
"newlines-between": "never"
}
],
"promise/prefer-await-to-then": "off",
"no-console": ["error", { "allow": ["warn", "error"] }]
},
"overrides": [
Expand Down
8 changes: 4 additions & 4 deletions bin/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/
import path from 'node:path';
import process from 'node:process';
import glob from 'glob';
import {glob} from 'glob';
import meow from 'meow';
import {loadConfigurationFile} from '../src/cli/config.js';
import GUI from '../src/cli/gui.js';
Expand Down Expand Up @@ -57,9 +57,9 @@ const cli = meow(
{
importMeta: import.meta,
flags: {
config: {type: 'string', alias: 'c'},
debug: {type: 'boolean', alias: 'd'},
ci: {type: 'boolean', alias: 'C'},
config: {type: 'string', shortFlag: 'c'},
debug: {type: 'boolean', shortFlag: 'd'},
ci: {type: 'boolean', shortFlag: 'C'},
stdin: {type: 'boolean'},
summary: {type: 'boolean', default: true},
},
Expand Down
Loading

0 comments on commit a879007

Please sign in to comment.