Skip to content

Commit f4d4cce

Browse files
committed
chore: update jiti dependency to version 2.6.0 and adjust ESLint configuration for object property formatting
1 parent 97d3f4f commit f4d4cce

File tree

3 files changed

+15
-10
lines changed

3 files changed

+15
-10
lines changed

bun.lock

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"name": "note-block-world",
66
"dependencies": {
77
"@nbw/sounds": "workspace:*",
8+
"jiti": "^2.6.0",
89
"ts-node": "^10.9.1",
910
},
1011
"devDependencies": {
@@ -1948,7 +1949,7 @@
19481949

19491950
"jest-worker": ["[email protected]", "", { "dependencies": { "@types/node": "*", "merge-stream": "^2.0.0", "supports-color": "^8.0.0" } }, "sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg=="],
19501951

1951-
"jiti": ["jiti@1.21.7", "", { "bin": { "jiti": "bin/jiti.js" } }, "sha512-/imKNG4EbWNrVjoNC/1H5/9GFy+tqjGBHCaSsN+P2RnPqjsLmv6UD3Ej+Kj8nBWaRAwyk7kK5ZUc+OEatnTR3A=="],
1952+
"jiti": ["jiti@2.6.0", "", { "bin": { "jiti": "lib/jiti-cli.mjs" } }, "sha512-VXe6RjJkBPj0ohtqaO8vSWP3ZhAKo66fKrFNCll4BTcwljPLz03pCbaNKfzGP5MbrCYcbJ7v0nOYYwUzTEIdXQ=="],
19521953

19531954
"js-beautify": ["[email protected]", "", { "dependencies": { "config-chain": "^1.1.13", "editorconfig": "^1.0.4", "glob": "^10.4.2", "js-cookie": "^3.0.5", "nopt": "^7.2.1" }, "bin": { "css-beautify": "js/bin/css-beautify.js", "html-beautify": "js/bin/html-beautify.js", "js-beautify": "js/bin/js-beautify.js" } }, "sha512-9/KXeZUKKJwqCXUdBxFJ3vPh467OCckSBmYDwSK/EtV090K+iMJ7zx2S3HLVDIWFQdqMIsZWbnaGiba18aWhaA=="],
19541955

@@ -3868,6 +3869,8 @@
38683869

38693870
"tailwindcss/arg": ["[email protected]", "", {}, "sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg=="],
38703871

3872+
"tailwindcss/jiti": ["[email protected]", "", { "bin": { "jiti": "bin/jiti.js" } }, "sha512-/imKNG4EbWNrVjoNC/1H5/9GFy+tqjGBHCaSsN+P2RnPqjsLmv6UD3Ej+Kj8nBWaRAwyk7kK5ZUc+OEatnTR3A=="],
3873+
38713874
"terser/commander": ["[email protected]", "", {}, "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ=="],
38723875

38733876
"terser-webpack-plugin/@jridgewell/trace-mapping": ["@jridgewell/[email protected]", "", { "dependencies": { "@jridgewell/resolve-uri": "^3.1.0", "@jridgewell/sourcemap-codec": "^1.4.14" } }, "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ=="],

eslint.config.ts

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -113,15 +113,7 @@ const config: Linter.FlatConfig[] = [
113113
],
114114

115115
// Object formatting - allow single line objects
116-
'object-curly-newline': [
117-
'warn',
118-
{
119-
ObjectExpression: { multiline: true, consistent: true },
120-
ObjectPattern: { multiline: true, consistent: true },
121-
ImportDeclaration: { multiline: true, consistent: true },
122-
ExportDeclaration: { multiline: true, consistent: true },
123-
},
124-
],
116+
'object-curly-newline': 'off',
125117

126118
// Align colons in multiline objects
127119
'key-spacing': [
@@ -130,6 +122,15 @@ const config: Linter.FlatConfig[] = [
130122
beforeColon: false,
131123
afterColon: true,
132124
mode: 'strict',
125+
align: 'value',
126+
},
127+
],
128+
129+
// Ensure consistent object property formatting
130+
'object-property-newline': [
131+
'warn',
132+
{
133+
allowAllPropertiesOnSameLine: true,
133134
},
134135
],
135136
},

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@
8686
},
8787
"dependencies": {
8888
"@nbw/sounds": "workspace:*",
89+
"jiti": "^2.6.0",
8990
"ts-node": "^10.9.1"
9091
}
9192
}

0 commit comments

Comments
 (0)