Skip to content

Commit

Permalink
Merge pull request #562 from SaekiTominaga/eslint-config@7.2
Browse files Browse the repository at this point in the history
`@w0s/eslint-config@7.2.0` にアップデート
  • Loading branch information
SaekiTominaga authored Aug 21, 2024
2 parents fecde6c + 335fb33 commit 59195b1
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 27 deletions.
4 changes: 1 addition & 3 deletions astro/eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default [
...w0sConfig,
...pluginAstro.configs.recommended,
{
ignores: ['dist/**/*.mjs', 'src/env.d.ts', 'src/pages/kumeta/manga/subtitle.astro', 'public/assets/script/*.js', 'public/assets/script/*.mjs'],
ignores: ['dist', 'src/env.d.ts', 'src/pages/kumeta/manga/subtitle.astro', 'public/assets/script/*.js', 'public/assets/script/*.mjs'],
},
{
files: ['**/*.astro'],
Expand All @@ -28,9 +28,7 @@ export default [
'import/no-unresolved': 'off',
'import/prefer-default-export': 'off',
'jsdoc/require-param-type': 'off',
'jsdoc/require-property-type': 'off',
'jsdoc/require-returns-type': 'off',
'@typescript-eslint/no-unused-vars': 'off',
},
},
{
Expand Down
3 changes: 0 additions & 3 deletions astro/src/pages/tokyu/data/history_tokyu.astro
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import dayjs from 'dayjs';
import DateWareki from '@components/DateWareki.astro';
import FootnoteReference from '@components/FootnoteReference.astro';
import GithubSlugger from 'github-slugger';
import H from '@components/H.astro';
import Layout from '@layouts/Tokyu.astro';
import Licence from '@components/TokyuLicence.astro';
Expand Down Expand Up @@ -32,8 +31,6 @@ const structuredData: StructuredData = {
],
},
};
const slugger = new GithubSlugger();
---

<Layout astroFilePath={Astro.self.moduleId} structuredData={structuredData}>
Expand Down
1 change: 0 additions & 1 deletion astro/src/pages/tokyu/index.astro
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
import Layout from '@layouts/Tokyu.astro';
import LinkExternal from '@components/LinkExternal.astro';
import TopUpdate from '@components/TopUpdate.astro';
import type { StructuredData } from '@type/types.js';
Expand Down
53 changes: 34 additions & 19 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"devDependencies": {
"@markuplint/astro-parser": "^4.6.5",
"@w0s/eslint-config": "^7.1.0",
"@w0s/eslint-config": "^7.2.0",
"@w0s/markuplint-config": "^3.9.1",
"@w0s/stylelint-config": "^4.7.0",
"@w0s/tsconfig": "^1.4.1",
Expand Down

0 comments on commit 59195b1

Please sign in to comment.