eslintrc-tsnocheck

This commit is contained in:
Kagami Sascha Rosylight
2023-07-31 03:56:33 +02:00
parent fa03f61529
commit 2d3269273f
9 changed files with 50 additions and 7 deletions

View File

@@ -0,0 +1,10 @@
// Split from .eslintrc, so that the default eslintrc can still show error for ts-nocheck
module.exports = {
root: true,
extends: [
'./.eslintrc.cjs',
],
rules: {
'@typescript-eslint/ban-ts-comment': ['error', { 'ts-nocheck': false }]
}
};