Skip to content

Commit 3dee7c4

Browse files
committed
🆙 update: generation scripts
1 parent a9f07e8 commit 3dee7c4

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

scripts/lib/rules.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,11 @@ const rules = readdirSync(resolve(__dirname, '../../lib/rules'))
2626

2727
module.exports = rules
2828
module.exports.withCategories = [
29+
'Possible Errors'
30+
/*
2931
'Best Practices',
3032
'Stylistic Issues'
33+
*/
3134
].map(
3235
category => ({
3336
category,

scripts/update-docs-index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const { resolve } = require('path')
1010
const { withCategories } = require('./lib/rules')
1111

1212
function toTableRow (rule) {
13-
const mark = `${rule.recommended ? '🌟' : ''}${rule.fixable ? '✒️' : ''}`
13+
const mark = `${rule.recommended ? ':star:' : ''}${rule.fixable ? ':black_nib:' : ''}`
1414
const link = `[vue-i18n/<wbr>${rule.name}](./${rule.name}.html)`
1515
const description = rule.description || '(no description)'
1616
return `| ${link} | ${description} | ${mark} |`

0 commit comments

Comments
 (0)