mirror of
https://github.com/pyscript/pyscript.git
synced 2025-12-19 18:27:29 -05:00
The goal of this MR is to unobtrusively allow the usage of `<script type="py">`, `<script type="pyscript">` or `<script type="py-script">` tags instead of `<py-script>` for all those case where the layout in custom elements get parsed and breaks users' expectations (including our SVG based tests).
This commit is contained in:
committed by
GitHub
parent
074ca0ef8f
commit
a1281d1331
@@ -37,4 +37,12 @@ module.exports = {
|
||||
'@typescript-eslint/no-empty-function': 'error',
|
||||
'@typescript-eslint/restrict-template-expressions': ['error', { allowBoolean: true }],
|
||||
},
|
||||
overrides: [
|
||||
{
|
||||
files: ['src/components/pyscript.ts'],
|
||||
rules: {
|
||||
'@typescript-eslint/unbound-method': 'off',
|
||||
},
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user