Skip to content

Commit

Permalink
Add back config
Browse files Browse the repository at this point in the history
  • Loading branch information
karlhorky authored Oct 1, 2024
1 parent 9e220ad commit c3230c0
Showing 1 changed file with 34 additions and 1 deletion.
35 changes: 34 additions & 1 deletion remark-lint-no-dead-urls.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,39 @@
/** @type {import('unified-engine').Preset} */
const config = {
plugins: ['remark-mdx', 'remark-lint', 'remark-lint-no-dead-urls'],
plugins: [
'remark-mdx',
[
'remark-lint-no-dead-urls',
{
skipUrlPatterns: [
'chrome://',
'codesandbox-link://',
'embedded-html-codesandbox://',
'embedded-css-codesandbox://',
'embedded-js-console-codesandbox://',
'embedded-js-devtools-codesandbox://',
'mailto:',
'https://angel.co/newsletters',
'https://archive.ph/',
'https://figmatemplate.com/',
'https://github.com/upleveled/answers',
'https://help.figma.com/hc/en-us/articles/360040314193-Guide-to-prototyping-in-Figma',
'https://mobile.twitter.com',
'https://pixabay.com/',
'https://projecteuler.net/archives',
'https://trends.google.com/',
'https://twitter.com',
'https://www.backblaze.com/cloud-backup.html',
'https://www.cloudflare.com/learning/cdn/what-is-caching/',
'https://www.glassdoor.at/Geh%C3%A4lter/wien-junior-software-developer-gehalt-SRCH_IL.0,4_IM1118_KO5,30.htm',
'https://www.linkedin.com/jobs/',
'https://www.pexels.com/',
'https://www.udemy.com/courses/free/',
'https://codesandbox.io/s/typescript-fundamentals-exercises-pkijz?file=/src/exercises/001-basic-types.ts',
],
},
],
],
};

export default config;

0 comments on commit c3230c0

Please sign in to comment.