tldraw/config/eslint-preset.js

29 lines
641 B
JavaScript
Raw Normal View History

2023-04-25 11:01:25 +00:00
/* eslint-disable */
module.exports = {
extends: ['prettier'],
settings: {
next: {
rootDir: ['apps/*/', 'packages/*/'],
2023-04-25 11:01:25 +00:00
},
},
ignorePatterns: ['**/*.js'],
rules: {
'no-non-null-assertion': 'off',
'no-fallthrough': 'off',
'@typescript-eslint/no-fallthrough': 'off',
'@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/ban-ts-comment': 'off',
'@typescript-eslint/no-unused-vars': [
'warn',
{
argsIgnorePattern: '^_',
varsIgnorePattern: '^_',
destructuredArrayIgnorePattern: '^_',
caughtErrorsIgnorePattern: '^_',
},
],
},
}