From 7521f788410d618020629e8a5ef2b5bb6049d81f Mon Sep 17 00:00:00 2001 From: Brian Staruk Date: Fri, 29 Sep 2023 10:10:43 -0400 Subject: [PATCH 1/3] updating (fixing) lint-staged config --- .lintstagedrc.js | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.lintstagedrc.js b/.lintstagedrc.js index 7a1f270..c180c99 100644 --- a/.lintstagedrc.js +++ b/.lintstagedrc.js @@ -1,5 +1,14 @@ module.exports = { - '*.js': () => 'eslint --max-warnings=0', - '*.scss': () => 'stylelint', - '*.{js,json,md}': () => 'prettier --write', + // Lint & Prettify JS files + '**/*.(js)': (filenames) => [ + `npx eslint ${filenames.join(' ')}`, + `npx prettier --write ${filenames.join(' ')}`, + ], + + // Lint Sass + '**/*.(scss)': (filenames) => [`npx stylelint ${filenames.join(' ')}`], + + // Prettify only Markdown and JSON files + '**/*.(md|json)': (filenames) => + `npx prettier --write ${filenames.join(' ')}`, }; From a1ff4676b697a2c2f176f902ce91f6620d50185c Mon Sep 17 00:00:00 2001 From: Brian Staruk Date: Fri, 29 Sep 2023 10:11:31 -0400 Subject: [PATCH 2/3] removing badges --- README.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/README.md b/README.md index 637170a..f9a9711 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,5 @@ # starbase -[![npm version](https://badge.fury.io/js/starbase.svg)](https://badge.fury.io/js/starbase) -[![dependencies status](https://david-dm.org/bstaruk/starbase/status.svg)](https://david-dm.org/bstaruk/starbase) -[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fbstaruk%2Fstarbase.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Fbstaruk%2Fstarbase?ref=badge_shield) - starbase is a production-ready website boilerplate built with webpack 5, Babel 7 & Sass that enables developers to get up and running in minutes using some of the most powerful front-end tools available in 2023: - [Node.js](https://github.com/nodejs/node), [webpack 5](https://github.com/webpack/webpack) & [webpack-dev-server](https://github.com/webpack/webpack-dev-server) From c01f9c2c2e8ca0aecf878960e9272a462d868cb8 Mon Sep 17 00:00:00 2001 From: Brian Staruk Date: Fri, 29 Sep 2023 10:18:37 -0400 Subject: [PATCH 3/3] incremental version bump --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 2cc4f0d..f5480e3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "starbase", - "version": "3.6.0", + "version": "3.6.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "starbase", - "version": "3.6.0", + "version": "3.6.1", "license": "MIT", "devDependencies": { "@babel/core": "^7.23.0", diff --git a/package.json b/package.json index a4755e7..e103c18 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "starbase", - "version": "3.6.0", + "version": "3.6.1", "author": "Brian Staruk ", "contributors": [ {