From ce600d84c1237929fd63ed336de4c08e33001165 Mon Sep 17 00:00:00 2001 From: Corey Butler Date: Mon, 30 Mar 2020 20:49:28 -0500 Subject: [PATCH] Added browser list and eslint configs --- .gitignore | 10 ++++++++++ build/.browserslistrc | 14 ++++++++++++++ test/.eslintrc | 13 +++++++++++++ 3 files changed, 37 insertions(+) create mode 100644 build/.browserslistrc create mode 100644 test/.eslintrc diff --git a/.gitignore b/.gitignore index 6d8b768..3223b70 100644 --- a/.gitignore +++ b/.gitignore @@ -2,7 +2,17 @@ _* !.gitignore !.npmignore +!.npmignore +!.dockerignore +!.browserslistrc +!.eslintrc +!.*.yml +package-lock.json node_modules +test/package-lock.json +build/package-lock.json +*.cast +*.tar.gz env.json *.log dist diff --git a/build/.browserslistrc b/build/.browserslistrc new file mode 100644 index 0000000..7716b76 --- /dev/null +++ b/build/.browserslistrc @@ -0,0 +1,14 @@ +[es6] +Edge 17 +iOS 12 +Chrome 61 +Safari 12 +Firefox 49 +not dead + +[current] +last 2 major versions +not ie < 12 +not ie_mob < 12 +not < 0.3% +not dead \ No newline at end of file diff --git a/test/.eslintrc b/test/.eslintrc new file mode 100644 index 0000000..0410f26 --- /dev/null +++ b/test/.eslintrc @@ -0,0 +1,13 @@ +{ + "extends": [ + "plugin:compat/recommended" + ], + "env": { + "browser": true, + "es6": true + }, + "parserOptions": { + "sourceType": "module", + "ecmaVersion": 2019 + } +}