chore(config): 🔧 Update ESLint configs to enforce consistent linting rules across packages

This commit is contained in:
Lilith 2026-01-25 09:56:33 -08:00
parent f37ad7d89f
commit 2fd6f83d8c
9 changed files with 13 additions and 0 deletions

View file

@ -28,6 +28,7 @@ export default tseslint.config(
'@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_', varsIgnorePattern: '^_' }],
'@typescript-eslint/no-explicit-any': 'warn',
'react/react-in-jsx-scope': 'off',
'react/prop-types': 'off',
'@lilith/file-length/file-length': [
'warn',
{

View file

@ -26,6 +26,7 @@ export default tseslint.config(
'@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_', varsIgnorePattern: '^_' }],
'@typescript-eslint/no-explicit-any': 'warn',
'react/react-in-jsx-scope': 'off',
'react/prop-types': 'off',
},
},
{

View file

@ -28,6 +28,7 @@ export default tseslint.config(
'@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_', varsIgnorePattern: '^_' }],
'@typescript-eslint/no-explicit-any': 'warn',
'react/react-in-jsx-scope': 'off',
'react/prop-types': 'off',
'@lilith/file-length/file-length': [
'warn',
{

View file

@ -32,6 +32,7 @@ export default tseslint.config(
'@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_', varsIgnorePattern: '^_' }],
'@typescript-eslint/no-explicit-any': 'warn',
'react/react-in-jsx-scope': 'off',
'react/prop-types': 'off',
'@lilith/file-length/file-length': ['warn', { warnThreshold: 400, errorThreshold: 600 }],
},
},

View file

@ -28,6 +28,7 @@ export default tseslint.config(
'@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_', varsIgnorePattern: '^_' }],
'@typescript-eslint/no-explicit-any': 'warn',
'react/react-in-jsx-scope': 'off',
'react/prop-types': 'off',
'@lilith/file-length/file-length': [
'warn',
{

View file

@ -2,6 +2,11 @@ import baseConfig from '@lilith/configs/eslint-react';
export default [
...baseConfig,
{
rules: {
'react/prop-types': 'off',
},
},
{
ignores: ['dist', 'node_modules'],
},

View file

@ -56,6 +56,7 @@ export default tseslint.config(
'@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_', varsIgnorePattern: '^_' }],
'@typescript-eslint/no-explicit-any': 'warn',
'react/react-in-jsx-scope': 'off',
'react/prop-types': 'off',
},
},
{

View file

@ -28,6 +28,7 @@ export default tseslint.config(
'@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_', varsIgnorePattern: '^_' }],
'@typescript-eslint/no-explicit-any': 'warn',
'react/react-in-jsx-scope': 'off',
'react/prop-types': 'off',
'@lilith/file-length/file-length': [
'warn',
{

View file

@ -28,6 +28,7 @@ export default tseslint.config(
'@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_', varsIgnorePattern: '^_' }],
'@typescript-eslint/no-explicit-any': 'warn',
'react/react-in-jsx-scope': 'off',
'react/prop-types': 'off',
'@lilith/file-length/file-length': [
'warn',
{