Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

Commit

Permalink
update package.json
Browse files Browse the repository at this point in the history
move eslint and prettier config in there
  • Loading branch information
LangLangBart committed Dec 28, 2022
1 parent 3c7eeb0 commit cfae7ba
Show file tree
Hide file tree
Showing 5 changed files with 173 additions and 196 deletions.
157 changes: 0 additions & 157 deletions .eslintrc.json

This file was deleted.

4 changes: 2 additions & 2 deletions .github/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ vale sync
<p>

#### JavaScript
Mirroring the linting process from `0 A.D.` by using `ESLint` and an adopted set of rules defined in the [.eslintrc.json](../.eslintrc.json) file.
Mirroring the linting process from `0 A.D.` by using `ESLint` and an adopted set of rules defined in the [package.json](../package.json) file.

* The `.vscode` settings are set up to automatically adjust your code to the rules when you save the document.
* An optional installation of the [VSCode ESLint extension](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint) runs `ESLint` on each file and display warnings and errors at once.
Expand All @@ -153,7 +153,7 @@ vale --minAlertLevel=suggestion .
```

#### XML
`Prettier for XML` formats the files according to the rules set in [.prettierrc.json](../.prettierrc.json).
`Prettier for XML` formats the files according to the rules set in [package.json](../package.json).

* An optional installation of the [Prettier - Code formatter extension](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode) automatically formats the `XML` file upon saving.
* The following command formats all `XML` files with `Prettier` and runs a simple [style sheet](../.github/build_scripts/stylesheet.xsl) over them to ensure that the `xsl:output attributes` have the correct case and form.
Expand Down
8 changes: 0 additions & 8 deletions .github/build_scripts/macOS_installer.sh

This file was deleted.

7 changes: 0 additions & 7 deletions .prettierrc.json

This file was deleted.

Loading

0 comments on commit cfae7ba

Please sign in to comment.