Skip to content

Commit 603f834

Browse files
committed
Bump eslint and use @babel/eslint-parser
Also had to add a `babel.config.js` for it to work
1 parent 5f6e702 commit 603f834

7 files changed

+561
-484
lines changed

.eslintrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"parser": "babel-eslint",
2+
"parser": "@babel/eslint-parser",
33
"parserOptions": {
44
"ecmaVersion": 2017,
55
"sourceType": "module",

Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# You can set these variables from the command line.
2-
BABEL ?= node_modules/.bin/babel
32
BOOTSTRAP = ./node_modules/
43
BUILDDIR = ./docs
54
KARMA ?= ./node_modules/.bin/karma

babel.config.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"presets": [
3+
["@babel/preset-env", {
4+
"targets": {
5+
"browsers": [">1%", "not ie 11", "not op_mini all", "not dead"]
6+
}
7+
}]
8+
],
9+
"plugins": []
10+
}

0 commit comments

Comments
 (0)