UNPKG

@vyckr/ttid

Version:

A lightweight, time-based identifier generator that tracks creation, update, and deletion timestamps using a progressive format.

29 lines (27 loc) 857 B
import tsPlugin from '@typescript-eslint/eslint-plugin' import tsParser from '@typescript-eslint/parser' import prettierConfig from 'eslint-config-prettier' export default [ { files: ['src/**/*.ts', 'test/**/*.ts'], languageOptions: { parser: tsParser, parserOptions: { project: './tsconfig.json' } }, plugins: { '@typescript-eslint': tsPlugin }, rules: { ...tsPlugin.configs['recommended'].rules, '@typescript-eslint/no-explicit-any': 'error', '@typescript-eslint/explicit-function-return-type': 'warn', '@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_' }] } }, prettierConfig, { ignores: ['bin/**', 'node_modules/**', '**/*.d.ts'] } ]