I have some problems with the lint thingy.. where should I modify it to have it four spaces instead of 2?
In your project root, there's a file called eslintrc.js. In there, you should add the rule for spaces:
// allow paren-less arrow functions
// allow debugger during development
'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0,
// indent to 4 spaces
'indent': ['error', 4]
Also, if you use editorconfig, you can set that option in your .editorconfig file:
indent_size = 4
I'm not positive, but I think that should do it.
thanks man! i'll try it again :)
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.