Commit Graph

9 Commits

Author SHA1 Message Date
Matt Godbolt
9e9e035b28 Rephrase frontend imports (#7824)
- Removes `rootDirs` so all imports will be relative in the frontend
- Updates (and unifies) imports to be `../types/...` etc instead of
relying on "types" being in the rootDir for the frontend.
- Fixes one type that was being picked up from `lib` in the frontend.
- Adds a precommit hook to check in future

Paves the way to writing _unit_ tests for the frontend for the subset of
the frontend code we can import from `node` (which might be a lot of
it!)
2025-06-18 09:04:23 -05:00
Matt Godbolt
a8dd32f9a6 Bump husky and update (#6065) 2024-01-29 22:13:29 -06:00
Jeremy Rifkin
85a2f40699 Invoke lint-staged with --verbose (#4392) 2022-12-03 17:03:29 +01:00
Jeremy Rifkin
bb647eb6ab Don't test during precommit (#4341) 2022-11-25 20:14:26 -05:00
Rubén Rincón Blanco
16b176235a JBOF: Just a Bunch of Fixes (#3957)
- Renames orphancompiler.py script to propscheck.py, the name fits better
- Fixes Go props to make them easier to maintain
- Alphabetically sorts some listings in the code
- Adds tests to the props checker script (No idea how to integrate those so it's manual for now)
- Adds 2 missing limit cases for Motd filtering
2022-08-13 01:39:41 +02:00
Rubén Rincón Blanco
48eee26d2c Group some files to their own folders (#3384)
* Group some files to their own folders

In etc/scripts/, added disasms/, docenizers/, and util/ folders
In lib/, added mapfiles/, and parsers/ folders (+moved google.js to
shortener)
In static/, added widgets/ folder

Added cypress folder to .gitignore

* Address Matt's PR reviews

* Move new Pane renaming to folder
2022-02-22 00:18:21 +01:00
Rubén Rincón Blanco
57ec09a7d2 Fixes OpenCLs defaultCompilers to (prob.) intended ones (#3381)
* Fix OpenCLs default compilers to intended ones. Adds check in script

* Adds config check script to pre-commit hook
2022-02-19 21:33:16 +01:00
Patrick Quist
b03f6a7e7b Makefixes (#3227)
* move ts-node to normal dependencies

* always install everything

* need node things to precommit
2022-01-01 15:18:13 +01:00
Rubén Rincón Blanco
3d68f5382e Implements Prettier formatting (#2766) 2021-08-28 14:41:28 +02:00