mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2025-01-07 12:21:33 +00:00
dd43acecea
* Added VSCode settings to git repo. Now you can match yours with mine, if you want. * Added .jsbeautifyrc for js-beautify (to be used by VSCode's Beautify extension). * Refactored all instances of require('**/*.js') with require('**/*') wherever applicable (basically gotten rid of the .js extension). * Refactored path in all instances of require() wherever applicable. * Sorted instances of require() wherever applicable. * Fixed 500 HTTP error trying to load an error page for 505 HTTP error. * Removed special treatement of NoJS page from uploadsController.processFilesForDisplay(). * Updated version string of all static files. * Beautified all HTML, HANDLEBARS and CSS files. * Refactored the structure of footer links in homepage and No-JS uploader. This should now fix homepage going out-of-bound in smaller screens. * Added CSS prefixes wherever applicable. * Improved back-end side of No-JS uploader. This will now handle errors properly. * No-JS uploader will now show max file size. * No-JS uploader will now show a proper message when private mode is enabled and/or registration is disabled.
33 lines
760 B
JSON
33 lines
760 B
JSON
{
|
|
"beautify.ignore": [
|
|
"**/*.js"
|
|
],
|
|
"beautify.language": {
|
|
"js": {},
|
|
"css": [
|
|
"css",
|
|
"scss"
|
|
],
|
|
"html": [
|
|
"htm",
|
|
"html",
|
|
"hbs",
|
|
"handlebars"
|
|
]
|
|
},
|
|
"discord.enabled": true,
|
|
"editor.formatOnPaste": false,
|
|
"editor.formatOnSave": true,
|
|
"editor.rulers": [
|
|
120
|
|
],
|
|
"editor.wordWrapColumn": 120,
|
|
"editor.wordWrap": "bounded",
|
|
"editor.wrappingIndent": "indent",
|
|
"eslint.enable": true,
|
|
"eslint.autoFixOnSave": true,
|
|
"javascript.format.enable": false,
|
|
"javascript.suggestionActions.enabled": false,
|
|
"javascript.validate.enable": false,
|
|
"npm-intellisense.importES6": false
|
|
} |