[READ-ONLY] Mirror of https://github.com/wojtekmaj/date-utils. A collection of date-related utilities.
date utils
0

Configure Feed

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

date-utils / biome.json
2.6 kB 110 lines
1{ 2 "$schema": "https://biomejs.dev/schemas/2.4.10/schema.json", 3 "files": { 4 "includes": [ 5 "**", 6 "!**/.yarn", 7 "!**/coverage", 8 "!**/dist", 9 "!**/.pnp.cjs", 10 "!**/.pnp.loader.mjs" 11 ] 12 }, 13 "assist": { 14 "actions": { 15 "source": { 16 "organizeImports": { 17 "level": "on", 18 "options": { 19 "groups": [ 20 { "type": false, "source": ":NODE:" }, 21 { "type": false, "source": ["vitest", "vitest/**", "@vitest/**", "vitest-*"] }, 22 { "type": false, "source": ["react", "react-dom", "react-dom/**", "react-native"] }, 23 { "type": false, "source": [":PACKAGE:"] }, 24 ":BLANK_LINE:", 25 { 26 "type": false, 27 "source": [ 28 ":PATH:", 29 "!**/hooks/*", 30 "!**/use*.js", 31 "!**/shared/*", 32 "!**/utils/*", 33 "!**/__mocks__/*", 34 "!**/test-utils.js" 35 ] 36 }, 37 ":BLANK_LINE:", 38 { "type": false, "source": ["**/hooks/*", "**/use*.js"] }, 39 ":BLANK_LINE:", 40 { "type": false, "source": ["**/shared/*", "**/utils/*"] }, 41 ":BLANK_LINE:", 42 { "type": false, "source": "**/__mocks__/*" }, 43 ":BLANK_LINE:", 44 { "type": false, "source": "**/test-utils.js" }, 45 ":BLANK_LINE:", 46 ":NODE:", 47 ":PACKAGE:", 48 ":PATH:" 49 ] 50 } 51 } 52 } 53 } 54 }, 55 "formatter": { 56 "lineWidth": 100, 57 "indentStyle": "space" 58 }, 59 "linter": { 60 "rules": { 61 "complexity": { 62 "noUselessSwitchCase": "off" 63 }, 64 "correctness": { 65 "noUnusedImports": "warn", 66 "noUnusedVariables": { 67 "level": "warn", 68 "options": { 69 "ignoreRestSiblings": true 70 } 71 } 72 }, 73 "suspicious": { 74 "noConsole": "warn" 75 }, 76 "style": { 77 "noCommonJs": "error", 78 "useBlockStatements": "error", 79 "useImportType": { 80 "level": "error", 81 "options": { 82 "style": "separatedType" 83 } 84 } 85 } 86 } 87 }, 88 "css": { 89 "formatter": { 90 "quoteStyle": "single" 91 } 92 }, 93 "javascript": { 94 "formatter": { 95 "quoteStyle": "single" 96 } 97 }, 98 "overrides": [ 99 { 100 "includes": ["**/vite.config.ts"], 101 "linter": { 102 "rules": { 103 "suspicious": { 104 "noConsole": "off" 105 } 106 } 107 } 108 } 109 ] 110}