Consistent extension usage in imports (#1171)

This commit is contained in:
Sasha Sorokin
2023-06-11 18:37:40 +01:00
committed by GitHub
parent 20d1c4d242
commit d9f8746438
39 changed files with 133 additions and 114 deletions

View File

@@ -1,4 +1,4 @@
import { formatBytes } from '~/plugins/shorthands'
import { formatBytes } from '~/plugins/shorthands.js'
export const fileIsValid = (file, validationOptions) => {
const { maxSize, alertOnInvalid } = validationOptions

View File

@@ -15,7 +15,7 @@ import ini from 'highlight.js/lib/languages/ini'
import yaml from 'highlight.js/lib/languages/yaml'
import xml from 'highlight.js/lib/languages/xml'
import properties from 'highlight.js/lib/languages/properties'
import { md, configuredXss } from '~/helpers/parse'
import { md, configuredXss } from '~/helpers/parse.js'
/* REGISTRATION */
// Scripting