Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
jviide committed Jan 21, 2025
1 parent 76dc154 commit af37424
Show file tree
Hide file tree
Showing 10 changed files with 735 additions and 618 deletions.
5 changes: 5 additions & 0 deletions .changeset/curvy-masks-tell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@badrap/libapp": patch
---

Update dependencies
36 changes: 0 additions & 36 deletions .eslintrc.json

This file was deleted.

57 changes: 57 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
import eslint from "@eslint/js";
import prettierRecommended from "eslint-plugin-prettier/recommended";
import tseslint from "typescript-eslint";

export default [
eslint.configs.recommended,
...tseslint.configs.strictTypeChecked,
...tseslint.configs.stylisticTypeChecked,
prettierRecommended,
{
linterOptions: {
reportUnusedDisableDirectives: true,
},
languageOptions: {
parserOptions: {
projectService: {
allowDefaultProject: ["eslint.config.mjs"],
},
tsconfigRootDir: import.meta.dirname,
},
},
rules: {
"prettier/prettier": "warn",
eqeqeq: ["error", "smart"],
"linebreak-style": ["error", "unix"],
"no-console": "error",
"no-multi-assign": "error",
"no-return-assign": "error",
"no-unused-expressions": "error",
"@typescript-eslint/restrict-template-expressions": [
"error",
{
allowAny: false,
allowBoolean: false,
allowNullish: false,
allowNumber: true,
allowRegExp: false,
},
],
"@typescript-eslint/explicit-member-accessibility": [
"error",
{ accessibility: "no-public" },
],
"@typescript-eslint/no-unused-vars": [
"error",
{
varsIgnorePattern: "^_",
argsIgnorePattern: "^_",
caughtErrorsIgnorePattern: "^_",
},
],
"@typescript-eslint/switch-exhaustiveness-check": "error",
"@typescript-eslint/consistent-type-definitions": "off",
"@typescript-eslint/no-namespace": ["error", { allowDeclarations: true }],
},
},
];
Loading

0 comments on commit af37424

Please sign in to comment.