You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
651 B
33 lines
651 B
12 months ago
|
// @ts-check
|
||
|
const { defineConfig } = require('eslint-define-config');
|
||
|
|
||
|
module.exports = defineConfig({
|
||
|
extends: ['../.eslintrc.js'],
|
||
|
env: {
|
||
|
browser: false,
|
||
|
},
|
||
|
parserOptions: {
|
||
|
project: true,
|
||
|
tsconfigRootDir: __dirname,
|
||
|
ecmaFeatures: {
|
||
|
jsx: false,
|
||
|
},
|
||
|
ecmaVersion: 2021,
|
||
|
},
|
||
|
rules: {
|
||
|
'import/no-commonjs': 'off',
|
||
|
'import/no-extraneous-dependencies': [
|
||
|
'error',
|
||
|
{
|
||
|
devDependencies: [
|
||
|
'streaming/.eslintrc.js',
|
||
|
],
|
||
|
optionalDependencies: false,
|
||
|
peerDependencies: false,
|
||
|
includeTypes: true,
|
||
|
packageDir: __dirname,
|
||
|
},
|
||
|
],
|
||
|
},
|
||
|
});
|