Skip to content

Commit 014b211

Browse files
committed
Update packages
1 parent fbb9fda commit 014b211

6 files changed

Lines changed: 1539 additions & 1052 deletions

File tree

.eslintrc.js

Lines changed: 0 additions & 25 deletions
This file was deleted.

eslint.config.mjs

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
import eslint from '@eslint/js'
2+
// import tseslint from 'typescript-eslint'
3+
4+
export default [
5+
eslint.configs.recommended,
6+
// ...tseslint.configs.recommended,
7+
{
8+
// extends: [
9+
// 'eslint:recommended',
10+
// 'plugin:@typescript-eslint/eslint-recommended',
11+
// 'plugin:@typescript-eslint/recommended',
12+
// ],
13+
plugins: [
14+
'@typescript-eslint',
15+
],
16+
env: { node: true, es6: true },
17+
parser: '@typescript-eslint/parser',
18+
parserOptions: {
19+
sourceType: 'module',
20+
project: './tsconfig.json',
21+
},
22+
rules: {
23+
'nonblock-statement-body-position': ['error', 'below'],
24+
'quotes': ['error', 'single', { "avoidEscape": true }],
25+
'semi': ['error', 'never'],
26+
27+
'@typescript-eslint/no-unused-vars': ['error', { 'varsIgnorePattern': '^_', 'argsIgnorePattern': '^_' }],
28+
'@typescript-eslint/no-explicit-any': 'off',
29+
'@typescript-eslint/no-non-null-assertion': 'off',
30+
},
31+
},
32+
]

0 commit comments

Comments
 (0)