Skip to content

fix: add ignoreLocalVariables to prefer-svelte-reactivity rule to avoid false positives #1031

fix: add ignoreLocalVariables to prefer-svelte-reactivity rule to avoid false positives

fix: add ignoreLocalVariables to prefer-svelte-reactivity rule to avoid false positives #1031

Workflow file for this run

name: Publish to pkg.pr.new
on:
pull_request:
branches: [main]
push:
branches: [main]
tags: ['!**']
jobs:
build:
if: github.repository == 'sveltejs/eslint-plugin-svelte'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
- name: Install Packages
run: pnpm install
- name: Build
run: pnpm run build
- run: pnpx pkg-pr-new publish --compact './packages/eslint-plugin-svelte' --json output.json --comment=off
- name: Add metadata to output
uses: actions/github-script@v7
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const fs = require('fs');
const output = JSON.parse(fs.readFileSync('output.json', 'utf8'));
output.number = context.issue.number;
output.event_name = context.eventName;
output.ref = context.ref;
output.sha = context.eventName === 'pull_request'
? context.payload.pull_request.head.sha
: context.payload.after;
fs.writeFileSync('output.json', JSON.stringify(output), 'utf8');
- name: Upload output
uses: actions/upload-artifact@v4
with:
name: output
path: ./output.json
- run: ls -R .
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy