Skip to content

Commit

Permalink
fix weird circular error
Browse files Browse the repository at this point in the history
  • Loading branch information
espimarisa committed Jan 14, 2024
1 parent 6634bdd commit 00583c7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions index.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ module.exports = {
extends: [
"eslint:recommended",
"plugin:promise/recommended",
"plugin:security/recommended",
"plugin:security/recommended-legacy",
"plugin:import/recommended",
"plugin:import/react",
"plugin:n/recommended",
Expand Down Expand Up @@ -110,13 +110,16 @@ module.exports = {
"plugin:import/typescript",
],
rules: {
// This is just too much... sorry <3
// Personal preference - too strict for my liking
"@typescript-eslint/no-unsafe-assignment": "off",
"@typescript-eslint/no-unsafe-vars": "off",
"@typescript-eslint/no-unsafe-call": "off",
"@typescript-eslint/no-unsafe-member-access": "off",

// Pointless to throw a TS error when the linter does this
"@typescript-eslint/no-unused-vars": "error",

// Prefer javalike accessibility indicators
"@typescript-eslint/explicit-member-accessibility": [
"error",
{
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@espimarisa/eslint-config",
"version": "4.2.2",
"version": "4.2.3",
"description": "My opinionated TypeScript ESLint config to perform strict type-checking and to enforce best practices in both ESM and TypeScript.",
"author": "Espi Marisa <contact@espi.me> (https://espi.me)",
"license": "MIT",
Expand Down

0 comments on commit 00583c7

Please sign in to comment.