@storm-software/eslint 0.25.0 → 0.26.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/preset.mjs +5 -3
  2. package/package.json +1 -1
package/dist/preset.mjs CHANGED
@@ -765,7 +765,7 @@ const config$2 = {
765
765
  "react/forbid-dom-props": ["off", { forbid: [] }],
766
766
  // Validate closing bracket location in JSX
767
767
  // https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/jsx-closing-bracket-location.md
768
- "react/jsx-closing-bracket-location": ["error", "line-aligned"],
768
+ "react/jsx-closing-bracket-location": ["error", "after-props"],
769
769
  // Validate closing tag location in JSX
770
770
  // https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/jsx-closing-tag-location.md
771
771
  "react/jsx-closing-tag-location": "error",
@@ -775,9 +775,9 @@ const config$2 = {
775
775
  // Enforce event handler naming conventions in JSX
776
776
  // https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/jsx-handler-names.md
777
777
  "react/jsx-handler-names": [
778
- "warn",
778
+ "error",
779
779
  {
780
- eventHandlerPrefix: "handle",
780
+ eventHandlerPrefix: "on",
781
781
  eventHandlerPropPrefix: "on"
782
782
  }
783
783
  ],
@@ -1228,6 +1228,8 @@ function stormPreset(options = {
1228
1228
  "unicorn/no-await-expression-member": 0,
1229
1229
  "unicorn/no-useless-undefined": 0,
1230
1230
  "unicorn/no-array-push-push": 0,
1231
+ "unicorn/no-array-reduce": 0,
1232
+ "unicorn/no-useless-switch-case": 0,
1231
1233
  "@typescript-eslint/no-explicit-any": 0,
1232
1234
  "@typescript-eslint/no-empty-function": 0,
1233
1235
  "@typescript-eslint/no-var-requires": 0,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/eslint",
3
- "version": "0.25.0",
3
+ "version": "0.26.0",
4
4
  "type": "module",
5
5
  "description": "⚡ A package containing the base ESLint configuration used by Storm Software across many projects.",
6
6
  "repository": {