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
const getAjax = url => { | |
return new Promise((resolve, reject) => { | |
let xhr = new XMLHttpRequest(); | |
xhr.open('GET', url); | |
xhr.responseType = 'json'; | |
xhr.addEventListener('load', () => { | |
if (xhr.status === 200) { | |
resolve(xhr.response); | |
} else { |
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
{ | |
"types": { | |
"feat": { | |
"description": "A new feature", | |
"title": "Features" | |
}, | |
"fix": { | |
"description": "A bug fix", | |
"title": "Bug Fixes" | |
}, |
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 = { | |
plugins: { | |
'postcss-easy-import': { | |
prefix: '_' | |
}, | |
'postcss-nested': {}, | |
autoprefixer: {}, | |
}, | |
}; |
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 = { | |
css: { | |
modules: true, | |
sourceMap: true, | |
loaderOptions: { | |
sass: { | |
data: `@import "@/assets/css/libs/variables.scss";` | |
} | |
} | |
}, |
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
{ | |
"$schema": "http://json.schemastore.org/prettierrc", | |
"printWidth": 100, | |
"singleQuote": true, | |
"trailingComma": "es5", | |
"bracketSpacing": true, | |
"jsxBracketSameLine": true, | |
"htmlWhitespaceSensitivity": "ignore", | |
"vueIndentScriptAndStyle": 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
[development] | |
last 1 chrome version | |
last 1 firefox version | |
[production] | |
defaults | |
ie 11 | |
[staging] | |
defaults |
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 |
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
{ | |
"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
exclude: | |
- 'app/views/markup/**/*.slim' | |
- 'app/views/admin/base/_editor_icons.html.slim' | |
- 'app/views/layouts/mailer.html.slim' | |
linters: | |
CommentControlStatement: | |
enabled: true | |
ConsecutiveControlStatements: |