mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-13 02:49:26 +02:00
* Standardize filenames to kebab-case Co-authored-by: pymilkmaiden <cassiopeiamahler56@gmail.com> * Move script outside of public folder * Move update_exp_sprites to scripts * Add ls-lint to lint file and directory names * Update lefthook.yml to skip merge / rebase on all pre-commit commands --------- Co-authored-by: pymilkmaiden <cassiopeiamahler56@gmail.com>
28 lines
570 B
YAML
28 lines
570 B
YAML
# Base settings to use
|
|
# Note that the `_cfg` key isn't part of ls-lint's configuration, it's just a YAML anchor for reuse.
|
|
_cfg: &cfg
|
|
.ps1: kebab-case
|
|
.ts: kebab-case
|
|
.js: kebab-case
|
|
.*.ts: kebab-case
|
|
.*.js: kebab-case
|
|
.dir: kebab-case
|
|
.py: snake_case # python files should always use snake_case
|
|
|
|
ls:
|
|
<<: *cfg
|
|
src:
|
|
<<: *cfg
|
|
.dir: kebab-case | regex:@types
|
|
.js: exists:0
|
|
src/system/version-migration/versions:
|
|
.ts: snake_case
|
|
<<: *cfg
|
|
|
|
ignore:
|
|
- node_modules
|
|
- .vscode
|
|
- .github
|
|
- .git
|
|
- public
|