Skip to content

Commit

Permalink
Remove explicit type anotations for inferrable types (#293)
Browse files Browse the repository at this point in the history
* Remove explicit type anotations for inferrable types

Refer conversation in #291 for information about this change

* Update eslint config to silence no-inferrable-types error

* Add lint rule to maintainers eslint
  • Loading branch information
Roshanjossey authored and SleeplessByte committed Oct 21, 2019
1 parent 604952a commit ff3f7d1
Show file tree
Hide file tree
Showing 178 changed files with 53,071 additions and 45,146 deletions.
5 changes: 5 additions & 0 deletions common/.eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@
], // Prevent bugs
"@typescript-eslint/explicit-member-accessibility": "off", // Styling not forced upon the student
"@typescript-eslint/indent": "off", // Styling not forced upon the student
"@typescript-eslint/no-inferrable-types": [
"error", {
"ignoreParameters": true
}
],
"@typescript-eslint/member-delimiter-style": "off", // Styling not forced upon the student
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-parameter-properties": [
Expand Down
1,111 changes: 598 additions & 513 deletions common/yarn.lock

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions exercises/accumulate/.eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@
], // Prevent bugs
"@typescript-eslint/explicit-member-accessibility": "off", // Styling not forced upon the student
"@typescript-eslint/indent": "off", // Styling not forced upon the student
"@typescript-eslint/no-inferrable-types": [
"error", {
"ignoreParameters": true
}
],
"@typescript-eslint/member-delimiter-style": "off", // Styling not forced upon the student
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-parameter-properties": [
Expand Down
1,111 changes: 598 additions & 513 deletions exercises/accumulate/yarn.lock

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions exercises/acronym/.eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@
], // Prevent bugs
"@typescript-eslint/explicit-member-accessibility": "off", // Styling not forced upon the student
"@typescript-eslint/indent": "off", // Styling not forced upon the student
"@typescript-eslint/no-inferrable-types": [
"error", {
"ignoreParameters": true
}
],
"@typescript-eslint/member-delimiter-style": "off", // Styling not forced upon the student
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-parameter-properties": [
Expand Down
1,111 changes: 598 additions & 513 deletions exercises/acronym/yarn.lock

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions exercises/all-your-base/.eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@
], // Prevent bugs
"@typescript-eslint/explicit-member-accessibility": "off", // Styling not forced upon the student
"@typescript-eslint/indent": "off", // Styling not forced upon the student
"@typescript-eslint/no-inferrable-types": [
"error", {
"ignoreParameters": true
}
],
"@typescript-eslint/member-delimiter-style": "off", // Styling not forced upon the student
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-parameter-properties": [
Expand Down
Loading

0 comments on commit ff3f7d1

Please sign in to comment.