rsnext/packages/eslint-plugin-next/lib/rules
Balázs Orbán 4e345f6677
feat(eslint): allow a for internal url when target="blank" present (#32780)
When an `a` tag is used to link to an internal page, but the `target="_blank"` attribute is present, ESLint should not report it as an error and should not enforce using `next/link`.

Fixes #28547

## Bug

- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have helpful link attached, see `contributing.md`

## Feature

- [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Documentation added
- [ ] Telemetry added. In case of a feature if it's used or not.
- [ ] Errors have helpful link attached, see `contributing.md`

## Documentation / Examples

- [ ] Make sure the linting passes by running `yarn lint`
2021-12-25 00:55:43 +00:00
..
google-font-display.js Add ESLint docs URLs (#29645) 2021-10-16 01:16:41 -05:00
google-font-preconnect.js Add ESLint docs URLs (#29645) 2021-10-16 01:16:41 -05:00
inline-script-id.js Add ESLint docs URLs (#29645) 2021-10-16 01:16:41 -05:00
link-passhref.js Add ESLint docs URLs (#29645) 2021-10-16 01:16:41 -05:00
next-script-for-ga.js Add ESLint docs URLs (#29645) 2021-10-16 01:16:41 -05:00
no-css-tags.js Adds ESLint with default rule-set (#23702) 2021-04-30 11:09:07 +00:00
no-document-import-in-page.js Add ESLint docs URLs (#29645) 2021-10-16 01:16:41 -05:00
no-duplicate-head.js Add ESLint docs URLs (#29645) 2021-10-16 01:16:41 -05:00
no-head-import-in-document.js Add ESLint docs URLs (#29645) 2021-10-16 01:16:41 -05:00
no-html-link-for-pages.js feat(eslint): allow a for internal url when target="blank" present (#32780) 2021-12-25 00:55:43 +00:00
no-img-element.js Add ESLint docs URLs (#29645) 2021-10-16 01:16:41 -05:00
no-page-custom-font.js Fix crash in no-page-custom-font eslint rule when default export is unnamed. (#32251) 2021-12-07 19:04:24 +00:00
no-script-in-document.js Add ESLint docs URLs (#29645) 2021-10-16 01:16:41 -05:00
no-script-in-head.js Add ESLint docs URLs (#29645) 2021-10-16 01:16:41 -05:00
no-server-import-in-page.js Fix no-server-import-in-page eslint rule for subfolder middleware (#32139) 2021-12-05 14:41:10 +00:00
no-sync-scripts.js next lint + ESLint in Create Next App (#25064) 2021-06-03 14:01:24 +02:00
no-title-in-document-head.js Add ESLint docs URLs (#29645) 2021-10-16 01:16:41 -05:00
no-typos.js [ESLint] add no-typos rule to eslint (#26650) 2021-07-24 22:22:19 -05:00
no-unwanted-polyfillio.js [ESLint] Add add next/script support for no-unwanted-polyfillio rule (#28944) 2021-10-22 11:19:24 +00:00