-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 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 <[email protected]> Co-authored-by: zyoshoka <[email protected]> Co-authored-by: zyoshoka <[email protected]>
- Loading branch information
1 parent
f1b1e2a
commit 427648c
Showing
40 changed files
with
5,555 additions
and
4,410 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
import tsParser from '@typescript-eslint/parser'; | ||
import sharedConfig from '../shared/eslint.config.js'; | ||
|
||
export default [ | ||
...sharedConfig, | ||
{ | ||
ignores: ['**/node_modules', 'built', '@types/**/*'], | ||
}, | ||
{ | ||
files: ['**/*.ts', '**/*.tsx'], | ||
languageOptions: { | ||
parserOptions: { | ||
parser: tsParser, | ||
project: ['./tsconfig.json', './test/tsconfig.json'], | ||
sourceType: 'module', | ||
tsconfigRootDir: import.meta.dirname, | ||
}, | ||
}, | ||
rules: { | ||
'import/order': ['warn', { | ||
groups: [ | ||
'builtin', | ||
'external', | ||
'internal', | ||
'parent', | ||
'sibling', | ||
'index', | ||
'object', | ||
'type', | ||
], | ||
pathGroups: [{ | ||
pattern: '@/**', | ||
group: 'external', | ||
position: 'after', | ||
}], | ||
}], | ||
'no-restricted-globals': ['error', { | ||
name: '__dirname', | ||
message: 'Not in ESModule. Use `import.meta.url` instead.', | ||
}, { | ||
name: '__filename', | ||
message: 'Not in ESModule. Use `import.meta.url` instead.', | ||
}], | ||
}, | ||
}, | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.