Skip to content

Commit

Permalink
chore: Improve maintainability of the project (#40)
Browse files Browse the repository at this point in the history
Co-authored-by: Atzin Escandia <[email protected]>
  • Loading branch information
Cahllagerfeld and atzin-escandia authored Dec 11, 2023
1 parent fcf63a5 commit cdf718f
Show file tree
Hide file tree
Showing 5 changed files with 798 additions and 35 deletions.
27 changes: 27 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"env": {
"browser": true,
"es2021": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:react/recommended",
"plugin:storybook/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": [
"@typescript-eslint",
"react"
],
"settings": {
"react": {
"version": "detect"
}
},
"rules": {}
}
38 changes: 38 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
## Fixes Issue / Ticket

<!-- Link to Github Issue or Jira ticket -->

## Description

[Provide a brief description of the changes introduced by this pull request.]

## Checklist

Please make sure that your pull request complies with the following requirements:

- [ ] **Code Quality:**

- [ ] 🧹 Code follows the project's coding guidelines.

- [ ] **Testing:**

- [ ] 🧪️ All existing tests pass successfully.

- [ ] **Documentation:**

- [ ] 📖 README and documentation are updated if necessary.

- [ ] **Review:**

- [ ] 👀 Code has been reviewed by a team member.

- [ ] **Security:**
- [ ] 🔒 Changes don't introduce security vulnerabilities.

## Screenshots (optional)

📸 [Include any relevant screenshots or visual representations of the changes.]

## Additional Information

ℹ️ [Provide any additional information that might be useful for the reviewer.]
11 changes: 10 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
"dev": "tsup --watch",
"fix:types": "node scripts/fix-type-defs.js",
"format": "prettier -w src",
"lint": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"prepare": "husky install",
"prepublishOnly": "pnpm build",
"publint": "publint",
Expand All @@ -78,7 +79,10 @@
"test": "vitest run"
},
"lint-staged": {
"*.{css,js,md,ts,jsx,tsx,ts}": "prettier --write"
"*.{css,js,md,ts,jsx,tsx,ts}": "prettier --write",
"*.{js,jsx,ts,tsx}": [
"eslint --fix"
]
},
"dependencies": {
"@radix-ui/react-slot": "^1.0.2",
Expand All @@ -97,7 +101,12 @@
"@storybook/react": "^7.3.1",
"@storybook/react-vite": "^7.3.1",
"@storybook/testing-library": "^0.2.0",
"@typescript-eslint/eslint-plugin": "^6.13.2",
"@typescript-eslint/parser": "^6.13.2",
"autoprefixer": "^10.4.15",
"eslint": "^8.55.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-storybook": "^0.6.15",
"husky": "^8.0.0",
"lint-staged": "^14.0.0",
"postcss": "^8.4.28",
Expand Down
Loading

0 comments on commit cdf718f

Please sign in to comment.