Skip to content

Commit

Permalink
add eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
Stanislaw Wilczynski authored and Stanislaw Wilczynski committed Sep 16, 2024
1 parent 2d4528b commit b2c2d02
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2019,
"sourceType": "module"
"sourceType": "module",
"project": "./tsconfig.json"
},
"env": {
"browser": true,
Expand All @@ -18,7 +19,8 @@
"disallowTypeAnnotations": true,
"prefer": "type-imports"
}
]
],
"@typescript-eslint/no-unsafe-member-access": "error"
},
"extends": ["plugin:@typescript-eslint/recommended", "prettier"]
}
1 change: 0 additions & 1 deletion packages/examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
"@babel/preset-env": "^7.20.2",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.21.0",
"@graphitation/apollo-mock-client": "^0.11.0",
"@graphitation/embedded-document-artefact-loader": "^0.8.0",
"@graphitation/graphql-codegen-typescript-typemap-plugin": "^0.1.5",
"@graphitation/graphql-js-tag": "^0.9.0",
Expand Down

0 comments on commit b2c2d02

Please sign in to comment.