Skip to content

Commit

Permalink
JSHint esversion set to 6.
Browse files Browse the repository at this point in the history
  • Loading branch information
toddbirchard committed May 31, 2022
1 parent 072c4cd commit f4511bc
Show file tree
Hide file tree
Showing 12 changed files with 11,073 additions and 22 deletions.
1 change: 1 addition & 0 deletions .jshintrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"undef": true,
"esversion": 6,
"unused": true,
"browser": true,
"devel": true,
Expand Down
9 changes: 4 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@


THEME_PATH := $(CURDIR)
DEV_GHOST_PATH := '/Users/toddbirchard/projects/ghostlocal'
DEV_GHOST_THEME_PATH := '/Users/toddbirchard/projects/ghostlocal/content/themes/hackersandslackers-ghost'
Expand Down Expand Up @@ -38,10 +36,11 @@ dev:
clean:
find . -name 'package-lock.json' -delete
find . -name 'yarn-error.log' -delete
find . -name '.pnp.cjs' -delete
find . -wholename '*.lock' -delete
find . -wholename '.yarn' -delete
find . -wholename '**/node_modules' -delete
find . -wholename '**/bower_components' -delete
find . -type d -wholename './.yarn' -exec rm -rf {} +
find . -type d -wholename '**/node_modules' -exec rm -rf {} +
find . -type d -wholename './bower_components' -exec rm -rf {} +

.PHONY: update
update:
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# HackersAndSlackers.com

![Ghost](https://img.shields.io/badge/Ghost-^v4.0.0-lightgrey.svg?longCache=true&style=flat-square&logo=ghost&logoColor=white&colorB=656c82&colorA=4c566a)
![Node](https://img.shields.io/badge/NodeJS-v^14.0.0-green.svg?longCache=true&style=flat-square&logo=node.js&logoColor=white&colorB=a3be8c&colorA=4c566a)
![Sass](https://img.shields.io/badge/Sass-v1.32.11-blue.svg?longCache=true&logo=sass&longCache=true&style=flat-square&logoColor=white&colorB=b48ead&colorA=4c566a)
![Ghost](https://img.shields.io/badge/Ghost-^v5.0.0-lightgrey.svg?longCache=true&style=flat-square&logo=ghost&logoColor=white&colorB=656c82&colorA=4c566a)
![Node](https://img.shields.io/badge/NodeJS-v^16.0.0-green.svg?longCache=true&style=flat-square&logo=node.js&logoColor=white&colorB=a3be8c&colorA=4c566a)
![Sass](https://img.shields.io/badge/Sass-v^1.5.0-blue.svg?longCache=true&logo=sass&longCache=true&style=flat-square&logoColor=white&colorB=b48ead&colorA=4c566a)
![GitHub Last Commit](https://img.shields.io/github/last-commit/google/skia.svg?style=flat-square&colorA=4c566a&colorB=a3be8c&logo=GitHub)
[![GitHub Issues](https://img.shields.io/github/issues/hackersandslackers/hackersandslackers-ghost.svg?style=flat-square&colorB=ebcb8b&colorA=4c566a&logo=GitHub)](https://github.com/hackersandslackers/hackersandslackers-ghost/issues)
[![GitHub Stars](https://img.shields.io/github/stars/hackersandslackers/hackersandslackers-ghost.svg?style=flat-square&colorB=ebcb8b&colorA=4c566a&logo=GitHub)](https://github.com/hackersandslackers/hackersandslackers-ghost/stargazers)
Expand Down
2 changes: 1 addition & 1 deletion assets/css/style-min-rtl.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/css/style-min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/js/app.min.js

Large diffs are not rendered by default.

10 changes: 3 additions & 7 deletions assets/sass/tools/_mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
}

@mixin figcaption() {
@include fill-available();
margin: 0 auto;
padding: 8px 0 0;
color: #737883;
Expand Down Expand Up @@ -84,7 +83,6 @@
}

@mixin figcaption {
@include fill-available();
margin: 0 auto;
padding: 8px 0 0;
color: #737883;
Expand All @@ -95,7 +93,6 @@
white-space: normal;
@include mq($from: mobile) {
display: block;
width: 87% !important;
height: auto;
overflow: hidden;
text-overflow: ellipsis;
Expand All @@ -110,7 +107,7 @@

@mixin code-figcaption {
order: 1;
@include fill-available();
width: 100%;
margin: 0 auto;
padding: 14px 15px 10px;
border-radius: 4px 4px 0 0;
Expand All @@ -122,9 +119,8 @@
text-align: left;
white-space: normal;
@include mq($from: mobile) {
@include mobile-full-width;
padding: 15px;
border-top: 1px solid #dde1e9;
padding: 10px 15px;
font-size: 1.1em;
border-radius: 0;
line-height: 1;
text-overflow: ellipsis;
Expand Down
4 changes: 2 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
'use strict';

// Include Gulp & Plugins
var gulp = require('gulp'),
const gulp = require('gulp'),
sass = require('gulp-sass')(require('sass')),
rtlcss = require('gulp-rtlcss'),
cleanCSS = require('gulp-clean-css'),
Expand All @@ -22,7 +22,7 @@
// Set the compiler to use Dart Sass instead of Node Sass
sass.compiler = require('sass');

var onError = function( err ) {
let onError = function( err ) {
console.log('An error occurred:', gutil.colors.magenta(err.message));
gutil.beep();
this.emit('end');
Expand Down
Loading

0 comments on commit f4511bc

Please sign in to comment.