File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ const HTML_ELEMENT_NAMES = new Set(require('./html-elements.json'))
13
13
const SVG_ELEMENT_NAMES = new Set ( require ( './svg-elements.json' ) )
14
14
const VOID_ELEMENT_NAMES = new Set ( require ( './void-elements.json' ) )
15
15
const assert = require ( 'assert' )
16
+ const path = require ( 'path' )
16
17
const vueEslintParser = require ( 'vue-eslint-parser' )
17
18
18
19
/**
@@ -98,7 +99,12 @@ module.exports = {
98
99
meta : Object . assign (
99
100
{ } ,
100
101
coreRule . meta ,
101
- { docs : Object . assign ( { } , coreRule . meta . docs , { category } ) }
102
+ {
103
+ docs : Object . assign ( { } , coreRule . meta . docs , {
104
+ category,
105
+ url : `https://vuejs.github.io/eslint-plugin-vue/rules/${ path . basename ( coreRule . meta . docs . url ) } .html`
106
+ } )
107
+ }
102
108
)
103
109
}
104
110
} ,
You can’t perform that action at this time.
0 commit comments