Skip to content

Commit

Permalink
chore(storybook): storybook upgraded to v6.5.5 (#117)
Browse files Browse the repository at this point in the history
* chore(storybook): storybook upgraded to v6.5.5

* chore(storybook): lit expression comments cleared in v6.5

Manual modification in storybook configuration is not needed anymore.

For more information: storybookjs/storybook#18108

Co-authored-by: Murat Çorlu <[email protected]>
  • Loading branch information
muratcorlu and muratcorlu authored May 30, 2022
1 parent 51ac9d6 commit be02a68
Show file tree
Hide file tree
Showing 5 changed files with 2,980 additions and 3,354 deletions.
43 changes: 43 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
module.exports = {
root: true,
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 2020,
sourceType: 'module',
},
extends: [
'prettier',
'eslint:recommended',
'plugin:@typescript-eslint/eslint-recommended',
'plugin:@typescript-eslint/recommended',
],
plugins: ['@typescript-eslint'],
env: {
browser: true,
},
globals: {
process: 'readonly',
},
rules: {
strict: ['error', 'never'],
},
overrides: [
{
files: ['rollup.config.js', 'web-test-runner.config.js'],
env: {
node: true,
},
},
{
files: [
'*.test.ts',
'**/custom_typings/*.ts',
'packages/lit-ssr/src/test/integration/tests/**',
'packages/lit-ssr/src/lib/util/parse5-utils.ts',
],
rules: {
'@typescript-eslint/no-explicit-any': 'off',
},
},
],
};
43 changes: 0 additions & 43 deletions .eslintrc.json

This file was deleted.

2 changes: 0 additions & 2 deletions .storybook/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ export const parameters = {
docs: {
transformSource: source =>
source
// Clean Lit Expression Comments
.replace(/<!--\?lit\$[0-9]+\$-->|<!--\??-->/g, '')
// Clean empty boolean attribute values
.replace(/=\"\"/g, ''),
},
Expand Down
Loading

0 comments on commit be02a68

Please sign in to comment.