eslint-plugin-license-header
eslint-plugin-license-header copied to clipboard
Rules to validate the presence of license headers in source files.
## Is your feature request related to a problem? Please describe I would like to switch from https://github.com/Stuk/eslint-plugin-header to your library because Stuk's has a lot of bugs for me...
__Describe the Bug__ When using this header, ```js // Copyright Foobar. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 ``` the fix results in incorrect behavior __Steps to Reproduce__ 1. Setup eslint...
feat: add optional second param, with allowedHeaderPatterns array of regex to match allowed headers
Closes: #14 Thanks for this package! This PR implements one possible solution for #14. I'm happy to adjust as you see fit. This adds an optional second config param, which...
### Is your feature request related to a problem? Please describe Leading pragma such as `/** * @jest-environment node */` must appear at the top of the file. ### Describe...