Skip to content

Commit 3859204

Browse files
committed
chore: fix site
1 parent c22b21c commit 3859204

File tree

6 files changed

+19
-2
lines changed

6 files changed

+19
-2
lines changed

.vscode/settings.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
"css.validate": false,
1616
"typescript.tsdk": "node_modules/typescript/lib",
1717
"editor.codeActionsOnSave": {
18-
"source.fixAll.eslint": true,
19-
"source.fixAll.stylelint": true
18+
"source.fixAll.eslint": "explicit",
19+
"source.fixAll.stylelint": "explicit"
2020
},
2121
"editor.codeActionsOnSaveTimeout": 7500,
2222
"stylelint.validate": [

docs/.vuepress/config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,11 @@ module.exports = {
2424
__dirname,
2525
"../../node_modules/@eslint/eslintrc/dist/eslintrc-universal.cjs",
2626
),
27+
"eslint/use-at-your-own-risk": path.resolve(
28+
"./shim/eslint/use-at-your-own-risk.js",
29+
),
2730
eslint$: require.resolve("./shim/eslint"),
31+
"eslint-visitor-keys": require.resolve("./shim/eslint-visitor-keys"),
2832
// eslint-disable-next-line n/no-extraneous-require -- demo
2933
stylus: require.resolve("stylus/lib/stylus"),
3034
glob: require.resolve("./shim/glob"),
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/* eslint n/no-unsupported-features/es-syntax:0 -- ignore */
2+
import {
3+
getKeys,
4+
KEYS,
5+
unionWith,
6+
} from "../../../node_modules/eslint-visitor-keys/lib/index.js";
7+
export { getKeys, KEYS, unionWith };
8+
export default { getKeys, KEYS, unionWith };
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/* eslint n/no-unsupported-features/es-syntax:0 -- ignore */
2+
export const builtinRules = new Map();
3+
export default { builtinRules };

package-lock.json

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@
9393
"vuepress": "^1.8.2"
9494
},
9595
"dependencies": {
96+
"@eslint-community/eslint-utils": "^4.4.0",
9697
"eslint-utils": "^3.0.0",
9798
"lodash": "^4.17.21",
9899
"postcss": "^8.4.31",

0 commit comments

Comments
 (0)