forked from misskey-dev/summaly
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update deps * lint fixes * fix * trace-redirectを削除 Co-Authored-By: あわわわとーにゅ <17376330+u1-liquid@users.noreply.github.com> * attempt to fix test * refactor * fix test --------- Co-authored-by: あわわわとーにゅ <17376330+u1-liquid@users.noreply.github.com>
- Loading branch information
1 parent
509a35a
commit 3e09d27
Showing
21 changed files
with
3,812 additions
and
3,127 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
import pluginMisskey from '@misskey-dev/eslint-plugin'; | ||
import tsParser from '@typescript-eslint/parser'; | ||
|
||
//@ts-check | ||
/** @type {import('eslint').Linter.Config[]} */ | ||
export default [ // eslint-disable-line import/no-default-export | ||
...pluginMisskey.configs['recommended'], | ||
{ | ||
ignores: [ | ||
'**/node_modules', | ||
'src/@types/package.json.d.ts', | ||
'built', | ||
'jest.config.js', | ||
'test', | ||
], | ||
}, | ||
{ | ||
files: ['**/*.ts', '**/*.tsx'], | ||
languageOptions: { | ||
parserOptions: { | ||
parser: tsParser, | ||
project: ['./tsconfig.json', './test/tsconfig.json'], | ||
sourceType: 'module', | ||
tsConfigRootDir: import.meta.dirname, | ||
}, | ||
}, | ||
rules: { | ||
// 空文字でもフォールバックしたいので無効 | ||
'@typescript-eslint/prefer-nullish-coalescing': 'off', | ||
}, | ||
}, | ||
{ | ||
files: ['**/*.js', '**/*.cjs'], | ||
rules: { | ||
'@typescript-eslint/no-var-requires': 'off', | ||
}, | ||
}, | ||
]; |
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
Oops, something went wrong.