|
40 | 40 | "chrome-aws-lambda": "^10.1.0", |
41 | 41 | "codemirror": "^6.0.0", |
42 | 42 | "cross-env": "^7.0.0", |
43 | | - "cssnano": "^5.0.0", |
| 43 | + "cssnano": "^6.0.0", |
44 | 44 | "dlv": "^1.0.0", |
45 | | - "esbuild": "^0.17.0", |
| 45 | + "esbuild": "^0.19.0", |
46 | 46 | "eslint-config-xo-react": "^0.27.0", |
47 | 47 | "eslint-plugin-es": "^4.0.0", |
48 | 48 | "eslint-plugin-react": "^7.0.0", |
49 | 49 | "eslint-plugin-react-hooks": "^4.0.0", |
50 | | - "eslint-plugin-security": "^1.0.0", |
51 | 50 | "estree-util-value-to-estree": "^2.0.0", |
52 | 51 | "estree-util-visit": "^1.0.0", |
53 | 52 | "globby": "^13.0.0", |
|
57 | 56 | "hastscript": "^7.0.0", |
58 | 57 | "highlight.js": "^11.0.0", |
59 | 58 | "husky": "^8.0.0", |
60 | | - "lint-staged": "^13.0.0", |
| 59 | + "lint-staged": "^14.0.0", |
61 | 60 | "lowlight": "^2.0.0", |
62 | 61 | "p-all": "^4.0.0", |
63 | | - "patch-package": "^6.0.0", |
| 62 | + "patch-package": "^8.0.0", |
64 | 63 | "periscopic": "^3.0.0", |
65 | 64 | "postcss": "^8.0.0", |
66 | 65 | "postcss-cli": "^10.0.0", |
67 | | - "prettier": "^2.0.0", |
68 | | - "puppeteer-core": "^19.0.0", |
| 66 | + "prettier": "^3.0.0", |
| 67 | + "puppeteer-core": "^21.0.0", |
69 | 68 | "react": "0.0.0-experimental-1159ff619-20220324", |
70 | 69 | "react-dom": "0.0.0-experimental-1159ff619-20220324", |
71 | 70 | "react-error-boundary": "^3.0.0", |
|
115 | 114 | "xast-util-feed": "^1.0.0", |
116 | 115 | "xast-util-sitemap": "^1.0.0", |
117 | 116 | "xast-util-to-xml": "^3.0.0", |
118 | | - "xo": "^0.54.0" |
| 117 | + "xo": "^0.56.0" |
119 | 118 | }, |
120 | 119 | "scripts": { |
121 | 120 | "postinstall": "patch-package", |
|
130 | 129 | "docs-prod": "npm run docs-prep && npm run docs-bundle-prod && npm run docs-generate && npm run docs-prerender && npm run docs-post", |
131 | 130 | "docs": "npm run docs-prod", |
132 | 131 | "docs-deploy": "vercel && vercel alias $(pbpaste) mdxjs.com && vercel alias $(pbpaste) www.mdxjs.com", |
133 | | - "format": "remark . -qfo && remark . -e mdx -u mdx -qfo && prettier . -w --loglevel warn && xo --fix", |
134 | | - "lint": "remark . -qf && remark . -e mdx -u mdx -qf && prettier . -c --loglevel warn && xo", |
| 132 | + "format": "remark . -qfo && remark . -e mdx -u mdx -qfo && prettier . -w --log-level warn && xo --fix", |
| 133 | + "lint": "remark . -qf && remark . -e mdx -u mdx -qf && prettier . -c --log-level warn && xo", |
135 | 134 | "build": "npm run build --workspaces --if-present", |
136 | 135 | "test-api": "npm run test-api --workspaces --if-present", |
137 | 136 | "test-coverage": "npm run test-coverage --workspaces --if-present", |
|
165 | 164 | "envs": [ |
166 | 165 | "shared-node-browser" |
167 | 166 | ], |
168 | | - "extensions": [ |
169 | | - "jsx", |
170 | | - "cjs" |
171 | | - ], |
172 | 167 | "prettier": true, |
173 | 168 | "rules": { |
174 | | - "import/extensions": "off", |
175 | 169 | "n/file-extension-in-import": "off", |
176 | 170 | "react/prop-types": "off", |
177 | 171 | "unicorn/no-await-expression-member": "off", |
178 | | - "unicorn/prefer-code-point": "off", |
| 172 | + "unicorn/prefer-at": "off", |
179 | 173 | "unicorn/prefer-logical-operator-over-ternary": "off", |
180 | 174 | "unicorn/prefer-node-protocol": "off", |
181 | 175 | "unicorn/prefer-top-level-await": "off", |
182 | | - "capitalized-comments": "off", |
183 | | - "complexity": "off", |
184 | | - "max-depth": "off" |
| 176 | + "complexity": "off" |
185 | 177 | }, |
186 | 178 | "overrides": [ |
187 | 179 | { |
|
194 | 186 | }, |
195 | 187 | { |
196 | 188 | "files": [ |
197 | | - "docs/**/*.js", |
198 | | - "packages/{mdx,react,preact}/test/**/*.{js,jsx}", |
199 | | - "website/**/*.js" |
| 189 | + "docs/**/*.js" |
200 | 190 | ], |
201 | 191 | "extends": "xo-react" |
202 | | - }, |
203 | | - { |
204 | | - "files": [ |
205 | | - "packages/*/lib/**/*.js", |
206 | | - "packages/remark-mdx/index.js" |
207 | | - ], |
208 | | - "extends": [ |
209 | | - "plugin:es/restrict-to-es2019", |
210 | | - "plugin:security/recommended" |
211 | | - ], |
212 | | - "rules": { |
213 | | - "security/detect-object-injection": "off" |
214 | | - } |
215 | | - }, |
216 | | - { |
217 | | - "files": [ |
218 | | - "**/*.d.ts" |
219 | | - ], |
220 | | - "rules": { |
221 | | - "@typescript-eslint/consistent-indexed-object-style": [ |
222 | | - "error", |
223 | | - "index-signature" |
224 | | - ] |
225 | | - } |
226 | 192 | } |
227 | 193 | ] |
228 | 194 | }, |
|
0 commit comments