Files
snippet-pastebin/eslint.config.mjs
johndoe6345789 9ae6776f37 feat: add stylelint for SCSS and CSS, update theme and global styles
- Added stylelint scripts to package.json for linting SCSS and CSS files.
- Updated global styles to remove quotes from font-family declarations and changed `currentColor` to `currentcolor`.
- Refactored theme.scss to use shorthand hex color codes and updated font-family declarations.
- Modified carousel component to remove unnecessary onSelect call.
- Enhanced useSnippetForm hook with comments and ESLint disable/enable for clarity.
- Improved mixins in _mixins.scss for flexbox and responsive breakpoints.
- Updated color definitions in _variables.scss to use the `hsl()` format with degrees.
- Changed button and dialog styles to use `currentcolor` for background.
- Adjusted header styles for box-shadow and gradient backgrounds.
- Refined typography styles to ensure consistent font-family usage.
- Enhanced utility classes in _utilities.scss for better readability and maintainability.
2026-01-20 00:06:44 +00:00

35 lines
776 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'],
},
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,
},
},
]