File tree Expand file tree Collapse file tree 3 files changed +2
-2
lines changed Expand file tree Collapse file tree 3 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 24
24
"types" : " ./types/index.d.ts" ,
25
25
"scripts" : {
26
26
"mocha" : " mocha" ,
27
+ "lint" : " eslint -c .eslintrc.js src/*.js src/lib/*.js" ,
27
28
"build_and_test" : " npm run build && npm run test" ,
28
29
"build" : " node ./tools/build.js -t node" ,
29
30
"build-cdn" : " node ./tools/build.js -t cdn" ,
Original file line number Diff line number Diff line change @@ -684,7 +684,7 @@ const HLJS = function(hljs) {
684
684
language : result . language ,
685
685
// TODO: remove with version 11.0
686
686
re : result . relevance ,
687
- relavance : result . relevance ,
687
+ relavance : result . relevance
688
688
} ;
689
689
if ( result . second_best ) {
690
690
element . second_best = {
Original file line number Diff line number Diff line change @@ -84,5 +84,4 @@ export default class HTMLRenderer {
84
84
span ( className ) {
85
85
this . buffer += `<span class="${ className } ">` ;
86
86
}
87
-
88
87
}
You can’t perform that action at this time.
0 commit comments