chore: add ci tool

This commit is contained in:
lisonge
2023-09-04 17:00:31 +08:00
parent a692d20940
commit c18b6a8c9c
13 changed files with 2354 additions and 25 deletions

22
.eslintrc.cjs Normal file
View File

@@ -0,0 +1,22 @@
// @ts-check
const { defineConfig } = require('eslint-define-config');
module.exports = defineConfig({
root: true,
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'prettier',
],
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint'],
rules: {
'@typescript-eslint/ban-ts-comment': 'off',
'@typescript-eslint/no-empty-function': 'off',
'@typescript-eslint/no-unused-vars': 'off',
'@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'no-empty': 'off',
'prefer-const': 'off',
},
});