docker-inspector/frontend/libs/shared/ws/eslint.config.mjs
Gal Podlipnik 7dd003e502
Some checks failed
Build and Push Docker Image / build-and-push (push) Has been cancelled
containers update + docker file build
2025-06-09 02:30:54 +02:00

35 lines
622 B
JavaScript

import nx from '@nx/eslint-plugin';
import baseConfig from '../../../eslint.base.config.mjs';
export default [
...baseConfig,
...nx.configs['flat/angular'],
...nx.configs['flat/angular-template'],
{
files: ['**/*.ts'],
rules: {
'@angular-eslint/directive-selector': [
'error',
{
type: 'attribute',
prefix: 'frontend',
style: 'camelCase',
},
],
'@angular-eslint/component-selector': [
'error',
{
type: 'element',
prefix: 'frontend',
style: 'kebab-case',
},
],
},
},
{
files: ['**/*.html'],
// Override or add rules here
rules: {},
},
];