mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
Update js_style_guide.md
We need to explicitly rule out using double-quotes to escape single quotes. Consider looking into our lint/prettier ruleset for enforcement.
This commit is contained in:
parent
3b0cc4e886
commit
795ee7e5d8
1 changed files with 1 additions and 0 deletions
|
@ -93,6 +93,7 @@ const foo = `You won't believe this.`;
|
|||
|
||||
// bad
|
||||
const foo = 'You won\'t believe this.';
|
||||
const foo = "You won't believe this.";
|
||||
```
|
||||
|
||||
## Use object destructuring
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue