32 lines
684 B
JavaScript
32 lines
684 B
JavaScript
import { baseConfig } from '../../eslint.config.mjs';
|
|
import * as jsoncEslintParser from 'jsonc-eslint-parser';
|
|
|
|
export default [
|
|
...baseConfig,
|
|
{ ignores: ['dist'] },
|
|
{
|
|
files: ['./package.json', './generators.json', './executors.json'],
|
|
rules: {
|
|
'@nx/nx-plugin-checks': 'error',
|
|
},
|
|
languageOptions: {
|
|
parser: jsoncEslintParser,
|
|
},
|
|
},
|
|
{
|
|
files: ['./package.json'],
|
|
rules: {
|
|
'@nx/dependency-checks': [
|
|
'error',
|
|
{
|
|
buildTargets: ['build-base'],
|
|
ignoredDependencies: ['nx', 'eslint', 'typescript'],
|
|
},
|
|
],
|
|
},
|
|
languageOptions: {
|
|
parser: jsoncEslintParser,
|
|
},
|
|
},
|
|
];
|