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: move eslint --init to @eslint/create-config #15150

Merged
merged 5 commits into from Jan 9, 2022

Commits on Jan 8, 2022

  1. feat: move eslint --init to @eslint/create-config

    fixes eslint#14768, fixes eslint#15159
    
    Update: rm eslint auto config
    
    refs: https://github.com/aladdin-add/rfcs/blob/bdc12aa062750d837e5a3bbbf2f6e5e3a98da388/designs/2021-init-command-eslint-cli/README.md#1-remove-eslint-auto-config
    
    Update: mv eslint --init to another package
    
    moved `lib/init/config-rule` to tools, as it is also used by some others
    
    refs: https://github.com/aladdin-add/rfcs/blob/bdc12aa062750d837e5a3bbbf2f6e5e3a98da388/designs/2021-init-command-eslint-cli/README.md#2-move-eslint---init-related-files-to-a-separate-repo
    
    chore: fix imports to make test passing
    
    todo: use the new eslint api
    
    fix: use the new eslint api (async)
    
    fix: remove espree from deps
    
    chore: fix a failing test
    
    fix: a failing test
    
    chore: cleanup TODOs
    
    fix: allow to use local-installed eslint
    
    wip: fix one-var
    
    chore: lib => esm
    
    chore: tests => esm
    
    todo: proxyquire => td
    
    chore: update deps to latest
    
    fix: should write a file through fs when a ${fileType} path is passed
    
    replaced proxyquire & sinon => td
    
    fix: should include a newline character at EOF
    
    chore: add testdouble
    
    --wip-- [skip ci]
    
    chore: remove package @eslint/create-eslint
    
    feat: update npm --init to run `npm init @eslint/config`
    
    docs: update getting-started
    
    Update README.md
    
    Update getting-started.md
    
    chore: rm init fixtures
    
    fix: `npm init @eslint/config` output
    
    chore: rm unused files
    
    chore: rm unused deps
    
    Update bin/eslint.js
    
    Co-authored-by: Brandon Mills <btmills@users.noreply.github.com>
    
    chore: fix typo
    aladdin-add committed Jan 8, 2022
    Copy the full SHA
    8887cb2 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    62f6010 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    420c108 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    82baad0 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    70ef222 View commit details
    Browse the repository at this point in the history