mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-01-22 18:30:09 +00:00
- Upgrade eslint from v8 to v9.39.2 - Upgrade typescript-eslint to v8.52.0 (unified package) - Add angular-eslint package for flat config support - Migrate from .eslintrc.json to eslint.config.js (flat config) - Update package configs for sync-md, automations, boilerplate-solid-js - Remove unused eslint-disable directives - Fix lint errors (empty interface, template eqeqeq) BREAKING: Requires Node.js 18.18+ (ESLint 9 requirement)
16 lines
508 B
JavaScript
16 lines
508 B
JavaScript
// @ts-check
|
|
const tseslint = require('typescript-eslint');
|
|
const solid = require('eslint-plugin-solid/configs/typescript');
|
|
const prettierRecommended = require('eslint-plugin-prettier/recommended');
|
|
|
|
module.exports = tseslint.config(
|
|
{ ignores: ['dist', 'node_modules'] },
|
|
{
|
|
files: ['**/*.ts', '**/*.tsx'],
|
|
extends: [...tseslint.configs.recommended, solid, prettierRecommended],
|
|
rules: {
|
|
'prettier/prettier': 'error',
|
|
'@typescript-eslint/no-explicit-any': 'warn',
|
|
},
|
|
},
|
|
);
|