Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(eslint-plugin)!: remove dependencies from ESLint plugin #10752

Merged
merged 1 commit into from
Aug 12, 2024

Conversation

jonkoops
Copy link
Contributor

Closes #10740

BREAKING CHANGE: this removes the bundled dependencies and pre-defined rules from the ESLint 'reccomended' configuration.

@patternfly-build
Copy link
Contributor

patternfly-build commented Jul 16, 2024

Closes patternfly#10740

BREAKING CHANGE: this removes the bundled dependencies and pre-defined rules from the ESLint 'reccomended' configuration.

Signed-off-by: Jon Koops <[email protected]>
Comment on lines +49 to +53
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-markdown": "^5.1.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react": "^7.34.2",
"eslint-plugin-react-hooks": "^4.6.2",
Copy link
Contributor Author

@jonkoops jonkoops Aug 10, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Had to move some dependencies to the root, as they are used by the linting configuration of the project.

Comment on lines -37 to -50

### Building

```
yarn build
```

Note the build scripts for this are located in the root package.json under `yarn build`.

### Publishing

```
yarn publish
```
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These instructions do not apply to this package, they were likely copied from a template before, so I removed them here.

Copy link
Contributor

@kmcfaul kmcfaul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We may want to double check that we don't need to set up any additional lint plugins / rule overrides in our config after these get removed.

@jonkoops
Copy link
Contributor Author

We may want to double check that we don't need to set up any additional lint plugins / rule overrides in our config after these get removed.

I think this should not be an issue as the recommended rules from the plugin are not actually used by the configuration.

@tlabaj tlabaj merged commit 61a6194 into patternfly:v6 Aug 12, 2024
13 checks passed
@patternfly-build
Copy link
Contributor

Your changes have been released in:

Thanks for your contribution! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants