mirror of
https://github.com/spacedriveapp/spacedrive
synced 2024-07-14 17:04:05 +00:00
* update landing packages & tailwind * move images * refactor to nextjs * doc stuff * rename markdown to mdx * working docs * Add math * fix pnpm-lock * Code highlighting * fix types * fix more stuff * Notice component and removed slot * delete editorconfig eslint rule * pnpm-lock * some fixes * fixed types (pls) * bump ui's typescript too * commit next-env.d.ts * fix doc links * Use next/head instead of react-helmet & rehype-external-links * fixes * fix unsub from list * add trim() to docs.excerpt * trim doc title too * fix titles * replace <a> to Link * hide .contentlayer & .next from vscode search
22 lines
512 B
JavaScript
22 lines
512 B
JavaScript
module.exports = {
|
|
extends: [require.resolve('./base.js'), require.resolve('./tailwind.js')],
|
|
ignorePatterns: ['public', 'vite.config.ts'],
|
|
env: {
|
|
browser: true,
|
|
node: true
|
|
},
|
|
rules: {
|
|
'no-restricted-syntax': [
|
|
'error',
|
|
{
|
|
selector: "CallExpression[callee.name='useParams']",
|
|
message: 'useParams is illegal, use useZodRouteParams!'
|
|
},
|
|
{
|
|
selector: "CallExpression[callee.name='useSearchParams']",
|
|
message: 'useSearchParams is illegal, use useZodSearchParams!'
|
|
}
|
|
]
|
|
}
|
|
};
|