chore: remove unnecessary references to the LICENSE file by mdjermanovic · Pull Request #17071 · eslint/eslint (original) (raw)

Prerequisites checklist

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

[ ] 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
[x] Other, please explain:

Files lib/rules/prefer-object-spread.js and tests/lib/rules/prefer-object-spread.js contain references to the LICENSE file in the root directory. This is unnecessary for this project and can cause confusion, as in #17064.

What changes did you make? (Give an overview)

Removed those references.

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

Those lines were added in the original commit for these files 1a6b399. I couldn't find any mention of them in the PR #9955 or the original issue #7230, so it's most likely that the author was just using some template.