mirror of https://github.com/ghostfolio/ghostfolio
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.
34 lines
738 B
34 lines
738 B
2 weeks ago
|
const { FlatCompat } = require('@eslint/eslintrc');
|
||
|
const js = require('@eslint/js');
|
||
|
const baseConfig = require('../../eslint.config.cjs');
|
||
|
|
||
|
const compat = new FlatCompat({
|
||
|
baseDirectory: __dirname,
|
||
|
recommendedConfig: js.configs.recommended
|
||
|
});
|
||
|
|
||
|
module.exports = [
|
||
|
{
|
||
|
ignores: ['**/dist']
|
||
|
},
|
||
|
...baseConfig,
|
||
|
...compat.extends('plugin:cypress/recommended'),
|
||
|
{
|
||
|
files: ['**/*.ts', '**/*.tsx', '**/*.js', '**/*.jsx'],
|
||
|
// Override or add rules here
|
||
|
rules: {},
|
||
|
languageOptions: {
|
||
|
parserOptions: {
|
||
|
project: ['apps/ui-e2e/tsconfig.json']
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
files: ['src/plugins/index.js'],
|
||
|
rules: {
|
||
|
'@typescript-eslint/no-var-requires': 'off',
|
||
|
'no-undef': 'off'
|
||
|
}
|
||
|
}
|
||
|
];
|