This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
props: { | |
someObject: { | |
type: Object, | |
default: () => ({}), | |
}, | |
}, | |
created() { | |
console.log(this.someObject); // {__ob__: Observer} | |
let variant1 = JSON.parse(JSON.stringify(this.someObject)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
root: true, | |
env: { | |
es2021: true, | |
browser: true, | |
node: true | |
}, | |
plugins: [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div class="Modal"> | |
<button v-on:click="isVisible = true" type="button">Показать попап</button> | |
<modal v-bind:show="isVisible"> | |
<div>какой то контент</div> | |
</modal> | |
</div> | |
</template> | |
<script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"formatOnSave": true, | |
"block-indent": 2, | |
"lines-between-rulesets": 1, | |
"remove-empty-rulesets": true, | |
"always-semicolon": true, | |
"color-case": "lower", | |
"color-shorthand": false, | |
"element-case": "lower", | |
"eof-newline": true, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# EditorConfig is awesome: http://EditorConfig.org | |
# top-most EditorConfig file | |
root = true | |
# для всех файлов | |
[*] | |
charset = utf-8 | |
end_of_line = lf | |
indent_style = space |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
exclude: 'email-templates/**/*' | |
linters: | |
Comment: | |
allowed: '^[/* ]' | |
HexLength: | |
style: 'long' | |
ImportantRule: | |
enabled: false | |
LeadingZero: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
exclude: | |
- 'app/views/markup/**/*.slim' | |
- 'app/views/admin/base/_editor_icons.html.slim' | |
- 'app/views/layouts/mailer.html.slim' | |
linters: | |
CommentControlStatement: | |
enabled: true | |
ConsecutiveControlStatements: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"coffeescript_error": { | |
"level": "error" | |
}, | |
"cyclomatic_complexity": { | |
"level": "warn", | |
"value": 10 | |
}, | |
"max_line_length": { | |
"name": "max_line_length", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
chat-evil-martians |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ruby-2.6.3 |
OlderNewer