summaryrefslogtreecommitdiff
path: root/.eslintrc.js
diff options
context:
space:
mode:
authorBjörn Harrtell <bjornharrtell@users.noreply.github.com>2020-09-17 21:21:14 +0200
committerGitHub <noreply@github.com>2020-09-17 12:21:14 -0700
commit94873e595c6f231202929501570088849f3b8803 (patch)
treea360d12bc06c2a36c29947803d2787aa8fb69820 /.eslintrc.js
parentb8e87fafe4f46233c16908f75a30256925bf72d8 (diff)
downloadflatbuffers-94873e595c6f231202929501570088849f3b8803.tar.gz
flatbuffers-94873e595c6f231202929501570088849f3b8803.tar.bz2
flatbuffers-94873e595c6f231202929501570088849f3b8803.zip
[JS/TS] Modernize TypeScript / JavaScript flatbuffers support (#6095)
Diffstat (limited to '.eslintrc.js')
-rw-r--r--.eslintrc.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/.eslintrc.js b/.eslintrc.js
new file mode 100644
index 00000000..321169b0
--- /dev/null
+++ b/.eslintrc.js
@@ -0,0 +1,13 @@
+/* eslint-env node */
+
+module.exports = {
+ root: true,
+ parser: '@typescript-eslint/parser',
+ plugins: [
+ '@typescript-eslint',
+ ],
+ extends: [
+ 'eslint:recommended',
+ 'plugin:@typescript-eslint/recommended',
+ ]
+}; \ No newline at end of file