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: sveltejs/svelte-eslint-parser
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.6.1
Choose a base ref
...
head repository: sveltejs/svelte-eslint-parser
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref

Commits on Nov 28, 2021

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    d25a40f View commit details
  2. 0.7.0

    ota-meshi committed Nov 28, 2021
    Copy the full SHA
    541c38c View commit details
  3. Update dependency @ota-meshi/eslint-plugin-svelte to ^0.15.0 (#114)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Nov 28, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    3362107 View commit details

Commits on Nov 30, 2021

  1. Add AST property and improve AST type (#115)

    * Add AST property and improve AST type
    
    * update
    ota-meshi authored Nov 30, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    903f9bf View commit details
  2. 0.8.0

    ota-meshi committed Nov 30, 2021
    Copy the full SHA
    9d2a0ee View commit details
  3. Update dependency @ota-meshi/eslint-plugin-svelte to ^0.16.0 (#116)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Nov 30, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    c17f01a View commit details

Commits on Dec 5, 2021

  1. update

    ota-meshi committed Dec 5, 2021
    Copy the full SHA
    15c6677 View commit details
  2. Copy the full SHA
    5bd1c0a View commit details

Commits on Dec 6, 2021

  1. Update dependency @ota-meshi/eslint-plugin-svelte to ^0.17.0 (#117)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Dec 6, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    73281f5 View commit details

Commits on Dec 7, 2021

  1. add tests

    ota-meshi committed Dec 7, 2021
    Copy the full SHA
    1f1aa8a View commit details
  2. Fix test cases (#118)

    ota-meshi authored Dec 7, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    b525a83 View commit details
  3. Update dependency @ota-meshi/eslint-plugin-svelte to ^0.18.0 (#119)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Dec 7, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    9ced62b View commit details

Commits on Dec 8, 2021

  1. Fix error when {#await} with complex expression. (#121)

    * Fix error when `{#await}` with complex expression.
    
    * fix fixture
    ota-meshi authored Dec 8, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    4054e0a View commit details
  2. 0.9.0

    ota-meshi committed Dec 8, 2021
    Copy the full SHA
    4e4e85d View commit details

Commits on Dec 10, 2021

  1. Fix unnecessary references in scope (#122)

    * Fix unnecessary references in scope
    
    * fix
    ota-meshi authored Dec 10, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    8c7e72b View commit details
  2. 0.9.1

    ota-meshi committed Dec 10, 2021
    Copy the full SHA
    f955cb7 View commit details

Commits on Dec 11, 2021

  1. Copy the full SHA
    8bb2ac7 View commit details

Commits on Dec 13, 2021

  1. Minor refactor (#124)

    ota-meshi authored Dec 13, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    d130714 View commit details

Commits on Dec 14, 2021

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    be04a23 View commit details
  2. 0.9.2

    ota-meshi committed Dec 14, 2021
    Copy the full SHA
    387bb18 View commit details

Commits on Dec 15, 2021

  1. Update dependency monaco-editor to v0.31.1 (#126)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Dec 15, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    06a718f View commit details

Commits on Dec 24, 2021

  1. add funding

    ota-meshi committed Dec 24, 2021
    Copy the full SHA
    edf0207 View commit details
  2. Update dependency @ota-meshi/eslint-plugin-svelte to ^0.19.0 (#127)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Dec 24, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    fe6d555 View commit details

Commits on Jan 12, 2022

  1. Support for svelte v3.46 syntax (#128)

    * Support for svelte 3.46 syntax
    
    * style dir
    
    * fix
    ota-meshi authored Jan 12, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    a510468 View commit details
  2. 0.10.0

    ota-meshi committed Jan 12, 2022
    Copy the full SHA
    15cabbf View commit details
  3. Fix site

    ota-meshi committed Jan 12, 2022
    Copy the full SHA
    ca37203 View commit details
  4. Update site

    ota-meshi committed Jan 12, 2022
    Copy the full SHA
    8d538b3 View commit details
  5. fix site

    ota-meshi committed Jan 12, 2022
    Copy the full SHA
    550ad6d View commit details
  6. Update dependency @ota-meshi/eslint-plugin-svelte to ^0.20.0 (#129)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Jan 12, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    4d86de9 View commit details

Commits on Jan 13, 2022

  1. Support for svelte v3.46.1 and change AST (#130)

    * Support for svelte v3.46.1
    
    * fix
    ota-meshi authored Jan 13, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    3204604 View commit details
  2. 0.11.0

    ota-meshi committed Jan 13, 2022
    Copy the full SHA
    07d2cf2 View commit details
  3. Update dependency @ota-meshi/eslint-plugin-svelte to ^0.21.0 (#131)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Jan 13, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    8e4a5c5 View commit details
  4. update config

    ota-meshi authored Jan 13, 2022
    Copy the full SHA
    ef6f0ad View commit details
  5. Update dependency @ota-meshi/eslint-plugin-svelte to ^0.22.0 (#132)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Jan 13, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    1f8b08a View commit details
  6. update wf config

    ota-meshi authored Jan 13, 2022
    Copy the full SHA
    3a74e72 View commit details
  7. fix

    ota-meshi authored Jan 13, 2022
    Copy the full SHA
    ca17edf View commit details

Commits on Jan 14, 2022

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    fb51cbe View commit details
  2. 0.12.0

    ota-meshi committed Jan 14, 2022
    Copy the full SHA
    1b0dc54 View commit details
  3. Update dependency @ota-meshi/eslint-plugin-svelte to ^0.23.0 (#134)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Jan 14, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    eb99307 View commit details
  4. Update dependency @ota-meshi/eslint-plugin-svelte to ^0.24.0 (#135)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Jan 14, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    8b551ad View commit details

Commits on Jan 15, 2022

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    145623c View commit details

Commits on Jan 21, 2022

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    d62c58e View commit details
  2. 0.13.0

    ota-meshi committed Jan 21, 2022
    Copy the full SHA
    d06cd21 View commit details
  3. fix site

    ota-meshi committed Jan 21, 2022
    Copy the full SHA
    8a07129 View commit details
  4. Update dependency @ota-meshi/eslint-plugin-svelte to ^0.26.0 (#139)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Jan 21, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    e0161b1 View commit details

Commits on Feb 4, 2022

  1. Copy the full SHA
    e2bc9db View commit details

Commits on Feb 5, 2022

  1. Repository maintenance

    ota-meshi committed Feb 5, 2022
    Copy the full SHA
    5f8103d View commit details
  2. Update README.md

    ota-meshi authored Feb 5, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    2442067 View commit details
  3. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    0412e91 View commit details
  4. Update dependency monaco-editor to v0.32.1 (#141)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Feb 5, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    9e690a5 View commit details
Showing 1,394 changed files with 699,141 additions and 46,497 deletions.
8 changes: 8 additions & 0 deletions .changeset/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Changesets

Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
with multi-package repos, or single-package repos to help you version and publish your code. You can
find the full documentation for it [in our repository](https://github.com/changesets/changesets)

We have a quick list of common questions to get you started engaging with this project in
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
16 changes: 16 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"$schema": "https://unpkg.com/@changesets/config/schema.json",
"changelog": [
"@changesets/changelog-github",
{
"repo": "sveltejs/svelte-eslint-parser"
}
],
"commit": false,
"linked": [],
"access": "restricted",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"bumpVersionsWithWorkspaceProtocolOnly": true,
"ignore": []
}
16 changes: 16 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.209.6/containers/javascript-node/.devcontainer/base.Dockerfile

# [Choice] Node.js version (use -bullseye variants on local arm64/Apple Silicon): 16, 14, 12, 16-bullseye, 14-bullseye, 12-bullseye, 16-buster, 14-buster, 12-buster
ARG VARIANT="16-bullseye"
FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:0-${VARIANT}

# [Optional] Uncomment this section to install additional OS packages.
# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
# && apt-get -y install --no-install-recommends <your-package-list-here>

# [Optional] Uncomment if you want to install an additional version of node using nvm
# ARG EXTRA_NODE_VERSION=10
# RUN su node -c "source /usr/local/share/nvm/nvm.sh && nvm install ${EXTRA_NODE_VERSION}"

# [Optional] Uncomment if you want to install more global node modules
# RUN su node -c "npm install -g <your-package-list-here>"
27 changes: 27 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
// https://github.com/microsoft/vscode-dev-containers/tree/v0.209.6/containers/javascript-node
{
"name": "Node.js",
"build": {
"dockerfile": "Dockerfile",
// Update 'VARIANT' to pick a Node version: 16, 14, 12.
// Append -bullseye or -buster to pin to an OS version.
// Use -bullseye variants on local arm64/Apple Silicon.
"args": { "VARIANT": "16-bullseye" }
},

// Set *default* container specific settings.json values on container create.
"settings": {},

// Add the IDs of extensions you want installed when the container is created.
"extensions": ["dbaeumer.vscode-eslint", "svelte.svelte-vscode"],

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],

// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "pnpm install",

// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "node"
}
5 changes: 5 additions & 0 deletions .env-cmdrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"version-ci": {
"IN_VERSION_CI_SCRIPT": "true"
}
}
13 changes: 0 additions & 13 deletions .eslintignore

This file was deleted.

16 changes: 0 additions & 16 deletions .eslintrc-for-playground.js

This file was deleted.

74 changes: 0 additions & 74 deletions .eslintrc.js

This file was deleted.

7 changes: 7 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# These are supported funding model platforms

open_collective: svelte
github: [ota-meshi, JounQin]
patreon: 1stG
custom:
- https://opencollective.com/rxts
90 changes: 90 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
name: Bug report
description: Create a report to help us improve.

body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!
- type: checkboxes
id: sanity-checks
attributes:
label: Before You File a Bug Report Please Confirm You Have Done The Following...
description: If any of these required steps are not taken, we may not be able to review your issue. Help us to help you!
options:
- label: I'm using [eslint-plugin-svelte](https://github.com/sveltejs/eslint-plugin-svelte). (`*.svelte` file linting does not work with the parser alone. You should also use eslint-plugin-svelte with it.)
- label: I'm sure the problem is a parser problem. (If you are not sure, search for the issue in [eslint-plugin-svelte](https://github.com/sveltejs/eslint-plugin-svelte) repo and open the issue in [eslint-plugin-svelte](https://github.com/sveltejs/eslint-plugin-svelte) repo if there is no solution.
required: true
- label: I have tried restarting my IDE and the issue persists.
required: true
- label: I have updated to the latest version of the packages.
required: true
- type: input
id: eslint-version
attributes:
label: What version of ESLint are you using?
placeholder: 0.0.0
validations:
required: true
- type: textarea
id: eslint-plugin-svelte-version
attributes:
label: What version of `eslint-plugin-svelte` and `svelte-eslint-parser` are you using?
value: |
- svelte-eslint-parser@0.0.0
- eslint-plugin-svelte@0.0.0
validations:
required: true
- type: textarea
attributes:
label: What did you do?
description: |
Please include a *minimal* reproduction case.
value: |
<details>
<summary>Configuration</summary>
```
<!-- Paste your configuration here -->
```
</details>
```svelte
<!-- Paste your code here -->
```
validations:
required: true
- type: textarea
attributes:
label: What did you expect to happen?
description: |
You can use Markdown in this field.
validations:
required: true
- type: textarea
attributes:
label: What actually happened?
description: |
Please copy-paste the actual ESLint output. You can use Markdown in this field.
validations:
required: true
- type: textarea
id: bug-reproduction
attributes:
label: Link to **GitHub Repo** with Minimal Reproducible Example
description: |
Create a minimal reproduction of the problem. **A minimal reproduction is required** so that others can help debug your issue. If a report is vague (e.g. just a generic error message) and has no reproduction, it may be closed.
[Why Reproductions are Required](https://antfu.me/posts/why-reproductions-are-required)
Be sure to share the repo on GitHub. GitHub's repo is ready to debug using Codespace.
Please DON'T USE non-GitHub repos such as GitLab as repro.
It takes me a long time to prepare my local PC for debugging.
Please DON'T USE stackblitz as a repro.
We can't debug eslint with stackblitz.
placeholder: |
https://github.com/[your]/[repo]
validations:
required: true
- type: textarea
attributes:
label: Additional comments
13 changes: 13 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Feature request
description: Suggest a new feature.
labels: [enhancement]

body:
- type: textarea
attributes:
label: Description
description: |
A clear and concise description of the new feature.
Also give a few code examples.
validations:
required: true
7 changes: 7 additions & 0 deletions .github/ISSUE_TEMPLATE/other.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
name: Other
about: An issue that doesn't fit into the other categories.
title: ""
labels: ""
assignees: ""
---
56 changes: 37 additions & 19 deletions .github/workflows/GHPages.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,46 @@
name: GHPages

on:
workflow_dispatch: null
push:
branches: [main]

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow one concurrent deployment
concurrency:
group: pages
cancel-in-progress: true

jobs:
deploy-docs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 14
- name: Install And Build
run: |+
npm install --legacy-peer-deps
npm run build
cd explorer-v2
npm install --legacy-peer-deps
npm run pre-build
npm run build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./explorer-v2/build
force_orphan: true
- name: Checkout
uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
- name: Install And Build
run: |+
pnpm install
pnpm run build
cd explorer-v2
pnpm install
pnpm run pre-build
pnpm run build
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./explorer-v2/build
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
Loading