@ethang/eslint-config 19.0.3 → 19.0.4

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/eslint.config.js +3 -1
  2. package/package.json +1 -1
package/eslint.config.js CHANGED
@@ -571,7 +571,9 @@ export default tseslint.config({
571
571
  "sonar/for-loop-increment-sign": "error",
572
572
  "sonar/frame-ancestors": "error",
573
573
  "sonar/function-inside-loop": "error",
574
- "sonar/function-name": "error",
574
+ "sonar/function-name": ["error", {
575
+ format: '^(?:[a-z][a-zA-Z0-9]*|[A-Z][A-Z0-9]*)$'
576
+ }],
575
577
  "sonar/function-return-type": "off", // No
576
578
  "sonar/future-reserved-words": "error",
577
579
  "sonar/generator-without-yield": "error",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ethang/eslint-config",
3
- "version": "19.0.3",
3
+ "version": "19.0.4",
4
4
  "repository": {
5
5
  "url": "git+https://github.com/eglove/eslint-config-ethang.git"
6
6
  },