Skip to content

Commit

Permalink
Type Module
Browse files Browse the repository at this point in the history
  • Loading branch information
Bastorx committed Sep 30, 2022
1 parent 4bf9651 commit 2ee450c
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 27 deletions.
24 changes: 24 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "tsconfig.json",
"sourceType": "module"
},
"plugins": ["@typescript-eslint/eslint-plugin"],
"extends": [
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended"
],
"root": true,
"env": {
"node": true,
"jest": true
},
"ignorePatterns": [".eslintrc.js"],
"rules": {
"@typescript-eslint/interface-name-prefix": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-explicit-any": "off"
}
}
25 changes: 0 additions & 25 deletions .eslintrc.js

This file was deleted.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "@lab-mi/ds-api-client",
"version": "0.0.2",
"version": "0.0.3",
"description": "Un DS Client GraphQL prenant en charge Node et les navigateurs pour les scripts ou les applications simples",
"author": "LAB-MI",
"type": "commonjs",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"license": "UNLICENSED",
Expand Down

0 comments on commit 2ee450c

Please sign in to comment.