Skip to content

Commit

Permalink
feat: no pain no gain
Browse files Browse the repository at this point in the history
  • Loading branch information
skarab42 committed Jul 10, 2022
1 parent 8503597 commit e5f38f9
Show file tree
Hide file tree
Showing 3 changed files with 441 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,26 @@
"tsconfigRootDir": ".",
"project": ["./tsconfig.json", "./tsconfig.*.json"]
},
"plugins": ["@typescript-eslint"],
"plugins": ["@typescript-eslint", "unicorn"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
"plugin:@typescript-eslint/strict",
"plugin:import/recommended",
"plugin:import/typescript",
"prettier"
],
"rules": {
"no-alert": "error",
"no-console": "warn",
"no-debugger": "warn",
"@typescript-eslint/prefer-ts-expect-error": ["error"]
"@typescript-eslint/prefer-ts-expect-error": "error",
"@typescript-eslint/explicit-function-return-type": "error"
},
"settings": {
"import/resolver": {
"node": { "extensions": [".ts", ".js", ".cjs", ".mjs"] }
}
}
}
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@
"byots": "^4.8.0-dev.20220707.1.35",
"eslint": "^8.18.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-unicorn": "^43.0.1",
"lint-staged": "^13.0.3",
"magic-string": "^0.26.2",
"micromatch": "^4.0.5",
Expand Down
Loading

0 comments on commit e5f38f9

Please sign in to comment.