summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorsyuilo <4439005+syuilo@users.noreply.github.com>2024-07-02 11:38:34 +0900
committerGitHub <noreply@github.com>2024-07-02 11:38:34 +0900
commit427648c4b8c5b7699c92afa95a14097bb9329ee8 (patch)
tree6ceb3db35f54f28a3b046341ebb8c4e6dbb1cb86 /scripts
parentfix(storybook): prevent infinite remount of component (#14101) (diff)
downloadsharkey-427648c4b8c5b7699c92afa95a14097bb9329ee8.tar.gz
sharkey-427648c4b8c5b7699c92afa95a14097bb9329ee8.tar.bz2
sharkey-427648c4b8c5b7699c92afa95a14097bb9329ee8.zip
update deps (#14057)
* wip * locales/index.jsのymlファイル取得ロジックを調節 * regenerate pnpm-lock.yaml * fix(backend): typecheck fails * chore(deps): bump ip-cidr from 4.0.0 to 4.0.1 in /packages/backend * chore: migrate ESLint configs to flat config (#14094) * chore: migrate ESLint configs to flat config * fix: update paths * fix: frontend lint fails * refactor(misskey-js): lint build.js * update deps --------- Co-authored-by: samunohito <46447427+samunohito@users.noreply.github.com> Co-authored-by: zyoshoka <root@zyoshoka.com> Co-authored-by: zyoshoka <107108195+zyoshoka@users.noreply.github.com>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/changelog-checker/.eslintrc.cjs9
-rw-r--r--scripts/changelog-checker/eslint.config.js17
2 files changed, 17 insertions, 9 deletions
diff --git a/scripts/changelog-checker/.eslintrc.cjs b/scripts/changelog-checker/.eslintrc.cjs
deleted file mode 100644
index 6acf8b3e6e..0000000000
--- a/scripts/changelog-checker/.eslintrc.cjs
+++ /dev/null
@@ -1,9 +0,0 @@
-module.exports = {
- parserOptions: {
- tsconfigRootDir: __dirname,
- project: ['./tsconfig.json'],
- },
- extends: [
- '../../packages/shared/.eslintrc.js',
- ],
-};
diff --git a/scripts/changelog-checker/eslint.config.js b/scripts/changelog-checker/eslint.config.js
new file mode 100644
index 0000000000..813e96981a
--- /dev/null
+++ b/scripts/changelog-checker/eslint.config.js
@@ -0,0 +1,17 @@
+import tsParser from '@typescript-eslint/parser';
+import sharedConfig from '../../packages/shared/eslint.config.js';
+
+export default [
+ ...sharedConfig,
+ {
+ files: ['src/**/*.ts', 'src/**/*.tsx'],
+ languageOptions: {
+ parserOptions: {
+ parser: tsParser,
+ project: ['./tsconfig.json'],
+ sourceType: 'module',
+ tsconfigRootDir: import.meta.dirname,
+ },
+ },
+ },
+];