Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

New Rule: max-file-line-count #1360

Merged
merged 20 commits into from
Jul 26, 2016
Merged

New Rule: max-file-line-count #1360

merged 20 commits into from
Jul 26, 2016

Commits on Jun 24, 2016

  1. Configuration menu
    Copy the full SHA
    6838d23 View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2016

  1. Configuration menu
    Copy the full SHA
    203f039 View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2016

  1. Configuration menu
    Copy the full SHA
    c09bada View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f8c0b7b View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2016

  1. Update no-mergeable-namespace ruleName (#1361)

    corydeppen authored and Chris Barr committed Jul 25, 2016
    Configuration menu
    Copy the full SHA
    7ac697c View commit details
    Browse the repository at this point in the history
  2. Update no-unused-variable rule to have better failure messages (#1362)

    Now when something is unused it fails with a specific message about what it is, instead of just calling everything a "variable".
    
    The types that can be reported are:
    * function 🆕
    * import 🆕
    * parameter 🆕
    * property 🆕
    * variable
    ChrisMBarr authored and Chris Barr committed Jul 25, 2016
    Configuration menu
    Copy the full SHA
    c55504e View commit details
    Browse the repository at this point in the history
  3. Add ordered-imports rule to tslint:latest config (#1367)

    jkillian authored and Chris Barr committed Jul 25, 2016
    Configuration menu
    Copy the full SHA
    c02ed23 View commit details
    Browse the repository at this point in the history
  4. Prepare Release v3.13.0 (#1369)

    jkillian authored and Chris Barr committed Jul 25, 2016
    Configuration menu
    Copy the full SHA
    4639ad5 View commit details
    Browse the repository at this point in the history
  5. Order imports so build passes (#1370)

    jkillian authored and Chris Barr committed Jul 25, 2016
    Configuration menu
    Copy the full SHA
    8254c88 View commit details
    Browse the repository at this point in the history
  6. Allow implicit whitespace separation between tslint:enable/disable an…

    …d rules list (#1352)
    
    Fixes #1269
    lowkay authored and Chris Barr committed Jul 25, 2016
    Configuration menu
    Copy the full SHA
    c648524 View commit details
    Browse the repository at this point in the history
  7. Updated contsructors with property parameters (#1373)

    bencoveney authored and Chris Barr committed Jul 25, 2016
    Configuration menu
    Copy the full SHA
    0f8c851 View commit details
    Browse the repository at this point in the history
  8. Add optional type information to rules (#1363)

    Addresses #1323.
    
    * Changed `Linter` to accept an optional program object in the constructor
      * Added helper functions for creating a program using a tsconfig and getting relevant files
    * Created `TypedRule` class which receives the program object
      * Rules extending this class must implement `applyWithProgram`
      * `Linter` passes program to `TypedRule`s if available
      * Calling `apply` on a `TypedRule` throws an error
    * Added `requiresTypeInfo` boolean to metadata
    * Created `ProgramAwareRuleWalker` which walks with the program / typechecker
    * Added cli options `--project` and `--type-check`
      * `--project` takes a `tsconfig.json` file
      * `--type-check` enables type checking and `TypedRule`s, requires `--project`
    * Added an example `restrictPlusOperands` rule and tests that uses types
    ScottSWu authored and Chris Barr committed Jul 25, 2016
    Configuration menu
    Copy the full SHA
    95ce8ab View commit details
    Browse the repository at this point in the history
  9. Revert changes made to findup-sync during refactoring now that TS pro…

    …prtly supports module targets (#1388)
    weswigham authored and Chris Barr committed Jul 25, 2016
    Configuration menu
    Copy the full SHA
    71e4b94 View commit details
    Browse the repository at this point in the history
  10. Add linterOptions to tslint.json (#1403)

    * Add linterOptions to tslint.json
    
    - only enable type checking during tests when typeCheck: true is configured
    - fixes #1402
    
    * Code style
    adidahiya authored and Chris Barr committed Jul 25, 2016
    Configuration menu
    Copy the full SHA
    3478300 View commit details
    Browse the repository at this point in the history
  11. Add new Rule: arrow-parens (#1384)

    * Add new Rule: arrow-parens
    
    * Add test
    
    * modify some documentations
    YuichiNukiyama authored and Chris Barr committed Jul 25, 2016
    Configuration menu
    Copy the full SHA
    ce6b209 View commit details
    Browse the repository at this point in the history
  12. Core object-literal-key-quotes rule (#1364)

    * Core quote-props rule
    
    * Tweaks for code review
    
    * rename
    danvk authored and Chris Barr committed Jul 25, 2016
    Configuration menu
    Copy the full SHA
    13dbcfb View commit details
    Browse the repository at this point in the history
  13. Implement rule to forbid return statements in finally blocks #1097 (#…

    …1349)
    
    * Implement rule to forbid return statements in finally blocks #1097
    
    * explore the try statement fully to pick up violations in nested scopes
    
    * switch to a scope aware rule walker to reduce number of passes over the AST
    
    * Add support for other control flow statements in finally blocks (break, continue, throws)
    
    * improve the rationale description for the no unsafe finally rule
    
    * rename rule to no-unsafe-finally to be inline with eslint
    
    * add new rule to latest config
    
    * pull out helper functions from the walker class.
    
    * fix tslint violations (which didn't occur locally)
    lowkay authored and Chris Barr committed Jul 25, 2016
    Configuration menu
    Copy the full SHA
    9be7665 View commit details
    Browse the repository at this point in the history
  14. task(formatter): added stylish formatter (#1406)

    * task(formatter): added stylish formatter
    
    * Support non-colors terminal in tests
    
    * fix(stylish): lint quotes
    
    * fix(stylish) 4 spaces indentation
    
    * fix(stylish): correct strpad amount
    
    * fix(stylish): test tuple position
    gjuchault authored and Chris Barr committed Jul 25, 2016
    Configuration menu
    Copy the full SHA
    f8f67ec View commit details
    Browse the repository at this point in the history
  15. Fixing suggestions

    Chris Barr committed Jul 25, 2016
    Configuration menu
    Copy the full SHA
    5b49b55 View commit details
    Browse the repository at this point in the history
  16. Merge branch 'master' into max-file-line-count-rule

    Chris Barr committed Jul 25, 2016
    Configuration menu
    Copy the full SHA
    9943f2a View commit details
    Browse the repository at this point in the history