-
Notifications
You must be signed in to change notification settings - Fork 261
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* migrate content services to eslint * migrate insights to eslint * migrate extensions to eslint * migrate testing lib to eslint * migrate CLI to eslint * migrate process-services to eslint * migrate process-services-cloud to eslint * remove cli analytics [ci:force]
- Loading branch information
1 parent
b8bb234
commit 8dc736e
Showing
233 changed files
with
1,496 additions
and
725 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
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,104 @@ | ||
{ | ||
"extends": "../../.eslintrc.json", | ||
"ignorePatterns": [ | ||
"!**/*" | ||
], | ||
"overrides": [ | ||
{ | ||
"files": [ | ||
"*.ts" | ||
], | ||
"parserOptions": { | ||
"project": [ | ||
"lib/cli/tsconfig.json" | ||
], | ||
"createDefaultProgram": true | ||
}, | ||
"plugins": [ | ||
"eslint-plugin-unicorn", | ||
"eslint-plugin-rxjs" | ||
], | ||
"rules": { | ||
"prefer-arrow/prefer-arrow-functions": "warn", | ||
"@typescript-eslint/no-var-requires": "warn", | ||
"@typescript-eslint/naming-convention": "warn", | ||
"quote-props": "warn", | ||
"no-shadow": "warn", | ||
"@typescript-eslint/consistent-type-assertions": "warn", | ||
"@typescript-eslint/prefer-for-of": "warn", | ||
"no-underscore-dangle": "warn", | ||
|
||
"@angular-eslint/component-selector": [ | ||
"error", | ||
{ | ||
"type": "element", | ||
"prefix": [ | ||
"adf", | ||
"app" | ||
], | ||
"style": "kebab-case" | ||
} | ||
], | ||
"@angular-eslint/directive-selector": [ | ||
"error", | ||
{ | ||
"type": [ | ||
"element", | ||
"attribute" | ||
], | ||
"prefix": [ | ||
"adf", | ||
"app" | ||
], | ||
"style": "kebab-case" | ||
} | ||
], | ||
"@angular-eslint/no-host-metadata-property": "off", | ||
"@angular-eslint/no-input-prefix": "error", | ||
"@typescript-eslint/consistent-type-definitions": "error", | ||
"@typescript-eslint/dot-notation": "off", | ||
"@typescript-eslint/explicit-member-accessibility": [ | ||
"off", | ||
{ | ||
"accessibility": "explicit" | ||
} | ||
], | ||
"@typescript-eslint/no-floating-promises": "off", | ||
"@typescript-eslint/no-inferrable-types": "off", | ||
"@typescript-eslint/no-require-imports": "off", | ||
"brace-style": [ | ||
"error", | ||
"1tbs" | ||
], | ||
"comma-dangle": "error", | ||
"default-case": "error", | ||
"import/order": "off", | ||
"max-len": [ | ||
"error", | ||
{ | ||
"code": 240 | ||
} | ||
], | ||
"no-bitwise": "off", | ||
"no-duplicate-imports": "error", | ||
"no-multiple-empty-lines": "error", | ||
"no-redeclare": "error", | ||
"no-return-await": "error", | ||
"rxjs/no-create": "error", | ||
"rxjs/no-subject-unsubscribe": "error", | ||
"rxjs/no-subject-value": "error", | ||
"rxjs/no-unsafe-takeuntil": "error", | ||
"unicorn/filename-case": "error" | ||
} | ||
}, | ||
{ | ||
"files": [ | ||
"*.html" | ||
], | ||
"rules": { | ||
"@angular-eslint/template/no-autofocus": "error", | ||
"@angular-eslint/template/no-positive-tabindex": "error" | ||
} | ||
} | ||
] | ||
} |
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
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
Oops, something went wrong.