Commit graph

7 commits

Author SHA1 Message Date
Miodec
8f489960f6 checking if layouts have a valid type 2022-08-22 14:22:16 +02:00
Miodec
145493be6d lowered threshold 2022-05-22 00:50:40 +02:00
Miodec
9811f3f1e5 lowered threshold, not comparing using rounded percentage 2022-05-21 01:02:37 +02:00
Miodec
b621c2a988 word duplicates reject validation with error 2022-05-21 00:59:48 +02:00
Miodec
81703b900e fixed count 2022-05-21 00:36:43 +02:00
digi
e0c9f3cdd7
adds language validation check (#2995) tmuplayer33
* adds language-validation.js

* run prettier

* run prettier on gulpfile.js

* moves language-validation.js functionality into json-validation.js, rollback gulpfile.js

* improves duplicate detection algorithm, removes constraint

* use duplicate detection from @Bruception

* moves findDuplicates function out of loop, adds duplicatePercentageThreshold

* removes russian_10k as 90% of the words are duplicates

* use Math.round to prevent errors when duplicatePercentageThreshold is 0

* remove duplicates from code_bash.json

* remove duplicates from code_brainfck.json

* remove duplicates from code_html.json

* no longer create error when duplicates are found

* run prettier

* lowered threshold, added count log

Co-authored-by: Maximilian Kronenbürger <maximilian.kronenbuerger@1und1.de>
Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-05-21 00:21:37 +02:00
Bruce Berrios
0fe99e0a28
Handle static assets with webpack (#2723) bruception
* Move some static file management to webpack

* Add build time feedback

* Add lint step back

* Use concurrently
2022-03-17 21:00:20 +01:00
Renamed from frontend/json-validation.js (Browse further)