monkeytype/frontend
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
..
scripts adds language validation check (#2995) tmuplayer33 2022-05-21 00:21:37 +02:00
src replace german ß accent with ss as it was used prior to the german spelling reform (#2992) tmuplayer33 2022-05-19 11:29:03 +02:00
static adds language validation check (#2995) tmuplayer33 2022-05-21 00:21:37 +02:00
webpack rebuilding remplate on save 2022-05-03 18:57:33 +02:00
.eslintignore
firebase.json added rewrite for static pages, removed redirect 2022-04-06 01:32:37 +02:00
gulpfile.js Rename scripts to ts (#2869) ferotiq 2022-04-24 17:20:30 +02:00
package-lock.json rebuilding remplate on save 2022-05-03 18:57:33 +02:00
package.json definitely didnt forget about those 2022-05-05 23:35:40 +02:00
tsconfig.json Rename scripts to ts (#2869) ferotiq 2022-04-24 17:20:30 +02:00