mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Add .ts and .tsx files under linter and fix linter issues. #5830
This commit is contained in:
@@ -42,6 +42,20 @@ module.exports = {
|
||||
'react',
|
||||
'@babel',
|
||||
],
|
||||
'overrides': [
|
||||
{
|
||||
'files': ['**/*.ts', '**/*.tsx'],
|
||||
'plugins': [
|
||||
'@typescript-eslint',
|
||||
],
|
||||
'extends': ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'plugin:@typescript-eslint/eslint-recommended'],
|
||||
'parser': '@typescript-eslint/parser',
|
||||
'rules': {
|
||||
'@typescript-eslint/no-explicit-any': ['off'],
|
||||
'@typescript-eslint/no-this-alias': ['off'],
|
||||
}
|
||||
},
|
||||
],
|
||||
'globals': {
|
||||
'_': true,
|
||||
'module': true,
|
||||
|
||||
Reference in New Issue
Block a user