-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tslint indent #1
Tslint indent #1
Commits on Dec 19, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 3ca9f8c - Browse repository at this point
Copy the full SHA 3ca9f8cView commit details
Commits on Dec 23, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 3c702fb - Browse repository at this point
Copy the full SHA 3c702fbView commit details
Commits on Jan 2, 2018
-
Configuration menu - View commit details
-
Copy full SHA for cfa76a2 - Browse repository at this point
Copy the full SHA cfa76a2View commit details
Commits on Jan 5, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 88d6a14 - Browse repository at this point
Copy the full SHA 88d6a14View commit details
Commits on Jan 8, 2018
-
Configuration menu - View commit details
-
Copy full SHA for a7f0537 - Browse repository at this point
Copy the full SHA a7f0537View commit details
Commits on Jan 9, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 08441bf - Browse repository at this point
Copy the full SHA 08441bfView commit details -
refactor: removed 'export = Linter` in linter.ts (palantir#3438)
[no-log] This doesn't change our public API.
Configuration menu - View commit details
-
Copy full SHA for 5155583 - Browse repository at this point
Copy the full SHA 5155583View commit details -
no-unsafe-any: allow object spread (palantir#3439)
[bugfix] `no-unsafe-any` allows spreading an `any`-value into an object
Configuration menu - View commit details
-
Copy full SHA for 6dfa0f6 - Browse repository at this point
Copy the full SHA 6dfa0f6View commit details -
callable-types: add parens inside ArrayType (palantir#3440)
[bugfix] `callable-types` adds parentheses when fixing a type literal inside an array type
Configuration menu - View commit details
-
Copy full SHA for 93fef3a - Browse repository at this point
Copy the full SHA 93fef3aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5256228 - Browse repository at this point
Copy the full SHA 5256228View commit details -
launch.json: show stdout in debug console (palantir#3464)
Fixes: palantir#3457 Supersedes: palantir#3458
Configuration menu - View commit details
-
Copy full SHA for e2d929d - Browse repository at this point
Copy the full SHA e2d929dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c29dd9 - Browse repository at this point
Copy the full SHA 4c29dd9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9bfc582 - Browse repository at this point
Copy the full SHA 9bfc582View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a9f177 - Browse repository at this point
Copy the full SHA 7a9f177View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a2bfbd - Browse repository at this point
Copy the full SHA 7a2bfbdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 18fc973 - Browse repository at this point
Copy the full SHA 18fc973View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b853b2 - Browse repository at this point
Copy the full SHA 8b853b2View commit details
Commits on Jan 10, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 82bf779 - Browse repository at this point
Copy the full SHA 82bf779View commit details -
Configuration menu - View commit details
-
Copy full SHA for ef28083 - Browse repository at this point
Copy the full SHA ef28083View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4117f16 - Browse repository at this point
Copy the full SHA 4117f16View commit details -
Configuration menu - View commit details
-
Copy full SHA for d9e20be - Browse repository at this point
Copy the full SHA d9e20beView commit details -
Configuration menu - View commit details
-
Copy full SHA for b0061e7 - Browse repository at this point
Copy the full SHA b0061e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for b5ebb9f - Browse repository at this point
Copy the full SHA b5ebb9fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b8a737 - Browse repository at this point
Copy the full SHA 2b8a737View commit details -
Configuration menu - View commit details
-
Copy full SHA for a4dc874 - Browse repository at this point
Copy the full SHA a4dc874View commit details -
Configuration menu - View commit details
-
Copy full SHA for 235561e - Browse repository at this point
Copy the full SHA 235561eView commit details
Commits on Apr 1, 2018
-
Remove buffers
noAssert
argument (palantir#3770)The support for the `noAssert` argument dropped in the upcoming Node.js version 10.x and the argument should be removed therefore.
Configuration menu - View commit details
-
Copy full SHA for f1b0896 - Browse repository at this point
Copy the full SHA f1b0896View commit details
Commits on Apr 2, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 01cf478 - Browse repository at this point
Copy the full SHA 01cf478View commit details -
Update index.md (palantir#3773)
JSON cannot have dangling comma
Configuration menu - View commit details
-
Copy full SHA for 569d8da - Browse repository at this point
Copy the full SHA 569d8daView commit details
Commits on Apr 5, 2018
-
Improve documentation of cli flag --project (palantir#3703)
The current documentation of the cli flag `--project` is a little confusing as to which the path of a file or the path of a directory can be specified. As both are valid options, updating the documentation to make it clear that either the path to a `tsconfig.json` file or the path to a directory containing a `tsconfig.json` file can be specified.
Configuration menu - View commit details
-
Copy full SHA for 8716315 - Browse repository at this point
Copy the full SHA 8716315View commit details -
Configuration menu - View commit details
-
Copy full SHA for b381eab - Browse repository at this point
Copy the full SHA b381eabView commit details -
Configuration menu - View commit details
-
Copy full SHA for 124311b - Browse repository at this point
Copy the full SHA 124311bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2bb6aa9 - Browse repository at this point
Copy the full SHA 2bb6aa9View commit details -
Update for docs/usage/configuration/index.md (palantir#3661)
Added fix for text issue
Configuration menu - View commit details
-
Copy full SHA for f904497 - Browse repository at this point
Copy the full SHA f904497View commit details -
Added 2 (+/-1) sentence rationales for 2/3 of rules (palantir#3734)
* Added a couple extra docs lines to align * Added a couple extra docs lines to arrow-return-shorthand * Added a couple extra docs lines to await-promise * Added a couple extra docs lines to binary-expression-operand-order * Added a couple extra docs to class-name * Added a couple extra docs to completed-docs * Added another doc line to cyclomatic-complexity * Switch link to https in eofline * Added a couple extra docs to for-in * Added a couple extra docs to member-access * Added a couple extra docs to member-ordering * Added a couple extra docs to no-any * Added a couple extra docs to no-boolean-literal-compare * Added a couple extra docs to no-consecutive-blank-lines * Added a couple extra docs to no-dynamic-delete * Added a couple extra docs to no-floating-promises * Added a couple extra docs to no-inferred-empty-object-type * Added a brief rationale to no-invalid-template-strings-rule * Typo correction on no-magic-numbers * Added a couple extra docs to no-misused-new * Added a couple extra docs to no-non-null-assertion * Added a couple extra docs to no-null-keyword * Added a couple extra docs to no-parameter-properties * Added a couple extra docs to no-shadowed-variable * Added a couple extra docs to no-string-throw * Added a couple extra docs to no-this-assignment * Added a couple extra docs to no-unbound-method * Added a couple extra docs to no-unnecessary-callback-wrapper * Added a couple extra docs to no-unnecessary-initializer * Added a couple extra docs to no-unsafe-any * Added a couple extra docs to no-unused-variable * Added a couple extra docs to no-var-keyword * Added a couple extra docs to no-var-requires * Added a couple extra docs to no-void-expression * Added a couple extra docs to number-literal-format * Missing dedent in no-non-null-assertion
Configuration menu - View commit details
-
Copy full SHA for 42b058a - Browse repository at this point
Copy the full SHA 42b058aView commit details
Commits on Apr 6, 2018
-
Build tslint with TypeScript 2.7.2. (palantir#3819)
* Build tslint with TypeScript 2.7.2. Updates the package.json, fixes some compiler issues where some typescript APIs changed, and makes 2 rules work under 2.7.2. * Fixes from code review. Fixed a lint issue (' => "). Actually checked for undefined, instead of just asserting.
Configuration menu - View commit details
-
Copy full SHA for 8e13390 - Browse repository at this point
Copy the full SHA 8e13390View commit details
Commits on Apr 7, 2018
-
promise-function-async: add options to specify function types to chec…
…k. (palantir#3807) This is useful if you only want your function and method declarations to warn, or in other words, one doesn't want each arrow function that is passed to Promise#then() or Promise#catch() to be async.
Configuration menu - View commit details
-
Copy full SHA for 375de6d - Browse repository at this point
Copy the full SHA 375de6dView commit details
Commits on Apr 9, 2018
-
Configuration menu - View commit details
-
Copy full SHA for c89e0a7 - Browse repository at this point
Copy the full SHA c89e0a7View commit details
Commits on Apr 16, 2018
-
Clarified lint message "All imports are unused." (palantir#3831)
Changed to: "All imports on this line are unused"
Configuration menu - View commit details
-
Copy full SHA for e27439f - Browse repository at this point
Copy the full SHA e27439fView commit details -
Updated max-line-length ignore-pattern example (palantir#3834)
The example uses: ``` class [a-zA-Z] implements ``` but this only matches a class that has a single character as name. Even if it is an example, the rule should accept more than one character for the class name. I struggled with this ignore pattern in a project, because I didn't read the pattern itself completely. Therefore I want to give this feedback, such that other people don't have to search for the reason of a failing rule, like me.
Configuration menu - View commit details
-
Copy full SHA for fb0da64 - Browse repository at this point
Copy the full SHA fb0da64View commit details
Commits on Apr 18, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 0c24e91 - Browse repository at this point
Copy the full SHA 0c24e91View commit details
Commits on Apr 19, 2018
-
[docs] adds optional capability to provide code examples in rules' me…
…tadata (palantir#3602) * codeExample support init implementation * dedent/markdown errors need revisting * updates to new code example scheme as per ajafff * reverts prettier style updates in curly * curly docs he -> they * ICodeExample config type any -> string * Code example blocks now color-coded according to pass/fail (grn/red) * updates to buildDocs * gemfile.lock??; removes unnecessary html/scss * removes site dist * moving code examples to dedicated dir to avoid bloat in rule files * removing _site dir
Configuration menu - View commit details
-
Copy full SHA for 5c86dd4 - Browse repository at this point
Copy the full SHA 5c86dd4View commit details
Commits on Apr 26, 2018
-
* fix non-no-unused-variable tests * Fix no-unused-variables tests and modify logic in noUnusedVariableRule for TS2.8 support Logic had to be modified because starting from TS2.8, when all imports in an import node are not used, TS emits only 1 diagnostic object for the whole line as opposed to the previous behavior of outputting a diagnostic with kind == 6192 (UnusedKind.VARIABLE_OR_PARAMETER) for every unused import. * fix lint issue * hack/fix check-parameters test for 2.9-dev * add builds for ts 2.7 and 2.8 * fix tests that broke from diagnosis codes changing in 2.9
Configuration menu - View commit details
-
Copy full SHA for a7be726 - Browse repository at this point
Copy the full SHA a7be726View commit details -
Removed *nix-only comment from package.json (palantir#3858)
It feels self-evident that `lint:global` as a task would lint everything with the global TSLint install.
Configuration menu - View commit details
-
Copy full SHA for f399c3c - Browse repository at this point
Copy the full SHA f399c3cView commit details -
[new-fixer]: Add space before comment message fixer (palantir#3845)
* [new-fixer]: Add space before comment message fixer * Add space-before-comment test
Configuration menu - View commit details
-
Copy full SHA for 6bc44a2 - Browse repository at this point
Copy the full SHA 6bc44a2View commit details -
Added rule+file-specific error messages to rule crashes (palantir#3836)
* Added rule+file-specific error messages to rule crashes It's not clear where tests for this should live. Would you like me to add some, and if so where? * Added endline; no more unnecessary duplication
Configuration menu - View commit details
-
Copy full SHA for 49399eb - Browse repository at this point
Copy the full SHA 49399ebView commit details
Commits on May 1, 2018
-
Adding documentation example to deprecationRule (palantir#3848)
This adds documentation example to the deprecation rule.
Configuration menu - View commit details
-
Copy full SHA for 37dddca - Browse repository at this point
Copy the full SHA 37dddcaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9af0b65 - Browse repository at this point
Copy the full SHA 9af0b65View commit details -
[docs] no-string-throw: add missing examples. (palantir#3701)
* [docs] no-string-throw: add missing examples. * [docs] no-string-throw: examples for rationale. * Code example section for no-string-throw.
Configuration menu - View commit details
-
Copy full SHA for 921bd43 - Browse repository at this point
Copy the full SHA 921bd43View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0503f6d - Browse repository at this point
Copy the full SHA 0503f6dView commit details -
no-unbound-method: add another exception (palantir#3610)
Reading a property with square brackets, though rare, should be allowed because it won't be effected by an unbound this.
Configuration menu - View commit details
-
Copy full SHA for f47aeb3 - Browse repository at this point
Copy the full SHA f47aeb3View commit details
Commits on May 2, 2018
-
Fix completed-docs rule (palantir#3868)
- Fixes building of master - Add escaping to backticks introduced in palantir#3823
Configuration menu - View commit details
-
Copy full SHA for 7682184 - Browse repository at this point
Copy the full SHA 7682184View commit details
Commits on May 3, 2018
-
[new-rule]prefer-while rule (palantir#3750)
* prefer-while rule Implements prefer-while rule in place of a for loop without an initializer and incrementer * renamed failure object creation method * fix json test file indentatons * Address review comments - Use isForStatement from tsutils - Update failure string to be more descriptive - Updated test messages * remove uneccessary type assertion - assertion now uneccessary with using isForStatement from tsutils * Add rationale field to prefer-while rule metadata * Use 'let' instead of 'const' in test * Update rule description & failure string - Updated the description and failure string of prefer-while - Updated tests accordingly * Coalesce test cases - Combine test cases for 'bad' for loops and case for 'good' for loops - Remove unneeded files - Add comments to test cases * Add additional test cases - Added test case with incrmentor in body of loop - Added test case with += incrementor * Add code examples - Added code examples for prefer-while rule
Configuration menu - View commit details
-
Copy full SHA for baa413e - Browse repository at this point
Copy the full SHA baa413eView commit details -
Improve "no valid rules" error message to include file type (palantir…
…#3729) * Improve "no valid rules" error message to include file type * Lint
Configuration menu - View commit details
-
Copy full SHA for c86193f - Browse repository at this point
Copy the full SHA c86193fView commit details -
Excluded native JSX elements from no-unsafe-any (palantir#3699)
* Excluded native JSX elements from no-unsafe-any * Lint fix: double-apostrophe Interesting how TypeScript auto-added single-apostrophes... * ...almost working.. * Split no-unsafe-any into separate tests * Added test cases for fragments * Added case for TS2.1 and fragments
Configuration menu - View commit details
-
Copy full SHA for 93fd0ac - Browse repository at this point
Copy the full SHA 93fd0acView commit details -
Configuration menu - View commit details
-
Copy full SHA for ecab88c - Browse repository at this point
Copy the full SHA ecab88cView commit details
Commits on May 4, 2018
-
Configuration menu - View commit details
-
Copy full SHA for e181237 - Browse repository at this point
Copy the full SHA e181237View commit details -
Configuration menu - View commit details
-
Copy full SHA for 895fd6c - Browse repository at this point
Copy the full SHA 895fd6cView commit details