Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

3 votes
1 answer
711 views

Why is my glob in my npm script not working?

I am trying to create a regex glob for an NPM script. This is what I have: "format": "prettier-eslint --write \"{,!(node_modules|cypressTests)/**/}*.{js,json,vue}\"" And ...
mcool's user avatar
  • 695
1 vote
1 answer
137 views

I got "Delete `CD`" message from eslint error

I'm writing my first lines on Nestjs but when I create my first .ts file I got this error, I don't understand what this means.
Jorge V.'s user avatar
15 votes
2 answers
27k views

How to configure prettier to check all files with a specific extension

I have installed prettier via yarn add prettier I would like prettier to only format typescript code (I am developing AWS CDK project, there is no src folder by convention & there could be ...
user842225's user avatar
  • 5,901
0 votes
1 answer
374 views

How to match Node.js server's ESLint rules to my Vue.js frontend's ESLint rules?

I want to have my serverside files in Node.js to have the exact same ESLint rules as my Vue.js frontend. The .eslintrc.js file in my Vue project looks like this: module.exports = { root: true, env:...
Raj's user avatar
  • 1,645