Skip to content

Commit

Permalink
feat: Upgraded prettier to 3.3.3, as well as associated eslint packages
Browse files Browse the repository at this point in the history
  • Loading branch information
joncursi committed Sep 25, 2024
1 parent b4c0698 commit 8d4fd34
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 7 deletions.
2 changes: 1 addition & 1 deletion examples/ReactComponent/index.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import ReactComponent from '.';

test('renders button and handles click events', () => {
const { getByText } = render(<ReactComponent />);

const button = getByText(/Button Clicks:/i);

expect(button).toBeInTheDocument();
expect(button).toHaveTextContent('Button Clicks: 0');

Expand Down
17 changes: 14 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"@typescript-eslint/parser": "^6.1.0",
"eslint": "^8.45.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^8.8.0",
"eslint-config-prettier": "^8.10.0",
"eslint-plugin-disable": "^2.0.3",
"eslint-plugin-filenames": "^1.3.2",
"eslint-plugin-import": "^2.27.5",
Expand All @@ -24,13 +24,13 @@
"eslint-plugin-lodash": "^7.4.0",
"eslint-plugin-new-with-error": "^5.0.0",
"eslint-plugin-no-loops": "^0.3.0",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-security": "^1.7.1",
"markdownlint-cli": "^0.35.0",
"prettier": "^3.0.0"
"prettier": "^3.3.3"
},
"description": "ACT's preferred configs for TypeScript, Prettier, ESLint, CommitLint, and MarkdownLint.",
"devDependencies": {
Expand All @@ -41,6 +41,7 @@
"@testing-library/react": "16.0.1",
"@types/jest": "29.5.13",
"@types/react": "18.3.9",
"@types/react-dom": "18.3.0",
"clean-publish": "5.0.0",
"husky": "9.1.6",
"jest": "29.7.0",
Expand Down

0 comments on commit 8d4fd34

Please sign in to comment.