diff options
author | Wyvest <wyvestbusiness@gmail.com> | 2024-01-20 11:29:57 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-20 11:29:57 -0500 |
commit | 0afab2cd1b1266034d35cd66f41c3bde90847f9e (patch) | |
tree | 54172a78823cf76761ab88e21d6d2c64d5b965c3 /packages/config/eslint/web.js | |
parent | 55b593c4e6b90137995aee9a55ba2a86423cc7bd (diff) | |
parent | 55548a94b61ce7d1ca0ca8da69db7566f937cfeb (diff) | |
download | Nexus-0afab2cd1b1266034d35cd66f41c3bde90847f9e.tar.gz Nexus-0afab2cd1b1266034d35cd66f41c3bde90847f9e.tar.bz2 Nexus-0afab2cd1b1266034d35cd66f41c3bde90847f9e.zip |
Merge pull request #4 from Polyfrost/website/icon-fix
Diffstat (limited to 'packages/config/eslint/web.js')
-rw-r--r-- | packages/config/eslint/web.js | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/packages/config/eslint/web.js b/packages/config/eslint/web.js deleted file mode 100644 index dc010b3..0000000 --- a/packages/config/eslint/web.js +++ /dev/null @@ -1,22 +0,0 @@ -/** @type {import('eslint').ESLint.ConfigData} */ -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!' - } - ] - } -}; |