xo 0.55.0 → 0.55.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli.js +1 -1
- package/index.js +1 -1
- package/lib/options-manager.js +2 -2
- package/package.json +2 -2
package/cli.js
CHANGED
package/index.js
CHANGED
|
@@ -89,7 +89,7 @@ const lintFiles = async (patterns, options) => {
|
|
|
89
89
|
const {cwd, baseConfig: {ignorePatterns}} = eslintOptions;
|
|
90
90
|
if (
|
|
91
91
|
micromatch.isMatch(path.relative(cwd, filePath), ignorePatterns)
|
|
92
|
-
// eslint-disable-next-line no-await-in-loop
|
|
92
|
+
// eslint-disable-next-line no-await-in-loop -- Not worth refactoring
|
|
93
93
|
|| await eslint.isPathIgnored(filePath)
|
|
94
94
|
) {
|
|
95
95
|
continue;
|
package/lib/options-manager.js
CHANGED
|
@@ -522,11 +522,11 @@ const findApplicableOverrides = (path, overrides) => {
|
|
|
522
522
|
const applicable = [];
|
|
523
523
|
|
|
524
524
|
for (const override of overrides) {
|
|
525
|
-
hash <<= 1; // eslint-disable-line no-bitwise
|
|
525
|
+
hash <<= 1; // eslint-disable-line no-bitwise -- Intentional bitwise usage
|
|
526
526
|
|
|
527
527
|
if (micromatch.isMatch(path, override.files)) {
|
|
528
528
|
applicable.push(override);
|
|
529
|
-
hash |= 1; // eslint-disable-line no-bitwise
|
|
529
|
+
hash |= 1; // eslint-disable-line no-bitwise -- Intentional bitwise usage
|
|
530
530
|
}
|
|
531
531
|
}
|
|
532
532
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "xo",
|
|
3
|
-
"version": "0.55.
|
|
3
|
+
"version": "0.55.1",
|
|
4
4
|
"description": "JavaScript/TypeScript linter (ESLint wrapper) with great defaults",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": "xojs/xo",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"eslint-import-resolver-webpack": "^0.13.2",
|
|
68
68
|
"eslint-plugin-ava": "^14.0.0",
|
|
69
69
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
70
|
-
"eslint-plugin-import": "
|
|
70
|
+
"eslint-plugin-import": "~2.27.5",
|
|
71
71
|
"eslint-plugin-n": "^16.0.1",
|
|
72
72
|
"eslint-plugin-no-use-extend-native": "^0.5.0",
|
|
73
73
|
"eslint-plugin-prettier": "^5.0.0",
|