From fd5c293c41f13207ea28aa36867d4aeeb41ba813 Mon Sep 17 00:00:00 2001 From: leonnicolas Date: Fri, 11 Sep 2020 01:13:49 +0200 Subject: [PATCH] .eslintrc.json: added eslint file --- .eslintrc.json | 19 +++++++++++++++++++ src/index.ts | 1 - 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 .eslintrc.json diff --git a/.eslintrc.json b/.eslintrc.json new file mode 100644 index 0000000..7eaf240 --- /dev/null +++ b/.eslintrc.json @@ -0,0 +1,19 @@ +{ + "env": { + "browser": true, + "es2021": true + }, + "extends": [ + "standard" + ], + "parser": "@typescript-eslint/parser", + "parserOptions": { + "ecmaVersion": 12, + "sourceType": "module" + }, + "plugins": [ + "@typescript-eslint" + ], + "rules": { + } +} diff --git a/src/index.ts b/src/index.ts index 99c9c05..db38329 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,4 +1,3 @@ -// tslint:disable: no-console import { ApolloServer } from 'apollo-server'; import bikeresolver from './resolvers/cargobikeResolver'; import { CargoBikeAPI } from './datasources/db/cargobikeAPI';