Skip to content

Commit

Permalink
Merge branch 'hotfix/hooksFix' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
bstaruk committed Sep 29, 2023
2 parents 85799bd + a1ff467 commit 7fb4fa5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
15 changes: 12 additions & 3 deletions .lintstagedrc.js
Original file line number Diff line number Diff line change
@@ -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(' ')}`,
};
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down

0 comments on commit 7fb4fa5

Please sign in to comment.