Skip to content

Commit 4a265cf

Browse files
committed
feat: fix build issues
1 parent 6908577 commit 4a265cf

5 files changed

Lines changed: 1109 additions & 5 deletions

File tree

.eslintrc

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,12 @@
22
"root": true,
33
"env": {
44
"browser": true,
5-
"node": true
5+
"node": true,
6+
"es6": true
7+
},
8+
"parserOptions": {
9+
"ecmaVersion": 2020,
10+
"sourceType": "module"
611
},
712
"globals": {
813
"mParticle": true,
@@ -26,5 +31,6 @@
2631
"no-useless-escape": "off",
2732
"no-unexpected-multiline": "off",
2833
"no-unused-vars": ["error", { "argsIgnorePattern": "^_", "varsIgnorePattern": "^_" }]
29-
}
34+
},
35+
"ignorePatterns": ["**/dist/**", "**/node_modules/**"]
3036
}

example-app/.eslintrc.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"root": true,
3+
"env": {
4+
"browser": true,
5+
"node": true,
6+
"es6": true
7+
},
8+
"parserOptions": {
9+
"ecmaVersion": 2020,
10+
"sourceType": "module"
11+
},
12+
"extends": ["eslint:recommended"],
13+
"rules": {
14+
"no-unused-vars": ["error", { "argsIgnorePattern": "^_", "varsIgnorePattern": "^_" }]
15+
}
16+
}

0 commit comments

Comments
 (0)