Skip to content

Commit

Permalink
eslint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
qdraw committed Oct 16, 2024
1 parent 1383c65 commit c6f523b
Show file tree
Hide file tree
Showing 3 changed files with 175 additions and 91 deletions.
32 changes: 32 additions & 0 deletions starskydesktop/eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
import globals from "globals";
import pluginJs from "@eslint/js";
import tseslint from "typescript-eslint";


export default [
{files: ["**/*.{js,mjs,cjs,ts}"]},
{languageOptions: { globals: {...globals.browser, ...globals.node} }},
pluginJs.configs.recommended,
...tseslint.configs.recommended,
{
rules: {
'max-len': ['off'],
quotes: ['off'],
'@typescript-eslint/quotes': ['off'],
'import/extensions': ['off'],
'arrow-body-style': ['off'],
'@typescript-eslint/no-unsafe-call': ['off'],
'import/order': ['off'],
'import/no-import-module-exports': ['off'],
'import/no-extraneous-dependencies': ['off'],
'import/prefer-default-export': ['off'],
'@typescript-eslint/no-unsafe-return': ['off'],
'no-console': ['off'],
'@typescript-eslint/comma-dangle': ['off'],
'no-unused-vars': ['warn', { argsIgnorePattern: '^_' }],
'@typescript-eslint/no-explicit-any': ['off'],
'prefer-promise-reject-errors': ['off'],
'linebreak-style': ['off'],
}
}
];
Loading

0 comments on commit c6f523b

Please sign in to comment.