mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-04 23:45:07 +00:00
c6bb797d58
* header check * eslint, header link * labelpolicy promise * set isdefault of branding to false on add * icon * branding toggles
41 lines
1.0 KiB
JavaScript
41 lines
1.0 KiB
JavaScript
module.exports = {
|
|
root: true,
|
|
ignorePatterns: ['projects/**/*'],
|
|
overrides: [
|
|
{
|
|
files: ['*.ts'],
|
|
parserOptions: {
|
|
project: ['tsconfig.json', 'e2e/tsconfig.json'],
|
|
createDefaultProgram: true,
|
|
tsconfigRootDir: __dirname,
|
|
},
|
|
extends: ['plugin:@angular-eslint/recommended', 'plugin:@angular-eslint/template/process-inline-templates'],
|
|
rules: {
|
|
'@angular-eslint/no-conflicting-lifecycle': 'off',
|
|
'@angular-eslint/no-host-metadata-property': 'off',
|
|
'@angular-eslint/component-selector': [
|
|
'error',
|
|
{
|
|
prefix: 'cnsl',
|
|
style: 'kebab-case',
|
|
type: 'element',
|
|
},
|
|
],
|
|
'@angular-eslint/directive-selector': [
|
|
'error',
|
|
{
|
|
prefix: 'cnsl',
|
|
style: 'camelCase',
|
|
type: 'attribute',
|
|
},
|
|
],
|
|
},
|
|
},
|
|
{
|
|
files: ['*.html'],
|
|
extends: ['plugin:@angular-eslint/template/recommended'],
|
|
rules: {},
|
|
},
|
|
],
|
|
};
|