返回 marp
.eslintrc.js
根目录 / website / .eslintrc.js
1 const path = require('path')
2
3 module.exports = {
4 extends: ['next', 'prettier'],
5 rules: {
6 '@next/next/no-html-link-for-pages': [
7 'error',
8 path.join(__dirname, 'pages'),
9 ],
10
11 // Marp website is completely static. Automatic Image Optimization by Next.js requires a server for on-demand conversion.
12 '@next/next/no-img-element': 'off',
13 },
14 }
15
15 lines JAVASCRIPT