29 lines
622 B
JavaScript
29 lines
622 B
JavaScript
// Copyright (C) 2018-2022 Intel Corporation
|
|
// Copyright (C) CVAT.ai Corporation
|
|
//
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
const { join } = require('path');
|
|
|
|
module.exports = {
|
|
ignorePatterns: [
|
|
'.eslintrc.cjs',
|
|
'webpack.config.cjs',
|
|
'node_modules/**',
|
|
'dist/**',
|
|
'tests/**/*.cjs',
|
|
],
|
|
parserOptions: {
|
|
project: './tsconfig.json',
|
|
tsconfigRootDir: __dirname,
|
|
},
|
|
rules: {
|
|
'import/no-extraneous-dependencies': [
|
|
'error',
|
|
{
|
|
packageDir: [__dirname, join(__dirname, '../')]
|
|
},
|
|
],
|
|
}
|
|
};
|