UNPKG

@treet/eslint-config-typescript

Version:

ESLint configuration used by Treet in TypeScript projects

15 lines (13 loc) 530 B
import eslint from '@eslint/js'; import importPlugin from 'eslint-plugin-import'; import tseslint from 'typescript-eslint'; export default tseslint.config(eslint.configs.recommended, { files: ['**/*.{ts,tsx}'], extends: [importPlugin.flatConfigs.recommended, importPlugin.flatConfigs.typescript], rules: { '@typescript-eslint/camelcase': 'off', '@typescript-eslint/explicit-function-return-type': 'off', '@typescript-eslint/no-inferrable-types': 'off', 'import/no-anonymous-default-export': 'off', }, });