Skip to content

Commit

Permalink
feat(eslint): broaden eslint coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-capsule42 committed Jun 24, 2021
1 parent 8143ed5 commit 8f2a2b5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@
"demo:update:index": "node ./scripts/prepForBuild",
"dev": "npm run build:watch",
"dist:js": "copyfiles -u 1 -V './src/**/*.js' ./dist",
"esLint": "./node_modules/.bin/eslint src/[namespace]-*.js",
"esLint": "./node_modules/.bin/eslint src/**/*.js",
"linters": "npm-run-all scssLint esLint",
"preCommit": "node scripts/pre-commit.js",
"postCss:component": "node ./scripts/postCss.js",
Expand Down
4 changes: 2 additions & 2 deletions template/src/es5.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// Used for bundling for legacy browsers

// this needs to be imported before WC polyfills to prevent "Out of stack space" errors in IE
import 'core-js/es/symbol';
import 'core-js/es/symbol';
import 'whatwg-fetch';

import '@webcomponents/webcomponentsjs/webcomponents-bundle';
import '@webcomponents/webcomponentsjs/webcomponents-bundle';
import './[namespace]-[name]';

0 comments on commit 8f2a2b5

Please sign in to comment.