From 7512dba0d6f669e15d84ec22cb57dcaadc8e1cea Mon Sep 17 00:00:00 2001 From: Ante Date: Wed, 12 Mar 2025 07:13:26 +0000 Subject: [PATCH] =?UTF-8?q?chore=20=F0=9F=93=9D:=20add=20bug=20and=20featu?= =?UTF-8?q?re=20request=20templates?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/ISSUE_TEMPLATE/bug-report.md | 81 +++++++++++++++++++++++ .github/ISSUE_TEMPLATE/feature-request.md | 46 +++++++++++++ CHANGELOG.md | 6 +- package.json | 2 +- src/index.ts | 2 +- 5 files changed, 134 insertions(+), 3 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/bug-report.md create mode 100644 .github/ISSUE_TEMPLATE/feature-request.md diff --git a/.github/ISSUE_TEMPLATE/bug-report.md b/.github/ISSUE_TEMPLATE/bug-report.md new file mode 100644 index 0000000..6b93f2b --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug-report.md @@ -0,0 +1,81 @@ +--- +name: Bug Report +about: Report an issue with the vanilla-extract CSS ESLint plugin +title: "[BUG] Concise descriptive title" +labels: bug, needs-triage +assignees: antebudimir + +--- + +name: Bug Report +about: Report an issue with the vanilla-extract CSS ESLint plugin +title: '[BUG]: ' +labels: bug, needs-triage +assignees: '' + +## Contribution Checklist + +- [ ] I have read documentation and understand the feature +- [ ] I have searched for similar issues before creating this one +- [ ] I have tested this with the latest plugin version +- [ ] I have included all information needed to reproduce the issue + +## Bug Description + +## Reproduction Steps + +1. +2. +3. + +## Expected Behavior + +## Actual Behavior + +## Code Example + +```js +// Include a minimal code example that demonstrates the issue +import { style } from '@vanilla-extract/css'; + +const example = style({ + // The problematic CSS properties +}); +``` + +## Environment Information + +- Node Version: +- Package Versions: + - ESLint: + - @vanilla-extract/css: + - TypeScript: + - @antebudimir/eslint-plugin-vanilla-extract: + +## ESLint Configuration + +```js +// Include your relevant ESLint configuration +{ + files: [], + ignores: [], + plugins: { + 'vanilla-extract': vanillaExtract, + }, + rules: {}, +} +``` + +## Screenshots/Videos + +## Console Output + +## Additional Context + +## Impact + +- [ ] Blocks critical functionality +- [ ] Produces false positives +- [ ] Misses valid errors +- [ ] Performance issue +- [ ] Other (please specify) diff --git a/.github/ISSUE_TEMPLATE/feature-request.md b/.github/ISSUE_TEMPLATE/feature-request.md new file mode 100644 index 0000000..78a5d42 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature-request.md @@ -0,0 +1,46 @@ +--- +name: Feature Request +about: Suggest an enhancement for the vanilla-extract CSS ESLint plugin +title: "[FEATURE]: Add concise descriptive title" +labels: enhancement, needs-triage +assignees: antebudimir + +--- + +## Contribution Checklist + +- [ ] I've confirmed that this feature isn't already implemented +- [ ] I've searched for similar feature requests before creating this one +- [ ] I've checked that this feature aligns with the project's goals +- [ ] I've considered how this would benefit the broader community + +## Problem Statement + +## Proposed Solution + +```js +// Example of how the feature might work +import { style } from '@vanilla-extract/css'; + +const example = style({ + // How your proposed feature would improve this code +}); +``` + +## Expected Behavior + +## Alternatives Considered + +## Implementation Ideas + +## Use Cases + +## Additional Context + +## Environment Information + +- Node Version: +- Package Versions: + - ESLint: + - @vanilla-extract/css: + - TypeScript: diff --git a/CHANGELOG.md b/CHANGELOG.md index 9117696..1d6c69c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,9 +5,13 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.5.3] - 2025-03-12 + +- Add bug and feature request templates () + ## [1.5.2] - 2025-03-12 -- Add CODEOWNERS file to enforce code review requirements () +- Add CODEOWNERS file to enforce code review requirements (cd4314d) ## [1.5.1] - 2025-03-12 diff --git a/package.json b/package.json index 160661f..4dc86f8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@antebudimir/eslint-plugin-vanilla-extract", - "version": "1.5.2", + "version": "1.5.3", "description": "ESLint plugin for enforcing best practices in vanilla-extract CSS styles, including CSS property ordering and additional linting rules.", "author": "Ante Budimir", "license": "MIT", diff --git a/src/index.ts b/src/index.ts index d8dd4cc..da8fd0d 100644 --- a/src/index.ts +++ b/src/index.ts @@ -5,7 +5,7 @@ import customOrderRule from './css-rules/custom-order/rule-definition.js'; export const vanillaExtract = { meta: { name: '@antebudimir/eslint-plugin-vanilla-extract', - version: '1.5.2', + version: '1.5.3', }, rules: { 'alphabetical-order': alphabeticalOrderRule,