@mkaradeniz/eslint-config 4.5.0 → 4.7.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mkaradeniz/eslint-config",
3
- "version": "4.5.0",
3
+ "version": "4.7.0",
4
4
  "private": false,
5
5
  "files": [
6
6
  "base.mjs",
@@ -27,7 +27,7 @@
27
27
  "@eslint-community/eslint-plugin-eslint-comments": "^4.6.0",
28
28
  "@eslint/compat": "^2.0.2",
29
29
  "@next/eslint-plugin-next": "^16.1.6",
30
- "@stylistic/eslint-plugin": "^5.7.1",
30
+ "@stylistic/eslint-plugin": "^5.8.0",
31
31
  "eslint-plugin-import-x": "^4.16.1",
32
32
  "eslint-plugin-jsx-a11y": "^6.10.2",
33
33
  "eslint-plugin-only-warn": "^1.1.0",
@@ -38,9 +38,9 @@
38
38
  "eslint-plugin-react-hooks": "^7.0.1",
39
39
  "eslint-plugin-turbo": "2.8.3",
40
40
  "eslint-plugin-unicorn": "^62.0.0",
41
- "eslint-plugin-unused-imports": "^4.3.0",
41
+ "eslint-plugin-unused-imports": "^4.4.1",
42
42
  "globals": "^17.3.0",
43
- "typescript-eslint": "^8.54.0"
43
+ "typescript-eslint": "^8.55.0"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@mkaradeniz/prettier-config": "^4.0.6",
@@ -182,7 +182,7 @@ export const baseRules = {
182
182
  ],
183
183
  // unicorn
184
184
  'unicorn/better-regex': ['warn'],
185
- 'unicorn/catch-error-name': ['warn'],
185
+ 'unicorn/catch-error-name': ['warn', { name: 'err' }],
186
186
  'unicorn/error-message': ['warn'],
187
187
  'unicorn/explicit-length-check': ['warn'],
188
188
  'unicorn/filename-case': [
@@ -41,7 +41,6 @@ export const reactRules = {
41
41
  'react/jsx-curly-brace-presence': ['warn', { children: 'ignore', props: 'never' }],
42
42
  'react/jsx-fragments': ['warn'],
43
43
  'react/jsx-key': ['warn'],
44
- 'react/jsx-newline': ['warn', { prevent: false }],
45
44
  'react/jsx-no-comment-textnodes': ['warn'],
46
45
  'react/jsx-no-duplicate-props': ['warn'],
47
46
  'react/jsx-no-leaked-render': ['warn'],
@@ -109,6 +109,7 @@ export const typescriptRules = {
109
109
  '@typescript-eslint/triple-slash-reference': ['warn'],
110
110
  '@typescript-eslint/unified-signatures': ['warn'],
111
111
 
112
+ // @stylistic
112
113
  '@stylistic/padding-line-between-statements': [
113
114
  'warn',
114
115
  {
@@ -140,7 +141,6 @@ export const typescriptRules = {
140
141
  { blankLine: 'always', next: ['enum', 'interface', 'type'], prev: '*' },
141
142
  { blankLine: 'never', next: 'function', prev: 'function-overload' },
142
143
  ],
143
- // @stylistic
144
144
  '@stylistic/spaced-comment': ['warn', 'always'],
145
145
  },
146
146
  };