youfoundjk_TeXcore/eslint.css.config.mjs

23 lines
517 B
JavaScript
Raw Permalink Normal View History

2026-06-04 16:43:52 +00:00
import { defineConfig } from 'eslint/config';
import css from '@eslint/css';
export default defineConfig([
{
files: ['src/**/*.css'],
plugins: {
css
},
language: 'css/css',
languageOptions: {
tolerant: true
},
extends: ['css/recommended'],
rules: {
// Obsidian CSS variables are defined by the host app/theme and are not local declarations.
'css/no-invalid-properties': 'off',
'css/no-important': 'warn',
2026-06-04 18:20:27 +00:00
'css/use-baseline': 'warn'
2026-06-04 16:43:52 +00:00
}
}
]);