-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
37 changed files
with
7,093 additions
and
3,183 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,17 +28,12 @@ jobs: | |
os: | ||
- ubuntu-latest | ||
node-version: | ||
- 12.22.0 | ||
- 14.17.0 | ||
- 16.0.0 | ||
- 18.0.0 | ||
- 20.0.0 | ||
- 12 | ||
- 14 | ||
- 16 | ||
- 18 | ||
- 19 | ||
- 20 | ||
- 22 | ||
include: | ||
- os: macos-latest | ||
node-version: 20 | ||
|
@@ -52,9 +47,8 @@ jobs: | |
with: | ||
cache: npm | ||
node-version: ${{ matrix.node-version }} | ||
- name: Install compatible npm version | ||
run: npm install --global [email protected] | ||
- name: Install dependencies | ||
run: npm ci | ||
# Use `--engine-strict=false` to ignore engine errors from XO dependencies | ||
run: npm ci --engine-strict=false | ||
- name: Test | ||
run: npm test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
{ | ||
"prettier": true, | ||
"space": 4, | ||
"plugins": ["import"], | ||
"ignores": [ | ||
"test/projects/broken/broken-svglint-config.js" | ||
], | ||
"rules": { | ||
"unicorn/prefer-event-target": "warn", | ||
"n/file-extension-in-import": "off", | ||
"sort-imports": [ | ||
"error", | ||
{ | ||
"ignoreCase": false, | ||
"ignoreDeclarationSort": true, | ||
"ignoreMemberSort": false, | ||
"memberSyntaxSortOrder": ["none", "all", "multiple", "single"], | ||
"allowSeparatedGroups": false | ||
} | ||
], | ||
"import/no-named-as-default": "off", | ||
"import/extensions": "off", | ||
"import/order": [ | ||
"error", | ||
{ | ||
"groups": ["builtin", "external", "parent", "sibling", "index"], | ||
"alphabetize": { | ||
"order": "asc", | ||
"caseInsensitive": true | ||
}, | ||
"warnOnUnassignedImports": true, | ||
"newlines-between": "never" | ||
} | ||
] | ||
}, | ||
"overrides": [ | ||
{ | ||
"files": ["test/**/*"], | ||
"envs": "mocha" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.