Skip to content

Commit

Permalink
fix: docs
Browse files Browse the repository at this point in the history
  • Loading branch information
simonecorsi committed Nov 22, 2022
1 parent eb9ceba commit 9a04be0
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 15 deletions.
15 changes: 6 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,19 @@
# skaffoldo

> Recursively copy provided source, while replacing variables (if any).
This project is meant to be used as a **skaffold anything**. Just provide a source directory/file and an output folder and this will walk recursively, when a variables in a file is found matching a variable in your environment, it will logic-lessly be replaced.

## Table of Content

<!-- toc -->

- [About The Project](#about-the-project)
- [Installation](#installation)
- [Usage](#usage)
- [Options](#options)
- [Contributing](#contributing)
- [License](#license)
- [Contact](#contact)

<!-- tocstop -->

## About The Project

> This package recursively copy a folder while replacing variables in files!
This project is meant to be used as a skaffold anything and easily

<!-- GETTING STARTED -->

Expand Down
14 changes: 8 additions & 6 deletions lint-staged.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
module.exports = {
'*.{js,css,json,md,yaml,yml}': ['prettier --write'],
'*.md': (filenames) => {
const list = filenames.map((filename) => `'markdown-toc -i ${filename}`);
return list;
},
'*.js': ['eslint --fix'],
'*.{js,css,json,md,yaml,yml}': ['prettier --write'],
'*.md': (filenames) => {
const list = filenames.map(
(filename) => `'markdown-toc -i ${filename}`
);
return list;
},
'*.js': ['eslint --fix'],
};

0 comments on commit 9a04be0

Please sign in to comment.