Skip to content

Commit 81a5d3a

Browse files
committed
Update dependencies
1 parent fb8f33f commit 81a5d3a

File tree

4 files changed

+35
-25
lines changed

4 files changed

+35
-25
lines changed

config/plugins.cjs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,9 @@ module.exports = {
180180
// TODO: Temporarily disabled until it becomes more mature.
181181
'unicorn/no-useless-undefined': 'off',
182182

183+
// TODO: Enable it when I have tried it more in practice.
184+
'unicorn/prefer-string-raw': 'off',
185+
183186
// TODO: Temporarily disabled as the rule is buggy.
184187
'function-call-argument-newline': 'off',
185188

@@ -354,7 +357,7 @@ module.exports = {
354357
'n/process-exit-as-throw': 'error',
355358

356359
// Disabled as the rule doesn't exclude scripts executed with `node` but not referenced in 'bin'. See https://github.com/mysticatea/eslint-plugin-node/issues/96
357-
// 'n/shebang': 'error',
360+
// 'n/hashbang': 'error',
358361

359362
'n/no-deprecated-api': 'error',
360363

lib/options-manager.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,13 @@ The config files are searched starting from `options.filePath` if defined or `op
101101
*/
102102
const mergeWithFileConfig = async options => {
103103
options.cwd = path.resolve(options.cwd || process.cwd());
104-
const configExplorer = cosmiconfig(MODULE_NAME, {searchPlaces: CONFIG_FILES, loaders: {noExt: defaultLoaders['.json']}, stopDir: options.cwd});
104+
105+
const configExplorer = cosmiconfig(MODULE_NAME, {
106+
searchPlaces: CONFIG_FILES,
107+
loaders: {noExt: defaultLoaders['.json']},
108+
stopDir: options.cwd,
109+
});
110+
105111
const packageConfigExplorer = cosmiconfig('engines', {searchPlaces: ['package.json'], stopDir: options.cwd});
106112
options.filePath &&= path.resolve(options.cwd, options.filePath);
107113

package.json

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -54,54 +54,54 @@
5454
"typescript"
5555
],
5656
"dependencies": {
57-
"@eslint/eslintrc": "^3.0.2",
58-
"@typescript-eslint/eslint-plugin": "^7.1.1",
59-
"@typescript-eslint/parser": "^7.1.1",
57+
"@eslint/eslintrc": "^3.1.0",
58+
"@typescript-eslint/eslint-plugin": "^7.16.1",
59+
"@typescript-eslint/parser": "^7.16.1",
6060
"arrify": "^3.0.0",
61-
"cosmiconfig": "^8.3.6",
61+
"cosmiconfig": "^9.0.0",
6262
"define-lazy-prop": "^3.0.0",
6363
"eslint": "^8.57.0",
6464
"eslint-config-prettier": "^9.1.0",
65-
"eslint-config-xo": "^0.44.0",
66-
"eslint-config-xo-typescript": "^4.0.0",
65+
"eslint-config-xo": "^0.45.0",
66+
"eslint-config-xo-typescript": "^5.0.0",
6767
"eslint-formatter-pretty": "^6.0.1",
6868
"eslint-import-resolver-webpack": "^0.13.8",
6969
"eslint-plugin-ava": "^14.0.0",
7070
"eslint-plugin-eslint-comments": "^3.2.0",
7171
"eslint-plugin-import": "^2.29.1",
7272
"eslint-plugin-n": "^17.9.0",
7373
"eslint-plugin-no-use-extend-native": "^0.5.0",
74-
"eslint-plugin-prettier": "^5.1.3",
74+
"eslint-plugin-prettier": "^5.2.1",
7575
"eslint-plugin-promise": "^6.4.0",
76-
"eslint-plugin-unicorn": "^51.0.1",
77-
"esm-utils": "^4.2.1",
76+
"eslint-plugin-unicorn": "^54.0.0",
77+
"esm-utils": "^4.3.0",
7878
"find-cache-dir": "^5.0.0",
7979
"find-up-simple": "^1.0.0",
8080
"get-stdin": "^9.0.0",
81-
"get-tsconfig": "^4.7.3",
82-
"globby": "^14.0.1",
81+
"get-tsconfig": "^4.7.5",
82+
"globby": "^14.0.2",
8383
"imurmurhash": "^0.1.4",
8484
"json-stable-stringify-without-jsonify": "^1.0.1",
8585
"lodash-es": "^4.17.21",
8686
"meow": "^13.2.0",
87-
"micromatch": "^4.0.5",
88-
"open-editor": "^4.1.1",
89-
"prettier": "^3.2.5",
90-
"semver": "^7.6.0",
87+
"micromatch": "^4.0.7",
88+
"open-editor": "^5.0.0",
89+
"prettier": "^3.3.3",
90+
"semver": "^7.6.3",
9191
"slash": "^5.1.0",
9292
"to-absolute-glob": "^3.0.0",
93-
"typescript": "^5.4.2"
93+
"typescript": "^5.5.3"
9494
},
9595
"devDependencies": {
96-
"ava": "^6.1.2",
96+
"ava": "^6.1.3",
9797
"eslint-config-xo-react": "^0.27.0",
98-
"eslint-plugin-react": "^7.34.0",
99-
"eslint-plugin-react-hooks": "^4.6.0",
100-
"execa": "^8.0.1",
101-
"nyc": "^15.1.0",
98+
"eslint-plugin-react": "^7.34.4",
99+
"eslint-plugin-react-hooks": "^4.6.2",
100+
"execa": "^9.3.0",
101+
"nyc": "^17.0.0",
102102
"proxyquire": "^2.1.3",
103103
"temp-write": "^5.0.0",
104-
"webpack": "^5.90.3"
104+
"webpack": "^5.93.0"
105105
},
106106
"xo": {
107107
"ignores": [

test/fixtures/overrides/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
"import/no-extraneous-dependencies": "off",
1717
"ava/no-ignored-test-files": "off",
1818
"unicorn/prefer-module": "off",
19-
"unicorn/prefer-node-protocol": "off"
19+
"unicorn/prefer-node-protocol": "off",
20+
"unicorn/no-anonymous-default-export": "off"
2021
}
2122
}
2223
}

0 commit comments

Comments
 (0)