Skip to content

Commit

Permalink
Merge branch 'pallavi-cicd'
Browse files Browse the repository at this point in the history
  • Loading branch information
palldas committed May 21, 2024
2 parents 150a4bc + 78f49cb commit 27d15ab
Show file tree
Hide file tree
Showing 7 changed files with 4,368 additions and 10,272 deletions.
30 changes: 30 additions & 0 deletions backend/eslint.config.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
const tsParser = require("@typescript-eslint/parser");
const tsPlugin = require("@typescript-eslint/eslint-plugin");

module.exports = [
{
files: ["**/*.ts", "**/*.js"],
languageOptions: {
ecmaVersion: 2021,
sourceType: "module",
parser: {
parse: tsParser.parse.bind(tsParser),
parseForESLint: tsParser.parseForESLint.bind(tsParser),
},
globals: {
browser: true,
node: true,
},
},
plugins: {
"@typescript-eslint": tsPlugin,
},
rules: {
semi: ["error", "always"],
quotes: ["error", "double"],
},
linterOptions: {
reportUnusedDisableDirectives: true,
},
},
];
1 change: 0 additions & 1 deletion backend/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { userEndpoints } from "./routes/userRoutes";
import { groupEndpoints } from "./routes/groupRoutes";
import { basketEndpoints } from "./routes/basketRoutes";
import { itemEndpoints } from "./routes/itemRoutes";
import connectDB from "./connection";

const app: Express = express();
app.use(express.json());
Expand Down
Loading

0 comments on commit 27d15ab

Please sign in to comment.