lint: use React.JSX type instead of the deprecated global JSX namespace
This commit is contained in:
@@ -29,4 +29,15 @@ module.exports = {
|
||||
rules: {
|
||||
'@typescript-eslint/no-non-null-assertion': 'off',
|
||||
},
|
||||
overrides: [
|
||||
{
|
||||
files: ['**/*.{ts,tsx,cts,mts}'],
|
||||
parserOptions: {
|
||||
projectService: true,
|
||||
},
|
||||
rules: {
|
||||
'@typescript-eslint/no-deprecated': 'error',
|
||||
},
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user