diff --git a/src/modules/react.js b/src/modules/react.js index 2d32d76..3a3acf1 100644 --- a/src/modules/react.js +++ b/src/modules/react.js @@ -73,7 +73,7 @@ function react() { '@eslint-react/naming-convention/component-name': 'warn', '@eslint-react/naming-convention/filename': 'off', - '@eslint-react/naming-convention/filename-extension': { extensions: ['.jsx', '.tsx'] }, + '@eslint-react/naming-convention/filename-extension': ['warn', { extensions: ['.jsx', '.tsx'] }], '@eslint-react/naming-convention/use-state': 'off', 'react-hooks/exhaustive-deps': 'warn',