From 0e29471d892ea1181f8f9cf0eece410d6e3c6e85 Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Wed, 3 May 2023 10:46:09 +0200 Subject: [PATCH] feat: add linting config --- .eslintrc.json | 16 ++++++++++++++++ jsconfig.json | 10 ++++++++++ 2 files changed, 26 insertions(+) create mode 100644 .eslintrc.json create mode 100644 jsconfig.json diff --git a/.eslintrc.json b/.eslintrc.json new file mode 100644 index 0000000..ca72f7b --- /dev/null +++ b/.eslintrc.json @@ -0,0 +1,16 @@ +{ + "env": { + "browser": true, + "es2021": true, + "node": true + }, + "extends": "standard", + "overrides": [ + ], + "parserOptions": { + "ecmaVersion": "latest", + "sourceType": "module" + }, + "rules": { + } +} diff --git a/jsconfig.json b/jsconfig.json new file mode 100644 index 0000000..14c3253 --- /dev/null +++ b/jsconfig.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "module": "ES2020", + "target": "ES2020", + "checkJs": true, + "moduleResolution": "node" + }, + "include": ["src", "examples"], + "exclude": ["node_modules"] +}