-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
964d9dd
commit 92f24df
Showing
89 changed files
with
9,347 additions
and
6,321 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 |
---|---|---|
@@ -0,0 +1 @@ | ||
* text=auto |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
/.vscode | ||
/node_modules | ||
/_docs | ||
/_types | ||
/module.zip | ||
/script.js | ||
/script.js.map |
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 |
---|---|---|
@@ -0,0 +1,61 @@ | ||
import globals from "globals"; | ||
import pluginJs from "@eslint/js"; | ||
import stylistic from "@stylistic/eslint-plugin"; | ||
|
||
export default [ | ||
{ | ||
ignores: ["_docs", "_types", "script.js"], | ||
}, | ||
pluginJs.configs.recommended, | ||
stylistic.configs.customize({ | ||
indent: 4, | ||
quotes: "double", | ||
semi: true, | ||
jsx: false, | ||
arrowParens: "always", | ||
braceStyle: "1tbs", | ||
blockSpacing: true, | ||
quoteProps: "consistent-as-needed", | ||
commaDangle: "always-multiline", | ||
}), | ||
{ | ||
languageOptions: { | ||
ecmaVersion: "latest", | ||
globals: { | ||
...globals.browser, | ||
canvas: "readonly", | ||
CONFIG: "readonly", | ||
CONST: "readonly", | ||
DetectionMode: "readonly", | ||
foundry: "readonly", | ||
game: "readonly", | ||
Hooks: "readonly", | ||
libWrapper: "readonly", | ||
PIXI: "readonly", | ||
}, | ||
}, | ||
rules: { | ||
"no-unused-vars": ["error", { | ||
vars: "all", | ||
args: "none", | ||
argsIgnorePattern: "^_", | ||
caughtErrors: "all", | ||
caughtErrorsIgnorePattern: "^_", | ||
destructuredArrayIgnorePattern: "^_", | ||
ignoreRestSiblings: false, | ||
reportUsedIgnorePattern: false, | ||
}], | ||
"@stylistic/padding-line-between-statements": [ | ||
"error", | ||
{ blankLine: "always", prev: "*", next: ["block-like", "break", "class", "continue", "function", "return"] }, | ||
{ blankLine: "always", prev: ["block-like", "class", "function"], next: "*" }, | ||
{ blankLine: "always", prev: "expression", next: ["const", "let", "var"] }, | ||
{ blankLine: "always", prev: ["const", "let", "var"], next: "expression" }, | ||
{ blankLine: "never", prev: ["break", "continue", "return"], next: "*" }, | ||
{ blankLine: "never", prev: "*", next: "case" }, | ||
], | ||
"@stylistic/no-mixed-operators": "off", | ||
"@stylistic/no-multiple-empty-lines": ["error", { max: 1, maxBOF: 0, maxEOF: 0 }], | ||
}, | ||
}, | ||
]; |
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.
Oops, something went wrong.