Skip to content

Commit

Permalink
Moved stashed changes to a new branch
Browse files Browse the repository at this point in the history
  • Loading branch information
MuhammadAdnan111 committed Jan 15, 2025
1 parent f13f6cb commit 79ea3ce
Show file tree
Hide file tree
Showing 910 changed files with 50,394 additions and 57,778 deletions.
3 changes: 0 additions & 3 deletions enatega-multivendor-admin/.env

This file was deleted.

4 changes: 4 additions & 0 deletions enatega-multivendor-admin/.eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
src/assets/*
public/*
build/*
server/*
78 changes: 22 additions & 56 deletions enatega-multivendor-admin/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,61 +1,27 @@
{
"extends": ["next", "next/core-web-vitals", "eslint:recommended"],
"globals": {
"cy": "readonly",
"it": "readonly",
"React": "readonly",
"google": "readonly",
"GeolocationPosition": "readonly",
"GeolocationPositionError": "readonly"
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2023,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true,
"tsx": true
}
},
"plugins": [
"@typescript-eslint",
"prettier",
"unused-imports" // Added plugin for unused imports
],
"rules": {
// Allow .tsx and .jsx extensions for JSX files
"react/jsx-filename-extension": [1, { "extensions": [".tsx", ".jsx"] }],

// Remove unused variables
"@typescript-eslint/no-unused-vars": [
"error",
{ "varsIgnorePattern": "^_", "argsIgnorePattern": "^_" }
"env": {
"browser": true,
"es6": true
},
"extends": [
"plugin:react/recommended"
],

// Remove unused imports automatically
"unused-imports/no-unused-imports": "error",

// Remove unused variables but allow unused arguments prefixed with _
"unused-imports/no-unused-vars": [
"warn",
{
"vars": "all",
"varsIgnorePattern": "^_",
"args": "after-used",
"argsIgnorePattern": "^_"
}
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 10,
"sourceType": "module"
},
"plugins": [
"react"
],

// Prettier-related rules
// "prettier/prettier": ["error", {}, { "usePrettierrc": true }],

"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-explicit-any": "error",
"react-hooks/exhaustive-deps": "off"
},
"settings": {
"import/resolver": {
"typescript": {}
"rules": {
"space-before-function-paren": ["error", "never"],
"react/prop-types": 0
}
}
}
40 changes: 2 additions & 38 deletions enatega-multivendor-admin/.gitignore
Original file line number Diff line number Diff line change
@@ -1,39 +1,3 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js
.yarn/install-state.gz

# testing
/coverage

# next.js
/.next/
/out/

# production
node_modules
/build

# misc
.DS_Store
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# local env files
.env*.local

# vercel
.vercel

# typescript
*.tsbuildinfo
next-env.d.ts

*storybook.log

.env
1 change: 0 additions & 1 deletion enatega-multivendor-admin/.npmrc

This file was deleted.

1 change: 0 additions & 1 deletion enatega-multivendor-admin/.nvmrc

This file was deleted.

8 changes: 3 additions & 5 deletions enatega-multivendor-admin/.prettierignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
.next
dist
node_modules
build
coverage
src/assets/*
public/*
build/*
8 changes: 0 additions & 8 deletions enatega-multivendor-admin/.prettierrc

This file was deleted.

1 change: 1 addition & 0 deletions enatega-multivendor-admin/.prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = 'prettier-config-standard'
37 changes: 0 additions & 37 deletions enatega-multivendor-admin/CHANGELOG.md

This file was deleted.

164 changes: 0 additions & 164 deletions enatega-multivendor-admin/README.md

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 79ea3ce

Please sign in to comment.