From 8f2a2b53719a71a57209e2272ea7c3630cf5615f Mon Sep 17 00:00:00 2001 From: Capsule42 Date: Thu, 24 Jun 2021 00:13:54 -0700 Subject: [PATCH] feat(eslint): broaden eslint coverage --- template/package.json | 2 +- template/src/es5.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/template/package.json b/template/package.json index e95e0d70..09d18ed1 100644 --- a/template/package.json +++ b/template/package.json @@ -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", diff --git a/template/src/es5.js b/template/src/es5.js index 72564492..3e5a712d 100644 --- a/template/src/es5.js +++ b/template/src/es5.js @@ -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]';