[READ-ONLY] Mirror of https://github.com/wojtekmaj/is-valid-utr. Check if a number is a valid Unique Taxpayer Reference (UTR).
0

Configure Feed

Select the types of activity you want to include in your feed.

Enable Biome Import Organizer

+44
+43
biome.json
··· 11 11 "!**/.pnp.loader.mjs" 12 12 ] 13 13 }, 14 + "assist": { 15 + "actions": { 16 + "source": { 17 + "organizeImports": { 18 + "level": "on", 19 + "options": { 20 + "groups": [ 21 + { "type": false, "source": ":NODE:" }, 22 + { "type": false, "source": ["vitest", "vitest/**", "@vitest/**", "vitest-*"] }, 23 + { "type": false, "source": "@testing-library/**" }, 24 + { "type": false, "source": ["react", "react-dom", "react-dom/**", "react-native"] }, 25 + { "type": false, "source": [":PACKAGE:"] }, 26 + ":BLANK_LINE:", 27 + { 28 + "type": false, 29 + "source": [ 30 + ":PATH:", 31 + "!**/hooks/*", 32 + "!**/use*.js", 33 + "!**/shared/*", 34 + "!**/utils/*", 35 + "!**/__mocks__/*", 36 + "!**/test-utils.js" 37 + ] 38 + }, 39 + ":BLANK_LINE:", 40 + { "type": false, "source": ["**/hooks/*", "**/use*.js"] }, 41 + ":BLANK_LINE:", 42 + { "type": false, "source": ["**/shared/*", "**/utils/*"] }, 43 + ":BLANK_LINE:", 44 + { "type": false, "source": "**/__mocks__/*" }, 45 + ":BLANK_LINE:", 46 + { "type": false, "source": "**/test-utils.js" }, 47 + ":BLANK_LINE:", 48 + ":NODE:", 49 + ":PACKAGE:", 50 + ":PATH:" 51 + ] 52 + } 53 + } 54 + } 55 + } 56 + }, 14 57 "formatter": { 15 58 "lineWidth": 100, 16 59 "indentStyle": "space"
+1
src/index.spec.ts
··· 1 1 import { describe, expect, it } from 'vitest'; 2 + 2 3 import isValidUTR from './index.js'; 3 4 4 5 describe('isValidUTR', () => {