Skip to content

Commit

Permalink
lint(*): fix eslint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
GervinFung committed Dec 26, 2024
1 parent 1741628 commit fdb76eb
Show file tree
Hide file tree
Showing 5 changed files with 285 additions and 613 deletions.
3 changes: 0 additions & 3 deletions apps/web/eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import process from 'process';

// eslint-disable-next-line import/no-extraneous-dependencies
import { includeIgnoreFile } from '@eslint/compat';
// eslint-disable-next-line import/no-extraneous-dependencies
import eslint from '@eslint/js';
import { node, next } from '@poolofdeath20/eslint-config';
import tseslint from 'typescript-eslint';
Expand All @@ -17,7 +15,6 @@ export default tseslint.config(
node,
{
...next,
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
rules: {
...next.rules,
'react/forbid-component-props': [
Expand Down
2 changes: 1 addition & 1 deletion apps/web/next-sitemap.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
const url = process.env.NEXT_PUBLIC_ORIGIN;

/** @type {import('next-sitemap').IConfig} */
// eslint-disable-next-line no-undef, import/no-commonjs
// eslint-disable-next-line no-undef
module.exports = {
siteUrl: url,
generateRobotsTxt: true, // (optional)
Expand Down
1 change: 0 additions & 1 deletion apps/web/script/seo/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ const main = async () => {
`const paths = [] as ReadonlyArray<string>\n; export default paths;`
);

// eslint-disable-next-line import/dynamic-import-chunkname
const paths = await import('../../test/snapshot/data').then((data) => {
return data.generatePaths();
});
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
},
"devDependencies": {
"@poolofdeath20/prettier-config-generator": "^0.0.1",
"prettier": "^3.4.2",
"shx": "^0.3.4"
}
}
Loading

0 comments on commit fdb76eb

Please sign in to comment.