-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 31-spellTags * lint + partial PowerData update * More PowerData updates * Sheet Rendering * Compendium Browser Compatibility * Implemented basic power point consumption usage * Improved Psi Point labeling * Psionic Power Defaults * Eliminated deprecation warnings from referencing consume * fixed components * Added control hints * Changelog updates * Added Augmenting field to the new sheet * PreCreate hook with useful default * Updated Screenshots
- Loading branch information
Showing
17 changed files
with
2,764 additions
and
614 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
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 |
---|---|---|
@@ -0,0 +1,80 @@ | ||
import globals from "globals"; | ||
import path from "node:path"; | ||
import {fileURLToPath} from "node:url"; | ||
import js from "@eslint/js"; | ||
import {FlatCompat} from "@eslint/eslintrc"; | ||
|
||
const __filename = fileURLToPath(import.meta.url); | ||
const __dirname = path.dirname(__filename); | ||
const compat = new FlatCompat({ | ||
baseDirectory: __dirname, | ||
recommendedConfig: js.configs.recommended, | ||
allConfig: js.configs.all | ||
}); | ||
|
||
export default [{ | ||
ignores: ["foundry/**/*", "dnd5e/**/*"] | ||
}, ...compat.extends("eslint:recommended"), { | ||
languageOptions: { | ||
globals: { | ||
...globals.browser | ||
}, | ||
|
||
ecmaVersion: "latest", | ||
sourceType: "module" | ||
}, | ||
|
||
rules: { | ||
indent: ["error", 2, { | ||
SwitchCase: 1 | ||
}], | ||
|
||
"linebreak-style": ["error", "unix"], | ||
quotes: ["error", "double"], | ||
semi: ["error", "always"], | ||
"quote-props": ["error", "as-needed"], | ||
"array-bracket-newline": ["error", "consistent"], | ||
"no-unused-vars": 0, | ||
"key-spacing": "error", | ||
"comma-dangle": "error", | ||
"space-in-parens": ["error", "never"], | ||
"space-infix-ops": 2, | ||
"keyword-spacing": 2, | ||
"semi-spacing": 2, | ||
"no-multi-spaces": 2, | ||
"no-extra-semi": 2, | ||
"no-whitespace-before-property": 2, | ||
"space-unary-ops": 2, | ||
|
||
"no-multiple-empty-lines": ["error", { | ||
max: 1, | ||
maxEOF: 0 | ||
}], | ||
|
||
"object-curly-spacing": ["error", "never"], | ||
"comma-spacing": ["error"], | ||
"no-undef": "off", | ||
"space-before-blocks": 2, | ||
"arrow-spacing": 2, | ||
"eol-last": ["error", "always"], | ||
|
||
"no-mixed-operators": ["error", { | ||
allowSamePrecedence: true, | ||
|
||
groups: [[ | ||
"==", | ||
"!=", | ||
"===", | ||
"!==", | ||
">", | ||
">=", | ||
"<", | ||
"<=", | ||
"&&", | ||
"||", | ||
"in", | ||
"instanceof" | ||
]] | ||
}] | ||
} | ||
}]; |
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
Oops, something went wrong.