It's ready!
This commit is contained in:
parent
7060aebbad
commit
d471614837
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"semi": true,
|
||||
"tabWidth": 4,
|
||||
"printWidth": 120,
|
||||
"singleQuote": false,
|
||||
"bracketSpacing": true,
|
||||
"importOrderSeparation": true,
|
||||
"importOrderSortSpecifiers": true,
|
||||
"requirePaddingNewLinesBetweenLines": true
|
||||
}
|
|
@ -0,0 +1,90 @@
|
|||
{
|
||||
"better-comments.tags": [
|
||||
{
|
||||
"tag": "!",
|
||||
"color": "#FF2D00",
|
||||
"strikethrough": false,
|
||||
"underline": false,
|
||||
"backgroundColor": "transparent",
|
||||
"bold": false,
|
||||
"italic": false
|
||||
},
|
||||
{
|
||||
"tag": "?",
|
||||
"color": "#3498DB",
|
||||
"strikethrough": false,
|
||||
"underline": false,
|
||||
"backgroundColor": "transparent",
|
||||
"bold": false,
|
||||
"italic": false
|
||||
},
|
||||
{
|
||||
"tag": "//",
|
||||
"color": "#474747",
|
||||
"strikethrough": true,
|
||||
"underline": false,
|
||||
"backgroundColor": "transparent",
|
||||
"bold": false,
|
||||
"italic": false
|
||||
},
|
||||
{
|
||||
"tag": "todo",
|
||||
"color": "#FF8C00",
|
||||
"strikethrough": false,
|
||||
"underline": false,
|
||||
"backgroundColor": "transparent",
|
||||
"bold": false,
|
||||
"italic": false
|
||||
},
|
||||
{
|
||||
"tag": "*",
|
||||
"color": "#98C379",
|
||||
"strikethrough": false,
|
||||
"underline": false,
|
||||
"backgroundColor": "transparent",
|
||||
"bold": false,
|
||||
"italic": false
|
||||
},
|
||||
{
|
||||
"tag": "#",
|
||||
"color": "#00FFFF",
|
||||
"strikethrough": false,
|
||||
"underline": false,
|
||||
"backgroundColor": "transparent",
|
||||
"bold": false,
|
||||
"italic": false
|
||||
}
|
||||
],
|
||||
"workbench.iconTheme": "material-icon-theme",
|
||||
"terminal.integrated.defaultProfile.windows": "Command Prompt",
|
||||
"files.autoSave": "afterDelay",
|
||||
"workbench.startupEditor": "none",
|
||||
"[javascriptreact]": {
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||
},
|
||||
"[javascript]": {
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||
},
|
||||
"[css]": {
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||
},
|
||||
"git.enableSmartCommit": true,
|
||||
"explorer.compactFolders": false,
|
||||
"[typescriptreact]": {
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||
},
|
||||
"[typescript]": {
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||
},
|
||||
"[json]": {
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||
},
|
||||
"[jsonc]": {
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||
},
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
||||
"prettier.configPath": ".prettierrc.json",
|
||||
"explorer.confirmDelete": false,
|
||||
"editor.formatOnSave": true,
|
||||
"notebook.defaultFormatter": "esbenp.prettier-vscode"
|
||||
}
|
|
@ -0,0 +1,18 @@
|
|||
import globals from "globals";
|
||||
import pluginJs from "@eslint/js";
|
||||
|
||||
export default [
|
||||
{ files: ["**/*.js"], languageOptions: { sourceType: "commonjs" } },
|
||||
{ languageOptions: { globals: globals.browser } },
|
||||
pluginJs.configs.recommended,
|
||||
{
|
||||
rules: {
|
||||
"prefer-const": "off",
|
||||
"quotes": ["warn", "double", { "allowTemplateLiterals": true }],
|
||||
"no-unused-vars": "warn",
|
||||
"no-multi-spaces": "warn",
|
||||
"no-multiple-empty-lines": ["warn", { "max": 1 }],
|
||||
"no-case-declarations": "off"
|
||||
}
|
||||
}
|
||||
];
|
File diff suppressed because it is too large
Load Diff
|
@ -13,6 +13,9 @@
|
|||
"express": "^4.19.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@eslint/js": "^9.4.0",
|
||||
"eslint": "^9.4.0",
|
||||
"globals": "^15.4.0",
|
||||
"nodemon": "^3.1.3"
|
||||
}
|
||||
}
|
||||
|
|
10
src/app.js
10
src/app.js
|
@ -1,9 +1,9 @@
|
|||
const express = require('express')
|
||||
const express = require("express");
|
||||
|
||||
const app = express()
|
||||
const app = express();
|
||||
|
||||
app.use((req, res, next) => {
|
||||
res.send('Hello')
|
||||
})
|
||||
res.send("Hello");
|
||||
});
|
||||
|
||||
app.listen(3000)
|
||||
app.listen(3000);
|
||||
|
|
Loading…
Reference in New Issue