Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
fix: delete web vitials, update prettier, remove eject command from s…
Browse files Browse the repository at this point in the history
…cript
  • Loading branch information
Szymon Brud committed Feb 23, 2024
1 parent 9bf54ce commit c0edb70
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .husky/.commitlintrc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"extends": ["@commitlint/config-conventional"],
"rules": {
"type-enum": [2, "always", ["ci", "chore", "docs", "ticket","feat", "fix", "perf", "refactor", "revert", "style"]]
"type-enum": [2, "always", ["feat", "fix"]]
}
}
2 changes: 1 addition & 1 deletion .prettierrc.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
endOfLine: 'lf',
endOfLine: 'auto',
semi: true,
singleQuote: true,
tabWidth: 2,
Expand Down
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,14 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-scripts": "5.0.1",
"styled-components": "^6.1.8",
"web-vitals": "^2.1.4"
"styled-components": "^6.1.8"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"test:ci": "react-scripts test --reporters=jest-junit",
"test:e2e": "cypress open",
"eject": "react-scripts eject",
"check-branch-name": "chmod 755 ./.husky/hooks/check_branch_naming.sh && sh ./.husky/hooks/check_branch_naming.sh",
"prepare": "husky install"
},
Expand Down
3 changes: 0 additions & 3 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { ThemeProvider } from 'styled-components';
import App from './App';
import GlobalStyle from './assets/styles/GlobalStyle';
import { theme } from './assets/styles/Theme';
import reportWebVitals from './reportWebVitals';

const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
Expand All @@ -16,5 +15,3 @@ root.render(
</ThemeProvider>
</React.StrictMode>
);

reportWebVitals();
13 changes: 0 additions & 13 deletions src/reportWebVitals.js

This file was deleted.

0 comments on commit c0edb70

Please sign in to comment.