diff --git a/.gitignore b/.gitignore index f61b8a6..6bc8ff3 100644 --- a/.gitignore +++ b/.gitignore @@ -17,7 +17,7 @@ coverage # tests test-results -src/components/*-snapshots/*-darwin.png +src/components/countdown/*-snapshots/*-darwin.png # nyc test coverage .nyc_output diff --git a/development.ts b/development.ts index 01c1a12..c49285b 100644 --- a/development.ts +++ b/development.ts @@ -1,4 +1,4 @@ -import { Countdown } from './src/components/countdown.ts'; +import { Countdown } from './src/components/countdown/countdown.ts'; import xanadu from './src/index.ts'; xanadu(); diff --git a/eslint.config.js b/eslint.config.js index 2c84859..b0e246a 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -17,7 +17,8 @@ export default [ 'no-ternary': 'off', 'no-undef': 'off', 'one-var': 'off', - 'sort-imports': ['error', { ignoreCase: true }] + 'sort-imports': ['error', { ignoreCase: true }], + 'no-console': ['error', { allow: ['warn', 'error'] }] } }, eslintPluginUnicorn.configs['flat/recommended'], @@ -53,7 +54,7 @@ export default [ 'wc/file-name-matches-element': 'error', 'wc/guard-define-call': 'error', 'wc/max-elements-per-file': 'error', - 'wc/no-constructor': 'error', + 'wc/no-constructor': 'warn', 'wc/no-exports-with-element': 'error', 'wc/no-method-prefixed-with-on': 'error', 'wc/tag-name-matches-class': 'error' diff --git a/index.html b/index.html index 5549d7a..d563b34 100644 --- a/index.html +++ b/index.html @@ -9,30 +9,10 @@
-