refactor: Format root-level files (#3858)

*  Create `format.mjs` script

* 👕 Add lint exception

*  Add root formatting to `format` command

* 🎨 Fix glob in `.prettierignore`

* 🚚 Improve naming

* 🎨 Format root-level files

*  Simplify check

*  Add period to extension

*  Locate config

*  Add `ignore` arg

* 🚚 Move `config` and `ignore` after check
This commit is contained in:
Iván Ovejero
2022-08-19 15:34:02 +02:00
committed by GitHub
parent c65458c154
commit 11617616cd
23 changed files with 342 additions and 390 deletions

View File

@@ -3,10 +3,10 @@
Dockerfile which allows to package up the local n8n code into
a docker image.
## Usage
Execute the following in the n8n root folder:
```bash
docker build -t n8n-custom -f docker/images/n8n-custom/Dockerfile .
```

View File

@@ -5,7 +5,6 @@ Dockerfile to build n8n with Debian.
For information about how to run n8n with Docker check the generic
[Docker-Readme](https://github.com/n8n-io/n8n/tree/master/docker/images/n8n/README.md)
```
docker build --build-arg N8N_VERSION=<VERSION> -t n8nio/n8n:<VERSION> .

View File

@@ -7,7 +7,6 @@ docker build --build-arg N8N_VERSION=<VERSION> -t n8nio/n8n:<VERSION> .
docker build --build-arg N8N_VERSION=0.36.1 -t n8nio/n8n:0.36.1-rhel7 .
```
```
docker run -it --rm \
--name n8n \