All Questions
Tagged with prettier-eslint node.js
4
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 ...
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.
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 ...
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:...