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
43 changes: 34 additions & 9 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,28 @@
"eslint:recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
"plugin:@angular-eslint/all",
"plugin:prettier/recommended" // This should always be the last in the extends array
"plugin:prettier/recommended"
],
"rules": {
"@angular-eslint/sort-ngmodule-metadata-arrays": "off",
"@angular-eslint/prefer-on-push-component-change-detection": "off",
"unused-imports/no-unused-imports": "error",
"no-console": ["error", { "allow": ["warn", "error"] }],
"@typescript-eslint/unbound-method": "off"
"no-console": [
"error",
{
"allow": ["warn", "error"]
}
],
"@typescript-eslint/unbound-method": "off",
"@angular-eslint/prefer-standalone": "off",
"@angular-eslint/prefer-standalone-component": "off",
"@typescript-eslint/no-unused-expressions": [
"error",
{
"allowShortCircuit": true,
"allowTernary": true
}
]
}
},
{
Expand All @@ -33,23 +47,32 @@
"eslint:recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
"plugin:@angular-eslint/all",
"plugin:prettier/recommended" // This should always be the last in the extends array
"plugin:prettier/recommended"
],
"rules": {
"@angular-eslint/sort-ngmodule-metadata-arrays": "off",
"@angular-eslint/prefer-on-push-component-change-detection": "off",
"unused-imports/no-unused-imports": "error",
"no-console": ["error", { "allow": ["warn", "error"] }],
"no-console": [
"error",
{
"allow": ["warn", "error"]
}
],
"@typescript-eslint/unbound-method": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/ban-types": "off"
"@typescript-eslint/ban-types": "off",
"@angular-eslint/prefer-standalone-component": "off",
"@angular-eslint/prefer-standalone": "off",
"@typescript-eslint/no-unsafe-function-type": "off",
"@typescript-eslint/no-unsafe-call": "off"
}
},
{
"files": ["*.html"],
"extends": [
"plugin:@angular-eslint/template/all",
"plugin:prettier/recommended" // This should always be the last in the extends array
"plugin:prettier/recommended"
],
"rules": {
"@angular-eslint/template/i18n": "off",
Expand All @@ -59,8 +82,10 @@
"@angular-eslint/template/no-interpolation-in-attributes": "off",
"@angular-eslint/template/button-has-type": "off",
"@angular-eslint/template/no-inline-styles": "off",
"@angular-eslint/template/accessibility-interactive-supports-focus": "off",
"@angular-eslint/template/attributes-order": "off"
"@angular-eslint/template/attributes-order": "off",
"@angular-eslint/template/interactive-supports-focus": "off",
// stream-chat-css takes care of image sizing for us
"@angular-eslint/template/prefer-ngsrc": "off"
}
}
]
Expand Down
12 changes: 6 additions & 6 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -134,18 +134,18 @@
"builder": "@angular-devkit/build-angular:dev-server",
"configurations": {
"production": {
"browserTarget": "sample-app:build:production"
"buildTarget": "sample-app:build:production"
},
"development": {
"browserTarget": "sample-app:build:development"
"buildTarget": "sample-app:build:development"
}
},
"defaultConfiguration": "development"
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "sample-app:build"
"buildTarget": "sample-app:build"
}
},
"test": {
Expand Down Expand Up @@ -282,18 +282,18 @@
"builder": "@angular-devkit/build-angular:dev-server",
"configurations": {
"production": {
"browserTarget": "customizations-example:build:production"
"buildTarget": "customizations-example:build:production"
},
"development": {
"browserTarget": "customizations-example:build:development"
"buildTarget": "customizations-example:build:development"
}
},
"defaultConfiguration": "development"
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "customizations-example:build"
"buildTarget": "customizations-example:build"
}
},
"test": {
Expand Down
Loading
Loading