Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: typescript-eslint/typescript-eslint
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v4.8.2
Choose a base ref
...
head repository: typescript-eslint/typescript-eslint
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v4.9.0
Choose a head ref
  • 19 commits
  • 80 files changed
  • 9 contributors

Commits on Nov 24, 2020

  1. Configuration menu
    Copy the full SHA
    a8227a6 View commit details
    Browse the repository at this point in the history
  2. feat(eslint-plugin): [naming-convention] split property and `method…

    …` selectors into more granular `classXXX`, `objectLiteralXXX`, `typeXXX` (#2807)
    
    Fixes #1477
    Closes #2802
    
    This allows users to target different types of properties differently.
    
    Adds the following selectors (self explanatory - just breaking the selectors up):
    
    - `classProperty`
    - `objectLiteralProperty`
    - `typeProperty`
    - `classMethod`
    - `objectLiteralMethod`
    - `typeMethod`
    
    For backwards compatibility, also converts
    - `property` to a meta selector for `classProperty`, `objectLiteralProperty`, `typeProperty`
    - `method` to a meta selector for `classMethod`, `objectLiteralMethod`, `typeMethod`
    bradzacher authored Nov 24, 2020
    Configuration menu
    Copy the full SHA
    665b6d4 View commit details
    Browse the repository at this point in the history
  3. feat(eslint-plugin): [naming-convention] add modifiers exported, `g…

    …lobal`, and `destructured` (#2808)
    
    Fixes #2239
    Fixes #2512
    Fixes #2318
    Closes #2802
    
    Adds the following modifiers:
    - `exported` - matches anything that is exported from the module.
    - `global` - matches a variable/function declared in the top-level scope.
    - `destructured` - matches a variable declared via an object destructuring pattern (`const {x, z = 2}`).
    bradzacher authored Nov 24, 2020
    Configuration menu
    Copy the full SHA
    fb254a1 View commit details
    Browse the repository at this point in the history
  4. docs: update supported TS versions to include 4.1 (#2806)

    The support for TS 4.1 features was added in #2748
    trivikr authored Nov 24, 2020
    Configuration menu
    Copy the full SHA
    14bdc2e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    fa68492 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    6a06944 View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2020

  1. feat(eslint-plugin): [naming-convention] add requireDouble, `allowD…

    …ouble`, `allowSingleOrDouble` options for underscores (#2812)
    bradzacher authored Nov 25, 2020
    Configuration menu
    Copy the full SHA
    dd0576a View commit details
    Browse the repository at this point in the history
  2. feat(eslint-plugin): [naming-convention] add requiresQuotes modifier (

    #2813)
    
    Fixes #2761
    Fixes #1483
    
    This modifier simply matches any member name that requires quotes.
    To clarify: this does not match names that have quotes - only names that ***require*** quotes.
    bradzacher authored Nov 25, 2020
    Configuration menu
    Copy the full SHA
    6fc8409 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    05c9bed View commit details
    Browse the repository at this point in the history
  4. fix(eslint-plugin): [consistent-type-imports] crash when using both d…

    …efault and namespace in one import (#2778)
    ota-meshi authored Nov 25, 2020
    Configuration menu
    Copy the full SHA
    c816b84 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    32b1b68 View commit details
    Browse the repository at this point in the history
  6. fix(eslint-plugin): [explicit-module-boundary-types] ignore functions…

    … exported within typed object/array literals (#2805)
    pvanagtmaal authored Nov 25, 2020
    Configuration menu
    Copy the full SHA
    73a63ee View commit details
    Browse the repository at this point in the history
  7. fix(eslint-plugin): [consistent-indexed-object-style] convert readonl…

    …y index signature to readonly record (#2798)
    ryym authored Nov 25, 2020
    Configuration menu
    Copy the full SHA
    29428a4 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    878dd4a View commit details
    Browse the repository at this point in the history
  9. chore(eslint-plugin): [naming-convention] refactor rule to split it up (

    #2816)
    
    The rule file was up to 1700 LOC.
    It was a pain in the butt to scroll around it and find pieces.
    I'm pretty sure ESLint / TypeScript gets a bit choked up on a file that large as well (I've been running into all sorts of slowness with it).
    
    So simply isolate each part into a module to better separate things and reduce the total LOC per file.
    
    Also moved some stuff around in the docs to try and focus each section, and add an FAQ section for the misc stuff
    bradzacher authored Nov 25, 2020
    Configuration menu
    Copy the full SHA
    14758d2 View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2020

  1. fix(typescript-estree): add default value for `parserOptions.projectF…

    …olderIgnoreList` and deduplicate resolved projects (#2819)
    
    In #2418 I introduced a regression - I forgot to add in the default value for `projectFolderIgnoreList`.
    This means that globs have been matching `node_modules` since the v4.0 release! Oops :(
    
    This PR fixes that.
    It also hoists the tsconfig path canonicalisation up so that we can deduplicate early.
    Previously if you provided a config like `projects: ['./tsconfig.json', './**/tsconfig.json']`, then we would resolve this to `./tsconfig.json` and `tsconfig.json`, then later canonicalise them.
    This meant we'd check that same tsconfig twice!
    By hoisting the canonicalisation, we can deduplicate this early.
    
    Fixes #2814
    bradzacher authored Nov 26, 2020
    Configuration menu
    Copy the full SHA
    bf904ec View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2020

  1. fix(eslint-plugin): [no-use-before-define] allow class references if …

    …they're within a class decorator (#2827)
    
    Fixes #2842
    bradzacher authored Nov 29, 2020
    Configuration menu
    Copy the full SHA
    050023a View commit details
    Browse the repository at this point in the history

Commits on Nov 30, 2020

  1. feat(eslint-plugin): [naming-convention] allow destructured modifie…

    …r for `parameter` selector (#2829)
    
    Fixes #2828
    bradzacher authored Nov 30, 2020
    Configuration menu
    Copy the full SHA
    525d2ff View commit details
    Browse the repository at this point in the history
  2. chore: publish v4.9.0

    JamesHenry committed Nov 30, 2020
    Configuration menu
    Copy the full SHA
    f714911 View commit details
    Browse the repository at this point in the history
Loading