forked from xdy/twodsix-foundryvtt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Reformatting all files (using the current settings)
Should be chore, but I set it to fix to force a new release, as I have also reformatted the github workflow files and want to make sure nothing broke...
- Loading branch information
Showing
12 changed files
with
412 additions
and
390 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,68 +1,68 @@ | ||
--- | ||
env: | ||
browser: true | ||
es6: true | ||
browser: true | ||
es6: true | ||
extends: | ||
- eslint:recommended | ||
- plugin:@typescript-eslint/recommended | ||
- eslint-config-prettier | ||
- eslint:recommended | ||
- plugin:@typescript-eslint/recommended | ||
- eslint-config-prettier | ||
globals: | ||
Atomics: readonly | ||
SharedArrayBuffer: readonly | ||
ItemSheet: readonly | ||
game: readonly | ||
mergeObject: readonly | ||
CONFIG: writable | ||
duplicate: readonly | ||
"$": readonly | ||
Tabs: readonly | ||
Hooks: readonly | ||
Items: readonly | ||
loadTemplates: readonly | ||
Combat: writable | ||
canvas: readonly | ||
ActorSheet: readonly | ||
Actor: readonly | ||
Actors: readonly | ||
fetchSpell: readonly | ||
Atomics: readonly | ||
SharedArrayBuffer: readonly | ||
ItemSheet: readonly | ||
game: readonly | ||
mergeObject: readonly | ||
CONFIG: writable | ||
duplicate: readonly | ||
"$": readonly | ||
Tabs: readonly | ||
Hooks: readonly | ||
Items: readonly | ||
loadTemplates: readonly | ||
Combat: writable | ||
canvas: readonly | ||
ActorSheet: readonly | ||
Actor: readonly | ||
Actors: readonly | ||
fetchSpell: readonly | ||
parserOptions: | ||
ecmaVersion: 2018 | ||
sourceType: module | ||
ecmaVersion: 2018 | ||
sourceType: module | ||
rules: | ||
prettier/prettier: error | ||
no-restricted-syntax: 0 | ||
no-new: 0 | ||
no-underscore-dangle: 0 | ||
no-console: 0 | ||
class-methods-use-this: 0 | ||
max-classes-per-file: 0 | ||
prefer-destructuring: 0 | ||
no-plusplus: 0 | ||
no-undef: 0 | ||
prefer-rest-params: 0 | ||
"@typescript-eslint/explicit-module-boundary-types": | ||
- error | ||
- allowDirectConstAssertionInArrowFunctions: true | ||
allowHigherOrderFunctions: true | ||
allowTypedFunctionExpressions: true | ||
prettier/prettier: error | ||
no-restricted-syntax: 0 | ||
no-new: 0 | ||
no-underscore-dangle: 0 | ||
no-console: 0 | ||
class-methods-use-this: 0 | ||
max-classes-per-file: 0 | ||
prefer-destructuring: 0 | ||
no-plusplus: 0 | ||
no-undef: 0 | ||
prefer-rest-params: 0 | ||
"@typescript-eslint/explicit-module-boundary-types": | ||
- error | ||
- allowDirectConstAssertionInArrowFunctions: true | ||
allowHigherOrderFunctions: true | ||
allowTypedFunctionExpressions: true | ||
settings: | ||
import/resolver: | ||
node: | ||
paths: | ||
- src | ||
- '' | ||
- dist | ||
extensions: | ||
- ".js" | ||
- ".jsx" | ||
- ".ts" | ||
- ".tsx" | ||
- ".json" | ||
import/resolver: | ||
node: | ||
paths: | ||
- src | ||
- '' | ||
- dist | ||
extensions: | ||
- ".js" | ||
- ".jsx" | ||
- ".ts" | ||
- ".tsx" | ||
- ".json" | ||
plugins: | ||
- prettier | ||
- "@typescript-eslint" | ||
- prettier | ||
- "@typescript-eslint" | ||
overrides: | ||
- files: tests/**/* | ||
rules: | ||
global-require: 'off' | ||
- files: tests/**/* | ||
rules: | ||
global-require: 'off' | ||
parser: "@typescript-eslint/parser" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,10 @@ | ||
*.db text | ||
# Autodetect text files | ||
* text=auto eol=lf | ||
|
||
# Definitively text | ||
*.db text | ||
|
||
# Definitively not text | ||
*.jpg binary | ||
*.png binary | ||
*.pdf binary |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
sed -i -e 's|\(.*"version"\): "\(.*\)",.*|\1: '"\"$1\",|" static/system.json \ | ||
&& cp static/system.json dist \ | ||
&& sed -i -e 's|\(.*"version"\): "\(.*\)",.*|\1: '"\"$1\",|" package.json \ | ||
&& npm install \ | ||
&& npm audit fix \ | ||
&& cd dist || exit \ | ||
&& zip -r twodsix.zip ./* \ | ||
&& cd .. | ||
sed -i -e 's|\(.*"version"\): "\(.*\)",.*|\1: '"\"$1\",|" static/system.json && | ||
cp static/system.json dist && | ||
sed -i -e 's|\(.*"version"\): "\(.*\)",.*|\1: '"\"$1\",|" package.json && | ||
npm install && | ||
npm audit fix && | ||
cd dist || exit && | ||
zip -r twodsix.zip ./* && | ||
cd .. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<div class="tab info" data-group="primary" data-tab="-info"> | ||
{{editor content=data.details.description target="data.details.description" button=true owner=owner | ||
editable=editable}} | ||
{{editor content=data.details.description target="data.details.description" button=true owner=owner | ||
editable=editable}} | ||
</div> |
Oops, something went wrong.