-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from SoftwareAG/feature-migration-1019
Feature migration 1019
- Loading branch information
Showing
55 changed files
with
17,618 additions
and
30,651 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,5 +27,5 @@ settings.json | |
setEnv.sh | ||
**/dist | ||
.env | ||
attic/ | ||
attic | ||
.angular |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,138 @@ | ||
module.exports = { | ||
root: true, | ||
env: { | ||
browser: true, | ||
es2021: true | ||
}, | ||
overrides: [ | ||
{ | ||
files: ['*.ts'], | ||
parser: '@typescript-eslint/parser', | ||
parserOptions: { | ||
ecmaVersion: 'latest', | ||
sourceType: 'module' | ||
}, | ||
plugins: ['import', '@typescript-eslint', '@angular-eslint'], | ||
extends: [ | ||
'eslint:recommended', | ||
'plugin:@typescript-eslint/recommended', | ||
'plugin:@angular-eslint/recommended', | ||
// This is required if you use inline templates in Components | ||
'plugin:@angular-eslint/template/process-inline-templates' | ||
], | ||
rules: { | ||
semi: ['error'], | ||
'spaced-comment': [ | ||
'error', | ||
'always', | ||
{ | ||
line: { | ||
exceptions: ['/'] | ||
}, | ||
markers: ['//////////'] | ||
} | ||
], | ||
'func-names': ['error', 'never'], | ||
'no-use-before-define': 'off', | ||
'comma-dangle': [ | ||
'error', | ||
{ | ||
arrays: 'ignore', | ||
objects: 'ignore', | ||
imports: 'ignore', | ||
exports: 'ignore', | ||
functions: 'never' | ||
} | ||
], | ||
strict: ['error', 'function'], | ||
'no-param-reassign': [ | ||
'error', | ||
{ | ||
props: false | ||
} | ||
], | ||
'no-plusplus': 'off', | ||
'no-redeclare': 'off', | ||
'no-extra-semi': 'error', | ||
'no-multi-spaces': 'error', | ||
'no-trailing-spaces': 'error', | ||
'no-multiple-empty-lines': 'error', | ||
'no-underscore-dangle': 0, | ||
'prefer-template': 'warn', | ||
'linebreak-style': 'off', | ||
'object-property-newline': 'off', | ||
'prefer-destructuring': [ | ||
'error', | ||
{ | ||
VariableDeclarator: { | ||
array: true, | ||
object: true | ||
}, | ||
AssignmentExpression: { | ||
array: false, | ||
object: false | ||
} | ||
}, | ||
{ | ||
enforceForRenamedProperties: false | ||
} | ||
], | ||
'max-len': 'off', | ||
'arrow-parens': 'off', | ||
'function-paren-newline': 'off', | ||
indent: 'off', | ||
'implicit-arrow-linebreak': 'off', | ||
'object-curly-newline': [ | ||
'error', | ||
{ | ||
consistent: true | ||
} | ||
], | ||
'operator-linebreak': 'off', | ||
'space-before-function-paren': 'off', | ||
'no-confusing-arrow': 'off', | ||
quotes: [ | ||
'error', | ||
'single', | ||
{ | ||
avoidEscape: true, | ||
allowTemplateLiterals: false | ||
} | ||
], | ||
'@typescript-eslint/no-inferrable-types': 'off', | ||
'@typescript-eslint/no-explicit-any': 'off', | ||
'@typescript-eslint/ban-types': [ | ||
'error', | ||
{ | ||
types: { | ||
Function: false | ||
} | ||
} | ||
], | ||
'no-prototype-builtins': 'warn', | ||
'@angular-eslint/directive-selector': [ | ||
'error', | ||
{ type: 'attribute', prefix: ['c8y', 'a17t'], style: 'camelCase' } | ||
], | ||
'@angular-eslint/component-selector': [ | ||
'error', | ||
{ type: 'element', prefix: ['c8y', 'a17t'], style: 'kebab-case' } | ||
], | ||
'import/no-unused-modules': 'error', | ||
'@angular-eslint/component-class-suffix': 'off', | ||
} | ||
}, | ||
{ | ||
files: ['*.component.html'], | ||
plugins: ['@angular-eslint/template'], | ||
extends: ['plugin:@angular-eslint/template/recommended'], | ||
parser: '@angular-eslint/template-parser', | ||
parserOptions: { | ||
project: './tsconfig.json', | ||
ecmaVersion: 'latest', | ||
sourceType: 'module' | ||
}, | ||
rules: {} | ||
} | ||
] | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"singleQuote": true, | ||
"semi": true, | ||
"trailingComma" : "none", | ||
"bracketSpacing": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.