UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Verified Commit 118ba18e authored by Douglas Lagemann's avatar Douglas Lagemann
Browse files

Add dependencies for lint. Remove package-lock

parent e3d044d3
No related branches found
No related tags found
1 merge request!1BULL-3231: Add dependencies for lint. Remove package-lock
This commit is part of merge request !1. Comments created here will be created in the context of that merge request.
......@@ -36,4 +36,4 @@ app.use((err, req, res, next) => {
app.listen(port, () => {
console.log(`App is running at http://localhost:${port}`);
});
\ No newline at end of file
});
import globals from "globals";
import pluginJs from "@eslint/js";
export default [
{
files: ["**/*.js"], languageOptions: {sourceType: "commonjs"}
},
{
languageOptions: { globals: globals.browser },
rules: {
"no-unused-vars": ["error", { "argsIgnorePattern": "next" }]
}
},
pluginJs.configs.recommended,
];
This diff is collapsed.
{
"name": "<<projectName>>-api",
"version": "1.0.0",
"description": "",
"main": "app.js",
"scripts": {
"start": "node app.js",
"dev": "node app.js",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"express": "^4.21.1"
},
"devDependencies": {
"@eslint/js": "^9.13.0",
"eslint": "^9.13.0",
"globals": "^15.11.0"
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment