Add eslint.config.mjs (flat config) using @typescript-eslint/eslint-plugin flat/recommended rules. Add npm run lint script (exits 0 on current codebase). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
13 lines
258 B
JavaScript
13 lines
258 B
JavaScript
import tsPlugin from '@typescript-eslint/eslint-plugin';
|
|
import tsParser from '@typescript-eslint/parser';
|
|
|
|
export default [
|
|
...tsPlugin.configs['flat/recommended'],
|
|
{
|
|
files: ['**/*.ts'],
|
|
languageOptions: {
|
|
parser: tsParser,
|
|
},
|
|
},
|
|
];
|