Dark_Mift
Dark_Mift
Explore posts from servers
NNuxt
Created by Dark_Mift on 2/12/2025 in #❓・help
lint+prettier integrations/issues in vscode
hey folks,can someone point me to a nuxt example project with linting and formatting rules? I managed to get it set up but having an issue where the built in formatter is not respecting the formatting rules. is there a proper way to link it to a prettierrc? here'swhat i got so far... would appreciate your help 🙏
//nuxt.config
eslint: {
checker: true,
config: {
stylistic: {
flat: true, // required for flat config
indent: 2,
quotes: 'single',
semi: false,
arrowParens: true,
blockSpacing: true,
commaDangle: 'never'
}
}
},

//eslint.config
// @ts-check
import withNuxt from './.nuxt/eslint.config.mjs'

export default withNuxt({
rules: {
'@typescript-eslint/no-unused-vars': [
'error',
{
varsIgnorePattern: '^_',
argsIgnorePattern: '^_',
caughtErrorsIgnorePattern: '^_'
}
]
}
})
//nuxt.config
eslint: {
checker: true,
config: {
stylistic: {
flat: true, // required for flat config
indent: 2,
quotes: 'single',
semi: false,
arrowParens: true,
blockSpacing: true,
commaDangle: 'never'
}
}
},

//eslint.config
// @ts-check
import withNuxt from './.nuxt/eslint.config.mjs'

export default withNuxt({
rules: {
'@typescript-eslint/no-unused-vars': [
'error',
{
varsIgnorePattern: '^_',
argsIgnorePattern: '^_',
caughtErrorsIgnorePattern: '^_'
}
]
}
})
7 replies
NNuxt
Created by Dark_Mift on 1/2/2025 in #❓・help
TS false property not exists message (TS not detecting type in template)
No description
9 replies
CC#
Created by Dark_Mift on 6/28/2024 in #help
Request for in depth material regarding auth implementation in. net
I want to get a decent grasp of how to properly implement dotnet auth in core MVC. Material i found mixes api stuff into this and its somewhat confusing how identity or jwt is correctly applied.
1 replies
CC#
Created by Dark_Mift on 6/20/2024 in #help
✅ .net best practices & useful patterns
Hi all, Looking for relevant material on the subject. Would appreciate your help. - main subjects 1. SQL related development. 2.windows forms. 3.APIs.
3 replies
DTDrizzle Team
Created by Dark_Mift on 5/4/2024 in #help
Transaction failing issue
Hey all, I am trying to implement a transaction here Adding a cartId to rows based on certian logic I tried many combinations and even a raw sql version but I cannot determine why I am getting a rollback I am hoping one of you can see what I am doing wrong here https://github.com/Darkmift/pc-shopping-cart-limit-oversell/blob/6aaba73704774f151cb7c28ec4fd466678d8d540/src/api/product-inventory/product-inventory.service.ts#L83
2 replies