Skip to content
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

feat: Implement onUnreachableCodePathStart/End #17511

Merged
merged 34 commits into from Sep 7, 2023
Merged

feat: Implement onUnreachableCodePathStart/End #17511

merged 34 commits into from Sep 7, 2023

Commits on Aug 29, 2023

  1. feat: Implement onUnreachableCodePathStart/End

    refs # 17457
    nzakas committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    ecc2dcc View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2023

  1. Finish up onUnreachable* work

    nzakas committed Aug 30, 2023
    Configuration menu
    Copy the full SHA
    a402c0f View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2023

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

Commits on Sep 5, 2023

  1. Update lib/rules/no-unreachable.js

    Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
    nzakas and mdjermanovic committed Sep 5, 2023
    Configuration menu
    Copy the full SHA
    f0a093b View commit details
    Browse the repository at this point in the history
  2. Update lib/rules/no-unreachable.js

    Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
    nzakas and mdjermanovic committed Sep 5, 2023
    Configuration menu
    Copy the full SHA
    b99db3b View commit details
    Browse the repository at this point in the history
  3. Update tests/lib/linter/code-path-analysis/code-path-analyzer.js

    Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
    nzakas and mdjermanovic committed Sep 5, 2023
    Configuration menu
    Copy the full SHA
    9e2b95c View commit details
    Browse the repository at this point in the history
  4. Incorporate feedback

    nzakas committed Sep 5, 2023
    Configuration menu
    Copy the full SHA
    363fd39 View commit details
    Browse the repository at this point in the history
  5. Clean up rules and docs

    nzakas committed Sep 5, 2023
    Configuration menu
    Copy the full SHA
    01d1214 View commit details
    Browse the repository at this point in the history
  6. Update docs

    nzakas committed Sep 5, 2023
    Configuration menu
    Copy the full SHA
    569175b View commit details
    Browse the repository at this point in the history
  7. Fix code example

    nzakas committed Sep 5, 2023
    Configuration menu
    Copy the full SHA
    b5b9a6a View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2023

  1. Update docs/src/extend/code-path-analysis.md

    Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
    nzakas and mdjermanovic committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    b465903 View commit details
    Browse the repository at this point in the history
  2. Update docs/src/extend/code-path-analysis.md

    Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
    nzakas and mdjermanovic committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    0c6ffca View commit details
    Browse the repository at this point in the history
  3. Update docs/src/extend/code-path-analysis.md

    Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
    nzakas and mdjermanovic committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    9d7c6c7 View commit details
    Browse the repository at this point in the history
  4. Update lib/rules/consistent-return.js

    Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
    nzakas and mdjermanovic committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    e044654 View commit details
    Browse the repository at this point in the history
  5. Update lib/rules/no-this-before-super.js

    Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
    nzakas and mdjermanovic committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    110f752 View commit details
    Browse the repository at this point in the history
  6. Fix examples

    nzakas committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    5544ba2 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    7ec047b View commit details
    Browse the repository at this point in the history
  8. Update config

    nzakas committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    a945062 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    99e2ef8 View commit details
    Browse the repository at this point in the history
  10. test: replace Karma with Webdriver.IO (#17126)

    * test: replace Karma with Webdriver.IO
    
    The current test framework for browser testing (Karma) is not maintained anymore and WebdriverIO provides a more modern stack that allows to test in different browser.
    
    This patch replaces these test frameworks.
    
    fixes: #17009
    
    * update webdriverio deps
    
    * PR feedback
    
    * adjust tests
    
    * build eslint before running tests
    
    * make test file an esm file
    
    * revert more esm changes
    
    * make it work
    
    * remove return value
    
    * custom log dir for wdio tests
    
    * auto detect chromedriver
    
    * bump timeout, store logs
    
    * bump timeout again
    
    * update wdio deps
    
    * update wdio deps
    
    * set log level to trace
    
    * update wdio deps and unskip tests
    
    * no need to have this be an async test
    
    * update deps
    
    * make path spec file explicit
    
    * remove Chromedriver deps
    
    * removed wdio command
    christian-bromann authored and nzakas committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    5972899 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    6b69804 View commit details
    Browse the repository at this point in the history
  12. docs: Update README

    GitHub Actions Bot authored and nzakas committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    549f4a5 View commit details
    Browse the repository at this point in the history
  13. docs: add typescript template (#17500)

    * docs: add typescript template
    
    * fix: formatting
    
    * chore: update docs with AndreaPontrandolfo's findings
    
    * Update no-import-assign.md
    
    * chore: update no-redeclare
    
    * fix: update TS code numbers
    
    * feat: cleanup typescript error codes
    
    * Update docs/src/_includes/layouts/doc.html
    
    Co-authored-by: Nicholas C. Zakas <nicholas@humanwhocodes.com>
    
    * Update docs/src/rules/no-redeclare.md
    
    Co-authored-by: Nicholas C. Zakas <nicholas@humanwhocodes.com>
    
    * Update docs/src/rules/no-import-assign.md
    
    Co-authored-by: Nicholas C. Zakas <nicholas@humanwhocodes.com>
    
    * Update docs/src/rules/no-invalid-this.md
    
    Co-authored-by: Nicholas C. Zakas <nicholas@humanwhocodes.com>
    
    * fix: formatting error
    
    ---------
    
    Co-authored-by: Nicholas C. Zakas <nicholas@humanwhocodes.com>
    Zamiell and nzakas committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    04d7ae4 View commit details
    Browse the repository at this point in the history
  14. feat: add new enforce option to lines-between-class-members (#17462)

    * feat: add new \`enforce\` option (`lines-between-class-members`)
    
    * test: add cases for enforce with exceptAfterSingleLine option
    
    * docs: add `enforce` option
    
    * docs: fix example
    
    * fix: update schema to make enforce option required
    
    * refactor: remove redundant if condition
    
    * refactor: remove redundant if condition
    
    * docs: add suggestions
    
    Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
    
    * test: add cases where multiple config objects match a pair
    
    ---------
    
    Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
    2 people authored and nzakas committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    4bf7ce7 View commit details
    Browse the repository at this point in the history
  15. feat: Emit deprecation warnings in RuleTester (#17527)

    * feat: Emit deprecation warnings in RuleTester
    
    Emits deprecation warnings when using methods on `context` that are
    deprecated.
    
    Refs #17520
    
    * Revert flat-rule-tester
    
    * Fix linting error
    nzakas committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    fd2a909 View commit details
    Browse the repository at this point in the history
  16. ci: bump actions/checkout from 3 to 4 (#17530)

    Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
    - [Release notes](https://github.com/actions/checkout/releases)
    - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
    - [Commits](actions/checkout@v3...v4)
    
    ---
    updated-dependencies:
    - dependency-name: actions/checkout
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored and nzakas committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    d2137ec View commit details
    Browse the repository at this point in the history
  17. docs: update no-promise-executor-return examples (#17529)

    * docs: update `no-promise-executor-return` examples
    
    * docs: update example
    snitin315 authored and nzakas committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    929dd4d View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    d350fa9 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    a10206d View commit details
    Browse the repository at this point in the history
  20. Fix lint warning

    nzakas committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    b52d2a3 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2023

  1. Update docs/src/extend/code-path-analysis.md

    Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
    nzakas and mdjermanovic committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    a352a8f View commit details
    Browse the repository at this point in the history
  2. Update docs/src/extend/code-path-analysis.md

    Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
    nzakas and mdjermanovic committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    6405e23 View commit details
    Browse the repository at this point in the history
  3. Update docs/src/extend/code-path-analysis.md

    Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
    nzakas and mdjermanovic committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    0acea65 View commit details
    Browse the repository at this point in the history
  4. Fix test

    nzakas committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    e444a69 View commit details
    Browse the repository at this point in the history