GoScrobble/web/node_modules/eslint-plugin-jsx-a11y/scripts/boilerplate/doc.js

25 lines
269 B
JavaScript
Raw Permalink Normal View History

2022-04-25 02:47:15 +00:00
const docBoilerplateGenerator = (name) => `# ${name}
Write a useful explanation here!
### References
1.
## Rule details
This rule takes no arguments.
### Succeed
\`\`\`jsx
<div />
\`\`\`
### Fail
\`\`\`jsx
\`\`\`
`;
module.exports = docBoilerplateGenerator;