wip library to store cold objects in s3, warm objects on disk, and hot objects in memory
nodejs
typescript
1module.exports = {
2 parser: '@typescript-eslint/parser',
3 parserOptions: {
4 ecmaVersion: 2022,
5 sourceType: 'module',
6 project: './tsconfig.json',
7 },
8 plugins: ['@typescript-eslint'],
9 extends: [
10 'eslint:recommended',
11 '@typescript-eslint/recommended',
12 '@typescript-eslint/recommended-requiring-type-checking',
13 ],
14 root: true,
15 env: {
16 node: true,
17 es2022: true,
18 },
19 rules: {
20 '@typescript-eslint/no-unused-vars': 'error',
21 '@typescript-eslint/explicit-function-return-type': 'warn',
22 '@typescript-eslint/no-explicit-any': 'warn',
23 '@typescript-eslint/prefer-nullish-coalescing': 'error',
24 '@typescript-eslint/prefer-optional-chain': 'error',
25 '@typescript-eslint/no-floating-promises': 'error',
26 '@typescript-eslint/await-thenable': 'error',
27 },
28};