Skip to content

Commit

Permalink
fix: Incorrect assessmentMethod in Custom Fees Tests and Update ESL…
Browse files Browse the repository at this point in the history
…int Configuration (#312)

Signed-off-by: ivaylogarnev-limechain <ivaylo.garnev@limechain.tech>
  • Loading branch information
ivaylogarnev-limechain authored Dec 17, 2024
1 parent 53c6d09 commit b4c8b05
Show file tree
Hide file tree
Showing 9 changed files with 181 additions and 156 deletions.
23 changes: 0 additions & 23 deletions .eslintrc.cjs

This file was deleted.

33 changes: 33 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
import { defineConfig } from "eslint-define-config";
import typescriptEslintPlugin from "@typescript-eslint/eslint-plugin";
import typescriptEslintParser from "@typescript-eslint/parser";
import prettierPlugin from "eslint-plugin-prettier";

export default defineConfig([
{
files: ["**/*.js", "**/*.ts", "**/*.tsx"],
languageOptions: {
parser: typescriptEslintParser,
parserOptions: {
ecmaVersion: "latest",
sourceType: "module",
},
},
plugins: {
"@typescript-eslint": typescriptEslintPlugin,
prettier: prettierPlugin,
},
ignores: ["mochawesome-report/assets/app.js"],
rules: {
"no-console": ["warn", { allow: ["warn"] }],
"prefer-const": "error",
semi: ["error", "always"],
curly: ["error", "all"],
eqeqeq: ["error", "always"],
"no-multi-spaces": ["error"],
"no-duplicate-imports": ["error"],
"prettier/prettier": "error",
"@typescript-eslint/no-unused-vars": ["warn"],
},
},
]);
Loading

0 comments on commit b4c8b05

Please sign in to comment.