update prettier config to differentiate node scripts from babel compiled modules
This commit is contained in:
parent
7e759f559c
commit
3c54794445
|
@ -1,6 +1,3 @@
|
||||||
/config/
|
|
||||||
/node_modules/
|
/node_modules/
|
||||||
/public/
|
/public/
|
||||||
/vendor/
|
/vendor/
|
||||||
karma.config.js
|
|
||||||
webpack.config.js
|
|
||||||
|
|
10
.prettierrc
10
.prettierrc
|
@ -1,5 +1,13 @@
|
||||||
{
|
{
|
||||||
"printWidth": 100,
|
"printWidth": 100,
|
||||||
"singleQuote": true,
|
"singleQuote": true,
|
||||||
"trailingComma": "all"
|
"trailingComma": "es5",
|
||||||
|
"overrides": [
|
||||||
|
{
|
||||||
|
"files": ["app/assets/javascripts/*", "spec/javascripts/*"],
|
||||||
|
"options": {
|
||||||
|
"trailingComma": "all"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue