eslint-plugin: add tests for no-undeclared-imports + fixes
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -21,8 +21,11 @@ module.exports = {
|
||||
node: true,
|
||||
es2021: true,
|
||||
},
|
||||
parser: '@typescript-eslint/parser',
|
||||
parserOptions: {
|
||||
ecmaVersion: 2018,
|
||||
sourceType: 'module',
|
||||
lib: require('@backstage/cli/config/tsconfig.json').compilerOptions.lib,
|
||||
},
|
||||
rules: {
|
||||
'@backstage/no-undeclared-imports': ['error'],
|
||||
|
||||
Reference in New Issue
Block a user