Files
snippet-pastebin/eslint.config.mjs
johndoe6345789 d3340a848c Add MD3 framework tests and utility functions for component accessibility and interaction
- Implemented tests for various MD3 components including buttons, text fields, dialogs, navigation, menus, progress indicators, and responsive design.
- Created utility functions to interact with MD3 components, check their states, and validate accessibility attributes.
- Added support for keyboard navigation testing and touch target size validation.
- Introduced schema-based component definitions to streamline test implementations.
2026-01-20 14:15:35 +00:00

35 lines
801 B
JavaScript

import js from '@eslint/js'
import tseslint from 'typescript-eslint'
import nextPlugin from '@next/eslint-plugin-next'
import reactHooks from 'eslint-plugin-react-hooks'
import globals from 'globals'
export default [
{
ignores: ['node_modules', '.next', 'dist', 'coverage', 'src/styles/m3-scss/**'],
},
js.configs.recommended,
...tseslint.configs.recommended,
nextPlugin.configs['core-web-vitals'],
{
name: 'react-hooks/custom',
plugins: {
'react-hooks': reactHooks,
},
rules: {
...reactHooks.configs.recommended.rules,
},
},
{
rules: {
'@next/next/no-page-custom-font': 'off',
},
},
{
files: ['*.config.js', '*.config.cjs', '*.config.mjs', 'next.config.js'],
languageOptions: {
globals: globals.node,
},
},
]