Skip to content

Commit

Permalink
Merge pull request #319 from CMSgov/QPPA-9597
Browse files Browse the repository at this point in the history
QPPA-9597: package updates
  • Loading branch information
ckawell-sb authored Sep 30, 2024
2 parents b6d7fc6 + 3f89190 commit 5f8dfe5
Show file tree
Hide file tree
Showing 5 changed files with 776 additions and 715 deletions.
26 changes: 0 additions & 26 deletions .eslintrc

This file was deleted.

34 changes: 34 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
import tsParser from "@typescript-eslint/parser";
import path from "node:path";
import { fileURLToPath } from "node:url";
import js from "@eslint/js";
import { FlatCompat } from "@eslint/eslintrc";

const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
const compat = new FlatCompat({
baseDirectory: __dirname,
recommendedConfig: js.configs.recommended,
allConfig: js.configs.all
});

export default [...compat.extends("plugin:@typescript-eslint/recommended"), {
languageOptions: {
parser: tsParser,
ecmaVersion: 2019,
sourceType: "module",
},

rules: {
semi: ["error", "always"],
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/explicit-module-boundary-types": 0,

"@typescript-eslint/no-inferrable-types": ["warn", {
ignoreParameters: true,
}],

"@typescript-eslint/no-unused-vars": "warn",
},
}];
Loading

0 comments on commit 5f8dfe5

Please sign in to comment.