Skip to content

Commit

Permalink
fix: compilation and linting
Browse files Browse the repository at this point in the history
  • Loading branch information
aaitor committed Mar 25, 2024
1 parent 69f2fd3 commit 3faf8f1
Show file tree
Hide file tree
Showing 33 changed files with 1,149 additions and 1,100 deletions.
3 changes: 2 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ dist
webpack*
plugins
scripts
test/mocks
test/mocks
coverage*
22 changes: 19 additions & 3 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,16 +1,32 @@
{
// "extends": [
// "nevermined"
// ],
"extends": [
"nevermined"
"plugin:@typescript-eslint/recommended"
],
"parser": "@typescript-eslint/parser",
"overrides": [
{
"files": ["*.ts", "*.tsx"],
"parserOptions": {
"project": "./tsconfig.eslint.json"
}
}
],
"rules": {
"rules": {
"@next/next/no-html-link-for-pages": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-unnecessary-type-constraint": "off",
"@typescript-eslint/ban-types": "off",
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/triple-slash-reference": "off",
"@typescript-eslint/no-unused-vars": [
"error", {
"argsIgnorePattern": "^_",
"varsIgnorePattern": "^_",
"caughtErrorsIgnorePattern": "^_"
}]
},
"ignorePatterns": ["test/resources/proxy-poc/*.js"]
"ignorePatterns": ["test/*.ts", "test/resources/proxy-poc/*", "test/**/*.d.ts", "test/**/*js"]
}
Loading

0 comments on commit 3faf8f1

Please sign in to comment.