Skip to content

Commit

Permalink
chore: lax some linting rules
Browse files Browse the repository at this point in the history
  • Loading branch information
atilafassina committed Oct 5, 2024
1 parent 21a12a4 commit 4defac5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 22 deletions.
2 changes: 2 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ export default tseslint.config(
"@typescript-eslint/no-redundant-type-constituents": "off",
"@typescript-eslint/no-unsafe-member-access": "off",
"@typescript-eslint/no-unsafe-call": "off",
"@typescript-eslint/no-unsafe-argument": "off",
"@typescript-eslint/no-unnecessary-type-assertion": "off",

// These on-by-default rules don't work well for this repo and we like them off.
"no-constant-condition": "off",
Expand Down
2 changes: 1 addition & 1 deletion src/defaults.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { DEV_DEFAULT_CSP, PROD_DEFAULT_CSP } from "./lib/csp/csp.js";

Check failure on line 1 in src/defaults.ts

View workflow job for this annotation

GitHub Actions / Lint

Can't resolve './lib/csp/csp.js' in '/home/runner/work/shieldwall/shieldwall/src'

Check failure on line 1 in src/defaults.ts

View workflow job for this annotation

GitHub Actions / Type Check

Cannot find module './lib/csp/csp.js' or its corresponding type declarations.
import { HeaderNames, SecHeaders } from "./types.js";
import { HeaderNames } from "./types.js";

export const HEADER_NAMES: HeaderNames = {
hsts: "Strict-Transport-Security",
Expand Down
21 changes: 0 additions & 21 deletions src/shieldwall.test.ts

This file was deleted.

0 comments on commit 4defac5

Please sign in to comment.