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