Skip to content

Fix lint config #143

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

Merged
merged 6 commits into from
Jul 30, 2024
Merged

Fix lint config #143

merged 6 commits into from
Jul 30, 2024

Conversation

fregante
Copy link
Collaborator

@fregante fregante commented Jul 30, 2024

  • Uses flat config
  • Adds Svelte rules
  • Run prettier on Svelte files (it wasn't set up 😬 )
  • Switch from XO config to antfu because it's flat and includes Svelte

Related config switch npmgraph/npmgraph#262

"private": true,
"engines": {
"node": ">=22"
},
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The config also lints JSON files

@@ -120,13 +125,12 @@

// Toggle extra buttons on right click on the name
// After the first click, allow the native context menu
let onContextMenu;
$: onContextMenu = event => {
function onContextMenu(event) {
Copy link
Collaborator Author

@fregante fregante Jul 30, 2024

Choose a reason for hiding this comment

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

Reminder to self:

  • Test this

@fregante fregante merged commit 90f85e4 into main Jul 30, 2024
6 checks passed
@fregante fregante deleted the lint9 branch July 30, 2024 12:01
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.

1 participant