mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 22:43:30 +03:00
1688b17c49
- General code cleanup - Removed unused notContains rule - Swapped custom empty rule for builtin isEmpty rule - Dropped usage of .extend on validator, as this was removed 2 years ago! - This will allow us to upgrade the validator dependency to a much newer version - Changed our internal validator module to only expose the functions we use. - This gives us a clearer Public API - It makes it easier to see if we are affected by changes in validator - It's still easy to add another validator, we just have to update what we require - We can potentially use this to make smaller builds esp for client-side usage - Once ripped out into a module we can use ES imports :D - Rejigged and _slightly_ improved the tests |
||
---|---|---|
.. | ||
api-acceptance | ||
frontend-acceptance | ||
regression | ||
unit | ||
utils | ||
.eslintignore | ||
.eslintrc.js | ||
.jshintrc |