Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,14 @@ module.exports = {
varsIgnorePattern: '^_',
caughtErrorsIgnorePattern: '^_'
}
],
'@typescript-eslint/no-unused-expressions': [
'error',
{
allowShortCircuit: true,
allowTernary: true,
allowTaggedTemplates: true
}
]
},
env: {
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cps-shared-ui-checkers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -192,9 +192,9 @@ jobs:
id: generate-api
run: |
npm run generate-json-api
if [[ -n "$(git status --porcelain projects/composition/src/assets/api-data/)" ]]; then
if [[ -n "$(git status --porcelain projects/composition/src/app/api-data/)" ]]; then
echo "API data has changed. Please commit the updated API data.";
git --no-pager diff projects/composition/src/assets/api-data/
git --no-pager diff projects/composition/src/app/api-data/
exit 1;
else
echo "No changes in API data.";
Expand Down
1 change: 1 addition & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ const coverageThreshold =

module.exports = {
roots: ['<rootDir>/projects'],
coverageDirectory: '<rootDir>/coverage',
preset: 'jest-preset-angular',
moduleNameMapper: {
'^lodash-es$': 'lodash',
Expand Down
Loading
Loading