@shakuroinc/eslint-config-react 7.0.1 → 7.0.2
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/eslint.config.js +4 -0
- package/package.json +1 -1
package/eslint.config.js
CHANGED
|
@@ -229,6 +229,10 @@ const sharedRules = {
|
|
|
229
229
|
const mdxRuleOverrides = {
|
|
230
230
|
'@next/next/no-img-element': 'off',
|
|
231
231
|
'@typescript-eslint/naming-convention': 'off',
|
|
232
|
+
// MDX imports are often consumed by JSX in the document body
|
|
233
|
+
// (e.g. <Meta of={...} />), which the rule does not see.
|
|
234
|
+
'@typescript-eslint/no-unused-vars': 'off',
|
|
235
|
+
'no-unused-vars': 'off',
|
|
232
236
|
'padding-line-between-statements': 'off',
|
|
233
237
|
'max-lines': 'off',
|
|
234
238
|
'no-unused-expressions': 'off',
|
package/package.json
CHANGED