mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-12-19 00:29:04 +01:00
33 lines
651 B
JavaScript
33 lines
651 B
JavaScript
|
// @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,
|
||
|
},
|
||
|
],
|
||
|
},
|
||
|
});
|