mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-12 21:23:45 +01:00
* update doc links to point to docs.overleaf.com instead of the old learn wiki * fix broken link to LaTeX positioning wiki article in figure modal help * point figure positioning help link to the docs.overleaf.com page * point figure/table label help links to specific anchors on the captioning-and-referencing-figures doc page * point figure modal error-help link to the graphicx-loading doc page * normalize target/rel on docs.overleaf.com links opened in a new tab * open figure modal and SSO help links in a new tab now that they point off-site * add eslint rule enforcing rel=noopener noreferrer on docs.overleaf.com links * extend require-rel-for-docs-links to also check OLButton * add lint script catching missing rel on docs.overleaf.com links in pug templates * fix require-rel-for-docs-links autofix crash on valueless rel attribute Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * add regression test for require-rel-for-docs-links valueless-rel autofix * revert `target=_blank` on figure modal and SSO help links --------- Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> GitOrigin-RevId: b6111341e1080fd7e4b42f6a1a18c27ea0fd7d8c
27 lines
1.3 KiB
JavaScript
27 lines
1.3 KiB
JavaScript
const pkg = require('./package.json')
|
|
|
|
module.exports = {
|
|
meta: {
|
|
name: pkg.name,
|
|
version: pkg.version,
|
|
},
|
|
rules: {
|
|
'no-unnecessary-trans': require('./no-unnecessary-trans'),
|
|
'prefer-kebab-url': require('./prefer-kebab-url'),
|
|
'should-unescape-trans': require('./should-unescape-trans'),
|
|
'no-generated-editor-themes': require('./no-generated-editor-themes'),
|
|
'require-script-runner': require('./require-script-runner'),
|
|
'require-vi-doMock-valid-path': require('./require-vi-doMock-valid-path'),
|
|
'require-loading-label': require('./require-loading-label'),
|
|
'require-rel-for-docs-links': require('./require-rel-for-docs-links'),
|
|
'require-cio-snake-case-properties': require('./require-cio-snake-case-properties'),
|
|
'no-throw-in-callback': require('./no-throw-in-callback'),
|
|
'no-consecutive-spaces-in-locales': require('./no-consecutive-spaces-in-locales'),
|
|
'no-straight-apostrophes-in-locales': require('./no-straight-apostrophes-in-locales'),
|
|
'french-typography-in-locales': require('./french-typography-in-locales'),
|
|
'sorted-keys-in-locales': require('./sorted-keys-in-locales'),
|
|
'locale-variables-match-en': require('./locale-variables-match-en'),
|
|
'no-orphan-locale-keys': require('./no-orphan-locale-keys'),
|
|
},
|
|
}
|