Advertisement
Guest User

Untitled

a guest
Jan 15th, 2024
24
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.53 KB | None | 0 0
  1. {
  2. "root": true,
  3. "ignorePatterns": [
  4. "src/environments/*",
  5. "src/assets/*",
  6. "src/polyfills.browser.ts",
  7. "src/custom-typings.d.ts"
  8. ],
  9. "rules": {
  10. // disable the rule for all files
  11. "@typescript-eslint/explicit-member-accessibility": "off",
  12. "linebreak-style": 0,
  13. "global-require": 0,
  14. "eslint linebreak-style": 0
  15. },
  16. "overrides": [
  17. {
  18. "files": ["*.ts"],
  19. "parserOptions": {
  20. "project": ["tsconfig.json"],
  21. "createDefaultProgram": true
  22. },
  23. "extends": [
  24. "eslint:recommended",
  25. "plugin:@angular-eslint/recommended",
  26. "plugin:@angular-eslint/template/process-inline-templates",
  27. "plugin:@typescript-eslint/recommended",
  28. "plugin:@typescript-eslint/recommended-requiring-type-checking"
  29. ],
  30. "rules": {
  31. "linebreak-style": 0,
  32. "global-require": 0,
  33. "eslint linebreak-style": 0,
  34. "@angular-eslint/component-class-suffix": [
  35. "error",
  36. {
  37. "suffixes": ["Component"]
  38. }
  39. ],
  40. "@typescript-eslint/no-unsafe-member-access": "off"
  41. }
  42. },
  43. {
  44. "files": ["*.html"],
  45. "parser": "@angular-eslint/template-parser",
  46. "extends": [
  47. "plugin:@angular-eslint/template/recommended"
  48. ],
  49. "rules": {
  50. "linebreak-style": 0,
  51. "global-require": 0,
  52. "@angular-eslint/template/banana-in-box": "error",
  53. "@angular-eslint/template/no-negated-async": "off"
  54.  
  55. }
  56. }
  57. ]
  58. }
  59.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement