Skip to content
Open
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Convert text file line endings to lf
* text=auto

*.js text eol=lf
2 changes: 2 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.release-please-manifest.json @eslint/eslint-tsc
.github/workflows/release-please.yml @eslint/eslint-tsc
93 changes: 93 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
name: "\U0001F41E Report a problem"
description: "Report something that isn't working the way you expected."
title: "Bug: (fill in)"
labels:
- bug
- "repro:needed"
body:
- type: markdown
attributes:
value: By opening an issue, you agree to abide by the [OpenJS Foundation Code of Conduct](https://eslint.org/conduct).
- type: textarea
id: environment
attributes:
label: Environment
description: |
Please tell us about how you're running ESLint (Run `npx eslint --env-info`.)
value: |
ESLint version:
@eslint/docker version:
Node version:
npm version:
Operating System:
validations:
required: true
- type: textarea
id: description
attributes:
label: What did you do?
description: |
Please include a *minimal* reproduction case with your ESLint configuration and Dockerfile.
value: |
<details>
<summary>Configuration</summary>

```js
// Paste your configuration here
```
</details>

```dockerfile
# Paste your code here
```
validations:
required: true
- type: textarea
id: expectation
attributes:
label: What did you expect to happen?
validations:
required: true
- type: textarea
id: lint-output
attributes:
label: What actually happened?
description: |
Please copy-paste the actual ESLint output.
validations:
required: true
- type: input
id: repro-url
attributes:
label: Link to Minimal Reproducible Example
description: "Link to a [StackBlitz](https://stackblitz.com) or GitHub repo with 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 auto-closed."
placeholder: "https://stackblitz.com/abcd1234"
validations:
required: true
- type: checkboxes
attributes:
label: Participation
options:
- label: I am willing to submit a pull request for this issue.
required: false
- type: markdown
attributes:
value: Please **do not** open a pull request until this issue has been accepted by the team.
- type: checkboxes
attributes:
label: AI acknowledgment
description: Check all that apply.
options:
- label: I did not use AI to generate this issue report.
required: false
- label: I used AI to translate the content of this issue report.
required: false
- label: I used AI to understand the codebase.
required: false
- label: I used AI to generate content for this issue report and I reviewed the generated content.
required: false
- type: textarea
id: comments
attributes:
label: Additional comments
description: Is there anything else that's important for the team to know?
67 changes: 67 additions & 0 deletions .github/ISSUE_TEMPLATE/change.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
name: "\U0001F680 Request a change (not rule-related)"
description: "Request a change that is not a bug fix, rule change, or new rule"
title: "Change Request: (fill in)"
labels:
- enhancement
- core
body:
- type: markdown
attributes:
value: By opening an issue, you agree to abide by the [OpenJS Foundation Code of Conduct](https://eslint.org/conduct).
- type: textarea
attributes:
label: Environment
description: |
Please tell us about how you're running ESLint (Run `npx eslint --env-info`.)
value: |
ESLint version:
@eslint/docker version:
Node version:
npm version:
Operating System:
validations:
required: true
- type: textarea
attributes:
label: What problem do you want to solve?
description: |
Please explain your use case in as much detail as possible.
placeholder: |
The Docker plugin currently...
validations:
required: true
- type: textarea
attributes:
label: What do you think is the correct solution?
description: |
Please explain how you'd like to change the Docker plugin to address the problem.
placeholder: |
I'd like the Docker plugin to...
validations:
required: true
- type: checkboxes
attributes:
label: Participation
options:
- label: I am willing to submit a pull request for this change.
required: false
- type: markdown
attributes:
value: Please **do not** open a pull request until this issue has been accepted by the team.
- type: checkboxes
attributes:
label: AI acknowledgment
description: Check all that apply.
options:
- label: I did not use AI to generate this issue report.
required: false
- label: I used AI to translate the content of this issue report.
required: false
- label: I used AI to understand the codebase.
required: false
- label: I used AI to generate content for this issue report and I reviewed the generated content.
required: false
- type: textarea
attributes:
label: Additional comments
description: Is there anything else that's important for the team to know?
8 changes: 8 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
blank_issues_enabled: false
contact_links:
- name: 🗣 Ask a Question, Discuss
url: https://github.com/eslint/docker/discussions
about: Get help using this plugin
- name: Discord Server
url: https://eslint.org/chat
about: Talk with the team
62 changes: 62 additions & 0 deletions .github/ISSUE_TEMPLATE/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
name: "\U0001F4DD Docs"
description: "Request an improvement to documentation"
title: "Docs: (fill in)"
labels:
- documentation
body:
- type: markdown
attributes:
value: By opening an issue, you agree to abide by the [OpenJS Foundation Code of Conduct](https://eslint.org/conduct).
- type: textarea
attributes:
label: Docs page(s)
description: |
What page(s) are you suggesting be changed or created?
placeholder: |
e.g. https://github.com/eslint/docker/blob/main/docs/rules/no-maintainer.md
validations:
required: true
- type: textarea
attributes:
label: What documentation issue do you want to solve?
description: |
Please explain your issue in as much detail as possible.
placeholder: |
The docs currently...
validations:
required: true
- type: textarea
attributes:
label: What do you think is the correct solution?
description: |
Please explain how you'd like to change the docs to address the problem.
placeholder: |
I'd like the docs to...
validations:
required: true
- type: checkboxes
attributes:
label: Participation
options:
- label: I am willing to submit a pull request for this change.
required: false
- type: markdown
attributes:
value: Please **do not** open a pull request until this issue has been accepted by the team.
- type: checkboxes
attributes:
label: AI acknowledgment
description: Check all that apply.
options:
- label: I did not use AI to generate this issue report.
required: false
- label: I used AI to translate the content of this issue report.
required: false
- label: I used AI to understand the codebase.
required: false
- label: I used AI to generate content for this issue report and I reviewed the generated content.
required: false
- type: textarea
attributes:
label: Additional comments
description: Is there anything else that's important for the team to know?
66 changes: 66 additions & 0 deletions .github/ISSUE_TEMPLATE/new-rule.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
name: "\U0001F680 Propose a new rule"
description: "Propose a new rule to be added to the plugin"
title: "New Rule: (fill in)"
labels:
- rule
- feature
body:
- type: markdown
attributes:
value: By opening an issue, you agree to abide by the [OpenJS Foundation Code of Conduct](https://eslint.org/conduct).
- type: input
attributes:
label: Rule details
description: What should the new rule do?
validations:
required: true
- type: textarea
attributes:
label: Additional rule details
description: If there are any additional details about how the proposed rule should work, please provide them.
- type: dropdown
attributes:
label: What type of rule is this?
options:
- Warns about a potential problem
- Suggests an alternate way of doing something
validations:
required: true
- type: textarea
attributes:
label: Example code
description: Please provide some example code that this rule will warn about.
render: dockerfile
validations:
required: true
- type: textarea
attributes:
label: Prior Art
description: If this rule already exists in another Dockerfile linter (e.g. hadolint), please mention that here and provide link(s) to documentation.
render: markdown
- type: checkboxes
attributes:
label: Participation
options:
- label: I am willing to submit a pull request to implement this rule.
required: false
- type: markdown
attributes:
value: Please **do not** open a pull request until this issue has been accepted by the team.
- type: checkboxes
attributes:
label: AI acknowledgment
description: Check all that apply.
options:
- label: I did not use AI to generate this issue report.
required: false
- label: I used AI to translate the content of this issue report.
required: false
- label: I used AI to understand the codebase.
required: false
- label: I used AI to generate content for this issue report and I reviewed the generated content.
required: false
- type: textarea
attributes:
label: Additional comments
description: Is there anything else that's important for the team to know?
77 changes: 77 additions & 0 deletions .github/ISSUE_TEMPLATE/rule-change.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
name: "\U0001F4DD Request a rule change"
description: "Request a change to an existing rule"
title: "Rule Change: (fill in)"
labels:
- enhancement
- rule
body:
- type: markdown
attributes:
value: By opening an issue, you agree to abide by the [OpenJS Foundation Code of Conduct](https://eslint.org/conduct).
- type: input
attributes:
label: What rule do you want to change?
validations:
required: true
- type: dropdown
attributes:
label: What change do you want to make?
options:
- Generate more warnings
- Generate fewer warnings
- Implement autofix
- Implement suggestions
validations:
required: true
- type: dropdown
attributes:
label: How do you think the change should be implemented?
options:
- A new option
- A new default behavior
- Other
validations:
required: true
- type: textarea
attributes:
label: Example code
description: Please provide some example code that this change will affect.
render: dockerfile
validations:
required: true
- type: textarea
attributes:
label: What does the rule currently do for this code?
validations:
required: true
- type: textarea
attributes:
label: What will the rule do after it's changed?
validations:
required: true
- type: checkboxes
attributes:
label: Participation
options:
- label: I am willing to submit a pull request to implement this change.
required: false
- type: markdown
attributes:
value: Please **do not** open a pull request until this issue has been accepted by the team.
- type: checkboxes
attributes:
label: AI acknowledgment
description: Check all that apply.
options:
- label: I did not use AI to generate this issue report.
required: false
- label: I used AI to translate the content of this issue report.
required: false
- label: I used AI to understand the codebase.
required: false
- label: I used AI to generate content for this issue report and I reviewed the generated content.
required: false
- type: textarea
attributes:
label: Additional comments
description: Is there anything else that's important for the team to know?
4 changes: 4 additions & 0 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
$schema: "https://docs.renovatebot.com/renovate-schema.json",
extends: ["github>eslint/workflows//.github/renovate/eslint-base.json5"],
}
Loading
Loading