Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocobo1 committed Aug 22, 2024
1 parent 5f3204e commit 0426acf
Show file tree
Hide file tree
Showing 5 changed files with 634 additions and 543 deletions.
26 changes: 0 additions & 26 deletions .eslintrc.json

This file was deleted.

55 changes: 55 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
import ESLint from '@eslint/js';
import Stylistic from '@stylistic/eslint-plugin-ts';
import TsESLint from 'typescript-eslint';

export default [
ESLint.configs.recommended,
Stylistic.configs['disable-legacy'],
...TsESLint.configs.strictTypeChecked,
...TsESLint.configs.stylisticTypeChecked,
{
files: [
"**/*.ts"
],
languageOptions: {
parserOptions: {
project: true,
tsconfigDirName: import.meta.dirname,
},
},
plugins: {
"@stylistic/ts": Stylistic
},
rules: {
"@stylistic/ts/semi": [2, "always"],
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-misused-promises": [
"error",
{
"checksVoidReturn": {
"arguments": false
}
}
],
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-unsafe-argument": "off",
"@typescript-eslint/no-unsafe-assignment": "off",
"@typescript-eslint/no-unsafe-member-access": "off",
"@typescript-eslint/no-unsafe-return": "off",
"@typescript-eslint/no-unused-vars": [
"error",
{
"argsIgnorePattern": "^_",
"caughtErrorsIgnorePattern": "^_",
"varsIgnorePattern": "^_",
}
],
"@typescript-eslint/restrict-template-expressions": [
"error",
{
"allowAny": true
}
]
}
}
];
Loading

0 comments on commit 0426acf

Please sign in to comment.