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

V3 #23

Merged
merged 7 commits into from
Apr 4, 2023
Merged

V3 #23

merged 7 commits into from
Apr 4, 2023

Conversation

@chawes13 chawes13 requested a review from mwislek April 3, 2023 15:28
@@ -0,0 +1,3 @@
{
"presets": ["@launchpadlab/babel-preset/react"]
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is needed in order to test the react plugins

@@ -1,6 +1,7 @@
language: node_js
node_js:
- '8'
- '18'
dist: focal
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Without specifying the dist, Travis fails to locate GLIB_C (still, somehow 🙃)

"main": "index.js",
"license": "MIT",
"author": "dpikt",
"engines": {
"node": ">= 10"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This aligns with @babel/eslint-parser's requirement

"peerDependencies": {
"eslint": ">= 3.0.0"
"resolutions": {
"babel-plugin-lodash/@babel/types": "~7.20.0"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This plugin is kind of abandonware it seems. It relies on a deprecated method and pollutes the console with a bunch of messages about it. Since it's just a dev dependency, I really don't care about pinning it

Comment on lines +5 to +6
'plugin:react-hooks/recommended',
'plugin:jsx-a11y/recommended',
Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's time

Copy link

Choose a reason for hiding this comment

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

Out of curiosity, do you know if lp-components passes these a11y recommendations?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think it's very unlikely 😅 . But that's the point!

@@ -1,13 +1,14 @@
const execSync = require('child_process').execSync
const { ESLint } = require('eslint')
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks ChatGPT ;)

Copy link

@mwislek mwislek left a comment

Choose a reason for hiding this comment

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

Interesting! Thanks for doing this! It will be nice to get the templates updated with this latest version.

@chawes13 chawes13 merged commit 88f7806 into master Apr 4, 2023
1 check passed
@chawes13 chawes13 deleted the v3 branch April 4, 2023 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants