@shakuroinc/eslint-config-react 6.0.4 → 6.1.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/.eslintrc.js +8 -1
  2. package/package.json +1 -1
package/.eslintrc.js CHANGED
@@ -55,6 +55,12 @@ module.exports = {
55
55
  leadingUnderscore: 'forbid',
56
56
  trailingUnderscore: 'forbid',
57
57
  },
58
+ {
59
+ selector: ['default', 'variable', 'property'],
60
+ format: null,
61
+ leadingUnderscore: 'allow',
62
+ filter: '^_$',
63
+ },
58
64
  {
59
65
  selector: 'typeLike',
60
66
  format: ['PascalCase'],
@@ -65,8 +71,8 @@ module.exports = {
65
71
  },
66
72
  {
67
73
  selector: 'property',
68
- filter: '^__html$',
69
74
  format: null,
75
+ filter: '^__html$',
70
76
  },
71
77
  ],
72
78
  '@typescript-eslint/no-empty-function': 0,
@@ -199,6 +205,7 @@ module.exports = {
199
205
  'tailwindcss/classnames-order': 2,
200
206
  'tailwindcss/no-contradicting-classname': 2,
201
207
  'tailwindcss/no-custom-classname': 1,
208
+ quotes: ['error', 'single', { allowTemplateLiterals: false, avoidEscape: true }],
202
209
  },
203
210
 
204
211
  overrides: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shakuroinc/eslint-config-react",
3
- "version": "6.0.4",
3
+ "version": "6.1.0",
4
4
  "main": ".eslintrc.js",
5
5
  "author": "Shakuro team",
6
6
  "license": "MIT",