Skip to content

Commit

Permalink
Upgrade setup
Browse files Browse the repository at this point in the history
  • Loading branch information
etienne-dldc committed Sep 29, 2023
1 parent 8f8bb7a commit d5f31e9
Show file tree
Hide file tree
Showing 6 changed files with 87 additions and 310 deletions.
29 changes: 0 additions & 29 deletions .eslintrc.json

This file was deleted.

6 changes: 0 additions & 6 deletions .prettierrc

This file was deleted.

6 changes: 0 additions & 6 deletions config.json

This file was deleted.

41 changes: 40 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,46 @@
"typecheck": "tsc",
"typecheck:watch": "tsc --watch"
},
"prettier": {
"printWidth": 120,
"singleQuote": true,
"tabWidth": 2,
"useTabs": false
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": true,
"warnOnUnsupportedTypeScriptVersion": false
},
"plugins": [
"@typescript-eslint"
],
"extends": [
"plugin:@typescript-eslint/recommended-type-checked",
"prettier"
],
"rules": {
"no-constant-condition": "off",
"@typescript-eslint/ban-types": "off",
"@typescript-eslint/consistent-type-imports": "error",
"@typescript-eslint/no-base-to-string": "off",
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-inferrable-types": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-redundant-type-constituents": "off",
"@typescript-eslint/no-this-alias": "off",
"@typescript-eslint/no-unsafe-argument": "off",
"@typescript-eslint/no-unsafe-assignment": "off",
"@typescript-eslint/no-unsafe-call": "off",
"@typescript-eslint/no-unsafe-member-access": "off",
"@typescript-eslint/no-unsafe-return": "off",
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/unbound-method": "off"
},
"root": true
},
"dependencies": {
"@dldc/erreur": "^4.0.1"
},
Expand All @@ -58,7 +98,6 @@
"@typescript-eslint/parser": "^6.7.3",
"@vitest/coverage-v8": "^0.34.5",
"auto-changelog": "^2.4.0",
"canvas": "^2.11.2",
"eslint": "^8.50.0",
"eslint-config-prettier": "^9.0.0",
"prettier": "^3.0.3",
Expand Down
Loading

0 comments on commit d5f31e9

Please sign in to comment.