mirror of
https://github.com/spartan-ng/spartan.git
synced 2026-09-22 16:41:38 +08:00
31 lines
592 B
JavaScript
31 lines
592 B
JavaScript
const baseConfig = require('../../eslint.config.cjs');
|
|
|
|
module.exports = [
|
|
...baseConfig,
|
|
{
|
|
files: ['**/*.ts', '**/*.tsx', '**/*.js', '**/*.jsx'],
|
|
rules: {},
|
|
},
|
|
{
|
|
files: ['**/*.ts', '**/*.tsx'],
|
|
rules: {
|
|
'@angular-eslint/prefer-output-readonly': 'off',
|
|
'@angular-eslint/prefer-on-push-component-change-detection': 'off',
|
|
},
|
|
},
|
|
{
|
|
files: ['**/*.js', '**/*.jsx'],
|
|
rules: {},
|
|
},
|
|
{
|
|
files: ['**/*.json'],
|
|
rules: {
|
|
'@nx/nx-plugin-checks': 'error',
|
|
'@nx/dependency-checks': 'off',
|
|
},
|
|
languageOptions: {
|
|
parser: require('jsonc-eslint-parser'),
|
|
},
|
|
},
|
|
];
|