add precommit hook for linting and automatic eslint fixes + update eslint packages (#2862)
* chore: add precommit hook for eslint fixes, fix linting issues * chore: add eslint import sort plugin
This commit is contained in:
@@ -4,11 +4,12 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import Worker from './shiki.worker?worker'
|
||||
// this import is a bugfix
|
||||
// otherwise the `onig.wasm` file is missing in the dist folder
|
||||
import 'shiki/dist/onig.wasm?url'
|
||||
|
||||
import Worker from './shiki.worker?worker'
|
||||
|
||||
export default {
|
||||
props: {
|
||||
code: {
|
||||
|
||||
Reference in New Issue
Block a user