Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
60 commits
Select commit Hold shift + click to select a range
783cb12
eslint array-bracket-spacing
fpfcarvalho Sep 3, 2023
9841525
estlint array-callback-return
fpfcarvalho Sep 4, 2023
a3b1513
Merge branch 'main' into dev
fpfcarvalho Sep 4, 2023
a42dfb4
eslint array-callback-return
fpfcarvalho Sep 4, 2023
5d7e1ad
merge main
fpfcarvalho Sep 5, 2023
5b6449a
fix merge
fpfcarvalho Sep 5, 2023
431e492
ban-types
fpfcarvalho Sep 5, 2023
be2eebe
camelcase
fpfcarvalho Sep 5, 2023
2d21391
comman-dangle
fpfcarvalho Sep 5, 2023
86d2f20
merge main
fpfcarvalho Sep 5, 2023
a2f9144
component-class-suffix
fpfcarvalho Sep 5, 2023
d93c464
component-selector
fpfcarvalho Sep 5, 2023
a4095b4
component-selector
fpfcarvalho Sep 5, 2023
7b00cd3
curly
fpfcarvalho Sep 5, 2023
c2a56cf
default-case
fpfcarvalho Sep 5, 2023
1fa6eeb
default-case-last
fpfcarvalho Sep 5, 2023
49f8ca2
directive-class-suffix
fpfcarvalho Sep 5, 2023
0903a0e
directive-selector
fpfcarvalho Sep 5, 2023
4a7b579
dot-notation
fpfcarvalho Sep 5, 2023
293d416
eqeqeq
fpfcarvalho Sep 5, 2023
780406c
explicit-function-return-type
fpfcarvalho Sep 5, 2023
9b883b8
explicit-function-return-type
fpfcarvalho Sep 5, 2023
a91a626
getter-return
fpfcarvalho Sep 5, 2023
1c9c2ae
indent
fpfcarvalho Sep 5, 2023
fa64c23
mx-len
fpfcarvalho Sep 5, 2023
73720c9
max-lines
fpfcarvalho Sep 5, 2023
4c7e2bc
max-lines-per-function
fpfcarvalho Sep 5, 2023
445d862
max-statements
fpfcarvalho Sep 5, 2023
13386cf
no-alert
fpfcarvalho Sep 5, 2023
e08b9f7
no-bitwise
fpfcarvalho Sep 5, 2023
2558ce5
no-bitwise
fpfcarvalho Sep 5, 2023
d5a310f
no-compare-neg-zero
fpfcarvalho Sep 5, 2023
034b34d
no-conflicting-lifecycle
fpfcarvalho Sep 5, 2023
cd0dfea
no-console no-debugger no-const-assign
fpfcarvalho Sep 5, 2023
109fa12
no-debugger no-dupe-args no-dupe-class-members no-dupe-else-if no-dup…
fpfcarvalho Sep 5, 2023
16c09aa
no-duplicate-case no-duplicate-imports no-empty no-empty-function
fpfcarvalho Sep 5, 2023
08fdb8f
no-empty-lifecycle-method no-eval no-extra-semi no-irregular-whitespa…
fpfcarvalho Sep 5, 2023
a8cb66e
no-multi-spaces no-multiple-empty-lines no-restricted-imports no-self…
fpfcarvalho Sep 5, 2023
ce751bc
no-setter-return no-sparse-arrays no-template-curly-in-string no-thro…
fpfcarvalho Sep 5, 2023
1dbc907
trailing-spaces
fpfcarvalho Sep 5, 2023
9523dea
no-trailing-spaces
fpfcarvalho Sep 5, 2023
c9f234d
Merge branch 'main' into dev
fpfcarvalho Sep 5, 2023
994bb77
no-trailing-spaces
fpfcarvalho Sep 5, 2023
ea791f2
no-unreachable no-unreachable-loop no-unsafe-optional-chaining no-unu…
fpfcarvalho Sep 5, 2023
6eb1d36
object-curly-spacing prefer-const quotes require-jsdoc semi use-isnan…
fpfcarvalho Sep 5, 2023
58d434e
Merge branch 'main' into dev
fpfcarvalho Sep 5, 2023
fcca951
use-pipe-transform-interface
fpfcarvalho Sep 5, 2023
048579c
valid-typeof
fpfcarvalho Sep 5, 2023
8e25826
all rules
fpfcarvalho Sep 5, 2023
762d3af
jasmine plugin
fpfcarvalho Sep 5, 2023
ab97489
ban-types
fpfcarvalho Sep 5, 2023
f6022ea
no-focused-tests
fpfcarvalho Sep 5, 2023
834b799
Merge branch 'main' into dev
fpfcarvalho Sep 5, 2023
1f45cc4
no-focused-tests
fpfcarvalho Sep 5, 2023
e37165e
max-statements
fpfcarvalho Sep 6, 2023
f6c2630
Merge branch 'main' into dev
fpfcarvalho Sep 6, 2023
bf0895c
max-statements
fpfcarvalho Sep 6, 2023
ccf605c
no-eval
fpfcarvalho Sep 6, 2023
9253101
eslint-plugin-jsdoc
fpfcarvalho Sep 6, 2023
8bb250b
fix: new eslint rule for disabled tests
fpfcarvalho Sep 21, 2023
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
141 changes: 75 additions & 66 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,81 +8,90 @@
"files": [
"*.ts"
],
"plugins": [
"jasmine"
],
"extends": [
// "eslint:recommended",
// "plugin:@typescript-eslint/recommended",
"plugin:@angular-eslint/recommended",
"plugin:@angular-eslint/template/process-inline-templates"
"plugin:@angular-eslint/template/process-inline-templates",
"plugin:jasmine/recommended"
],
"env": {
"jasmine": true
},
"rules": {
"array-bracket-spacing": ["error", "always", { "objectsInArrays": false, "arraysInArrays": false, "singleValue": false }],
"array-callback-return": "error",
"@typescript-eslint/ban-types": ["error", { "types": { "fdescribe": "Don't focus tests", "fit": "Don't focus tests" }}],
"@typescript-eslint/ban-types": "error",
"camelcase": "error",
"comma-dangle": ["error", "always-multiline"]
// "@angular-eslint/component-class-suffix": ["error"],
// "@angular-eslint/component-selector": ["error", { "prefix": "exo", "style": "kebab-case", "type": "element" }],
// "curly": "error",
// "default-case": "error",
// "default-case-last": "error",
// "@angular-eslint/directive-class-suffix": ["error"],
// "@angular-eslint/directive-selector": ["error", { "prefix": "exo", "style": "camelCase", "type": "attribute" }],
// "dot-notation": "error",
// "eqeqeq": ["error"],
// "@typescript-eslint/explicit-function-return-type": "error",
// "getter-return": "error",
// "indent": ["error", 2, { "SwitchCase": 1 }],
// "max-len": ["error", 140],
// "max-lines": ["warn", { "max": 10000, "skipBlankLines": true, "skipComments": true }],
// "max-lines-per-function": ["warn", { "max": 1500, "skipBlankLines": true, "skipComments": true }],
// "max-statements": ["warn", 300],
// "no-alert": "error",
// "no-bitwise": "warn",
// "no-compare-neg-zero": "warn",
// "@angular-eslint/no-conflicting-lifecycle": "error",
// "no-console": ["error"],
// "no-const-assign": "error",
// "no-debugger": "error",
// "no-dupe-args": "error",
// "no-dupe-class-members": "error",
// "no-dupe-else-if": "error",
// "no-dupe-keys": "error",
// "no-duplicate-case": "error",
// "no-duplicate-imports": "error",
// "no-empty": ["error", { "allowEmptyCatch": true }],
// "no-empty-function": "error",
// "@angular-eslint/no-empty-lifecycle-method": "error",
// "no-eval": "warn",
// "no-extra-semi": "error",
// "no-irregular-whitespace": "error",
// "no-lonely-if": "error",
// "no-multi-spaces": ["error", { "ignoreEOLComments": false }],
// "no-multiple-empty-lines": ["error", { "max": 1 }],
// "no-restricted-imports": ["error", "rxjs/Rx", "fs"],
// "no-self-assign": "error",
// "no-self-compare": "error",
// "no-setter-return": "error",
// "no-sparse-arrays": "error",
// "no-template-curly-in-string": "error",
// "no-throw-literal": "error",
// "no-trailing-spaces": "error",
// "no-unreachable": "error",
// "no-unreachable-loop": "error",
// "no-unsafe-optional-chaining": "error",
// "no-unused-expressions": "error",
// "@typescript-eslint/no-unused-vars": ["error", { "argsIgnorePattern": "^_" }],
// "no-use-before-define": ["error", { "functions": false, "classes": false, "variables": true, "allowNamedExports": false }],
// "no-whitespace-before-property": ["error"],
// "object-curly-spacing": ["error", "always"],
// "prefer-const": "error",
// "quotes": ["error", "single"],
// "radix": "off",
// "require-jsdoc": "error",
// "semi": ["error", "always"],
// "use-isnan": ["error", { "enforceForSwitchCase": true }],
// "@angular-eslint/use-lifecycle-interface": "error",
// "@angular-eslint/use-pipe-transform-interface": "error",
// "valid-typeof": "error"
"comma-dangle": ["error", "always-multiline"],
"@angular-eslint/component-class-suffix": ["error"],
"@angular-eslint/component-selector": ["error", { "prefix": "exo", "style": "kebab-case", "type": "element" }],
"curly": "error",
"default-case": "error",
"default-case-last": "error",
"@angular-eslint/directive-class-suffix": ["error"],
"@angular-eslint/directive-selector": ["error", { "prefix": "exo", "style": "camelCase", "type": "attribute" }],
"dot-notation": "error",
"eqeqeq": ["error"],
"@typescript-eslint/explicit-function-return-type": "error",
"getter-return": "error",
"indent": ["error", 2, { "SwitchCase": 1 }],
"max-len": ["error", 140],
"max-lines": ["warn", { "max": 1500, "skipBlankLines": true, "skipComments": true }],
"max-lines-per-function": ["warn", { "max": 10, "skipBlankLines": true, "skipComments": true }],
"max-statements": ["warn", 10],
"no-alert": "error",
"no-bitwise": "warn",
"no-compare-neg-zero": "error",
"@angular-eslint/no-conflicting-lifecycle": "error",
"no-console": ["error"],
"no-const-assign": "error",
"no-debugger": "error",
"no-dupe-args": "error",
"no-dupe-class-members": "error",
"no-dupe-else-if": "error",
"no-dupe-keys": "error",
"no-duplicate-case": "error",
"no-duplicate-imports": "error",
"no-empty": ["error", { "allowEmptyCatch": true }],
"no-empty-function": "error",
"@angular-eslint/no-empty-lifecycle-method": "error",
"no-eval": "warn",
"no-extra-semi": "error",
"jasmine/no-focused-tests": 2,
"jasmine/no-disabled-tests": 2,
"no-irregular-whitespace": "error",
"no-lonely-if": "error",
"no-multi-spaces": ["error", { "ignoreEOLComments": false }],
"no-multiple-empty-lines": ["error", { "max": 1 }],
"no-restricted-imports": ["error", "rxjs/Rx", "fs"],
"no-self-assign": "error",
"no-self-compare": "error",
"no-setter-return": "error",
"no-sparse-arrays": "error",
"no-template-curly-in-string": "error",
"no-throw-literal": "error",
"no-trailing-spaces": "error",
"no-unreachable": "error",
"no-unreachable-loop": "error",
"no-unsafe-optional-chaining": "error",
"no-unused-expressions": "error",
"@typescript-eslint/no-unused-vars": ["error", { "argsIgnorePattern": "^_" }],
"no-use-before-define": ["error", { "functions": false, "classes": false, "variables": true, "allowNamedExports": false }],
"no-whitespace-before-property": ["error"],
"object-curly-spacing": ["error", "always"],
"prefer-const": "error",
"quotes": ["error", "single"],
"radix": "off",
"require-jsdoc": ["error", {"require": {"FunctionDeclaration": false, "MethodDefinition": true, "ClassDeclaration": false, "ArrowFunctionExpression": false, "FunctionExpression": true}}],
"semi": ["error", "always"],
"use-isnan": ["error", { "enforceForSwitchCase": true }],
"@angular-eslint/use-lifecycle-interface": "error",
"@angular-eslint/use-pipe-transform-interface": "error",
"valid-typeof": "error"
}
},
{
Expand Down
Loading