This commit is contained in:
Felicio Mununga 2024-12-05 07:33:32 +09:00
parent e7bea50d3d
commit 10fb7ac6dc
No known key found for this signature in database
GPG Key ID: B8A18D62FCD9EA6E

View File

@ -5,7 +5,7 @@ export default [
...configs,
...tailwindcssConfigs,
{
files: ['*.ts', '*.tsx'],
files: ['**/*.ts', '**/*.tsx'],
rules: {
'no-constant-binary-expression': 'error',
'no-restricted-globals': ['error', 'process'],
@ -15,10 +15,11 @@ export default [
img: [],
},
],
'no-empty': 'warn',
},
},
{
files: ['*.mjs'],
files: ['**/*.mjs'],
languageOptions: {
parserOptions: {
ecmaVersion: 'latest',
@ -27,7 +28,7 @@ export default [
},
},
{
files: ['*.js'],
files: ['**/*.js'],
languageOptions: {
parserOptions: {
ecmaVersion: 'latest',