Skip to content

Comments

chore: bump ESLint from 8 to 9 with new @nextcloud/eslint-config@9#558

Merged
susnux merged 3 commits intomainfrom
chore/eslint-9
Jun 21, 2025
Merged

chore: bump ESLint from 8 to 9 with new @nextcloud/eslint-config@9#558
susnux merged 3 commits intomainfrom
chore/eslint-9

Conversation

@ShGKme
Copy link
Contributor

@ShGKme ShGKme commented Jun 21, 2025

  • Bump dependencies
  • Migrate config and scripts
  • npm run lint:fix:
    • Tabs vs Spaces
    • Brackets in arrow functions
    • Imports

ShGKme added 3 commits June 21, 2025 14:52
Signed-off-by: Grigorii K. Shartsev <[email protected]>
Signed-off-by: Grigorii K. Shartsev <[email protected]>
@ShGKme ShGKme requested a review from susnux June 21, 2025 12:57
@ShGKme ShGKme added the 3. to review Waiting for reviews label Jun 21, 2025
@@ -0,0 +1,8 @@
/*
Copy link
Contributor

Choose a reason for hiding this comment

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

why not /*! ?

Copy link
Contributor Author

@ShGKme ShGKme Jun 21, 2025

Choose a reason for hiding this comment

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

/** is problematic because it has a special meaning - a JSDoc comment.

/* is a general comment and works without any problems as far as I know.

It is a default comment syntax, so it works automatically with tooling.
For example, JetBrains IDEs add/fix/check copyright comments out of the box.
VSCode has many extensions, but some I checked also use a general comment by default.

/*! isn't some standard, requiring manual work. Like adding our own ESLint rule for that. And adapting to other languages. We don't use <!--! in HTML, for example.

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes its more like most tools I know specially handle *! as legal comment and e.g. preserve it during minification.

@susnux susnux merged commit e70d8d9 into main Jun 21, 2025
11 checks passed
@susnux susnux deleted the chore/eslint-9 branch June 21, 2025 13:08
@susnux susnux mentioned this pull request Oct 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants