Skip to content

docs: Add AI Usage Policy#20510

Merged
lumirlumir merged 8 commits intomainfrom
issue20450
Mar 7, 2026
Merged

docs: Add AI Usage Policy#20510
lumirlumir merged 8 commits intomainfrom
issue20450

Conversation

@nzakas
Copy link
Copy Markdown
Member

@nzakas nzakas commented Feb 18, 2026

Prerequisites checklist

AI acknowledgment

  • I did not use AI to generate this PR.
  • (If the above is not checked) I have reviewed the AI-generated content before submitting.

What is the purpose of this pull request? (put an "X" next to an item)

[x] Documentation update
[ ] Bug fix (template)
[ ] New rule (template)
[ ] Changes an existing rule (template)
[ ] Add autofix to a rule
[ ] Add a CLI option
[ ] Add something to the core
[ ] Other, please explain:

What changes did you make? (Give an overview)

  • Added an AI Usage Policy under the "Contribute to ESLint" section.
  • Added link to the policy in CONTRIBUTING.md.

Is there anything you'd like reviewers to focus on?

@nzakas nzakas requested a review from a team as a code owner February 18, 2026 00:04
@github-project-automation github-project-automation bot moved this to Needs Triage in Triage Feb 18, 2026
@eslint-github-bot eslint-github-bot bot added the documentation Relates to ESLint's documentation label Feb 18, 2026
@netlify
Copy link
Copy Markdown

netlify bot commented Feb 18, 2026

Deploy Preview for docs-eslint ready!

Name Link
🔨 Latest commit 6933608
🔍 Latest deploy log https://app.netlify.com/projects/docs-eslint/deploys/69a601b427dcfa0008e2273f
😎 Deploy Preview https://deploy-preview-20510--docs-eslint.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@mdjermanovic mdjermanovic moved this from Needs Triage to Implementing in Triage Feb 18, 2026
@mdjermanovic mdjermanovic added the accepted There is consensus among the team that this change meets the criteria for inclusion label Feb 18, 2026
@mdjermanovic mdjermanovic linked an issue Feb 18, 2026 that may be closed by this pull request
1 task
Comment on lines +37 to +39
## Compensation

ESLint does not provide compensation, either to team members or through the contributor pool, for contributions created primarily by AI. This is because we want to encourage human creativity and effort in our project, and we believe that AI should be used as a tool to assist rather than replace human contributions.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure about this policy. 1) We can't know for sure if the contribution is created primarily by AI. 2) Even if the content of the contribution is primarily or even entirely generated by AI, it still needs to be thoroughly reviewed and tested by the contributor before submitting, as per the Human Responsibility section above, which is an effort that takes time.

I think what we want to discourage are contributions created by AI where the submitter doesn't really review and test it (and perhaps doesn't really understand all the changes and/or the problem they solve). When that seems to be the case, I think it's better to just close the PR.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In my mind, the problem is that AI-generated PRs do most of the work for you, so I'm not sure you should be compensated for that.

For me, personally, I don't invoice for PRs I create using Copilot because 1) the reviewing is often pretty quick and 2) any changes required are done by Copilot do it. What's remaining is really just me saying, "yes, I like this." I can't recall a time where I submitted an AI-generated PR and I spent more than five total minutes on it.

I'd imagine external contributors would roughly behave the same way.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, makes sense to me.

Copy link
Copy Markdown
Member

@mdjermanovic mdjermanovic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks! Leaving open for others to verify their suggestions.

Copy link
Copy Markdown
Member

@fasttime fasttime left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@lumirlumir lumirlumir moved this from Implementing to Second Review Needed in Triage Mar 7, 2026
Copy link
Copy Markdown
Member

@lumirlumir lumirlumir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

There are two TSC approvals, and I've verified that all review comments were successfully addressed. I'll merge it.

@lumirlumir lumirlumir merged commit a0d1a37 into main Mar 7, 2026
41 of 42 checks passed
@lumirlumir lumirlumir deleted the issue20450 branch March 7, 2026 07:55
@github-project-automation github-project-automation bot moved this from Second Review Needed to Complete in Triage Mar 7, 2026
anormatrx pushed a commit to anormatrx/eslint that referenced this pull request Mar 14, 2026
* docs: Add AI Usage Policy

* Update CONTRIBUTING.md

* Remove extra content

* Revert changes to code conventions

* Update docs/src/contribute/ai-policy.md

Co-authored-by: Nitin Kumar <[email protected]>

* Apply feedback

* Update docs/src/contribute/ai-policy.md

Co-authored-by: Nitin Kumar <[email protected]>

* Update policy

---------

Co-authored-by: Nitin Kumar <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

accepted There is consensus among the team that this change meets the criteria for inclusion documentation Relates to ESLint's documentation

Projects

Status: Complete

Development

Successfully merging this pull request may close these issues.

Change Request: Adopt a policy for AI contributions

5 participants