Skip to content

Commit

Permalink
Fixed #12580 - Various Eslint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
cetincakiroglu committed Jan 30, 2023
1 parent 036d2c4 commit 33db318
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 19 deletions.
27 changes: 20 additions & 7 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,20 +26,33 @@
"style": "camelCase"
}
],
"arrow-body-style": ["error", "as-needed"],
"curly": "error",
"@typescript-eslint/member-ordering": [
"@angular-eslint/component-class-suffix": [
"error",
{
"default": ["public-static-field", "static-field", "instance-field", "public-instance-method", "public-static-field"]
"suffixes": [""]
}
],
"no-console": [
"@angular-eslint/template/eqeqeq": [
"error",
{
"allow": ["debug", "info", "time", "timeEnd", "trace"]
"allowNullOrUndefined": true
}
]
],
"@angular-eslint/no-host-metadata-property": "off",
"@angular-eslint/no-output-on-prefix": "off",
"@typescript-eslint/ban-types": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-inferrable-types": "off",
"arrow-body-style": ["error", "as-needed"],
"curly": 0,
"@typescript-eslint/member-ordering": [
"error",
{
"default": ["public-static-field", "static-field", "instance-field", "public-instance-method", "public-static-field"]
}
],
"no-console": 0,
"prefer-const": 0
}
},
{
Expand Down
25 changes: 13 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,18 @@
"@angular/forms": "^15.1.0",
"@angular/platform-browser": "^15.1.0",
"@angular/platform-browser-dynamic": "^15.1.0",
"@angular-eslint/eslint-plugin": "15.1.0",
"@angular-eslint/eslint-plugin-template": "15.1.0",
"@angular-eslint/schematics": "15.1.0",
"@angular-eslint/template-parser": "15.1.0",
"@angular-eslint/builder": "^15.1.0",
"@angular-eslint/eslint-plugin": "^15.1.0",
"@angular-eslint/eslint-plugin-template": "^15.1.0",
"@angular-eslint/schematics": "^15.1.0",
"@angular-eslint/template-parser": "^15.1.0",
"eslint": "^8.28.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "latest",
"eslint-plugin-jsdoc": "latest",
"eslint-plugin-prefer-arrow": "latest",
"@typescript-eslint/eslint-plugin": "5.47.1",
"@typescript-eslint/parser": "5.47.1",
"@angular/router": "^15.1.0",
"@types/jasmine": "~3.10.0",
"@types/node": "^12.11.1",
Expand Down Expand Up @@ -75,13 +83,6 @@
"tslib": "^2.3.0",
"typescript": "~4.8.4",
"xlsx": "^0.15.1",
"zone.js": "~0.11.4",
"eslint": "^8.28.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "latest",
"eslint-plugin-jsdoc": "latest",
"eslint-plugin-prefer-arrow": "latest",
"@typescript-eslint/eslint-plugin": "5.47.1",
"@typescript-eslint/parser": "5.47.1"
"zone.js": "~0.11.4"
}
}

0 comments on commit 33db318

Please sign in to comment.