File tree Expand file tree Collapse file tree 4 files changed +10
-12
lines changed
Expand file tree Collapse file tree 4 files changed +10
-12
lines changed Original file line number Diff line number Diff line change 11{
2- "extends": "semistandard",
3- "root": true,
4- "rules": {
5- "no-var": 2
6- }
2+ "extends": "@voxpelli",
3+ "root": true
74}
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ const SLUGIFY_TRAILING_LEADING_HYPHEN = /^-|-$/g;
4545 * @param {string } str - the string to create a slug of
4646 * @param {string } [mode] - how string is slugified. Can be set to "default", "pretty" or "raw"
4747 * @param {boolean } [cased] - whether to keep the character casing or not
48- * @return {string } the slugified string
48+ * @returns {string } the slugified string
4949 * @see {@link https://github.com/jekyll/jekyll/blob/9278eb8fcec85b17573c6658d7d67ef6ea6ffb92/lib/jekyll/utils.rb#L177|Mimicked Jekyll Code }
5050 */
5151const slugify = function ( str , mode = 'default' , cased = false ) {
Original file line number Diff line number Diff line change @@ -76,15 +76,15 @@ const generateUrl = function (template, jekyllResource) {
7676 * used as URL.
7777 * @see {@link https://github.com/jekyll/jekyll/blob/cc82d442223bdaee36a2aceada64008a0106d82b/lib/jekyll/url.rb|Mimicked Jekyll Code }
7878 */
79- function JekyllUrl ( options ) {
79+ const JekyllUrl = function ( options ) {
8080 this . template = options . template ;
8181 this . placeholders = options . placeholders ;
8282 this . permalink = options . permalink ;
8383
8484 if ( ! this . template ) {
8585 throw new Error ( 'One of template or permalink must be supplied.' ) ;
8686 }
87- }
87+ } ;
8888
8989/**
9090 * Generates the relative URL of the resource
Original file line number Diff line number Diff line change 3232 "@types/chai" : " ^4.2.0" ,
3333 "@types/mocha" : " ^5.2.7" ,
3434 "@types/node" : " ^12.7.1" ,
35+ "@voxpelli/eslint-config" : " ^4.0.0" ,
3536 "chai" : " ^4.2.0" ,
3637 "coveralls" : " ^3.0.5" ,
3738 "dependency-check" : " ^4.1.0" ,
3839 "documentation" : " ^12.1.1" ,
39- "eslint" : " ^6.1.0" ,
40- "eslint-config-semistandard" : " ^14.0.0" ,
41- "eslint-config-standard" : " ^13.0.1" ,
40+ "eslint" : " ^6.8.0" ,
41+ "eslint-config-standard" : " ^14.1.0" ,
4242 "eslint-plugin-import" : " ^2.18.2" ,
43- "eslint-plugin-node" : " ^9.1.0" ,
43+ "eslint-plugin-jsdoc" : " ^21.0.0" ,
44+ "eslint-plugin-node" : " ^11.0.0" ,
4445 "eslint-plugin-promise" : " ^4.2.1" ,
4546 "eslint-plugin-standard" : " ^4.0.0" ,
4647 "husky" : " ^3.0.3" ,
You can’t perform that action at this time.
0 commit comments