eslint-plugin

@masknet/string/no-data-url

Disallow use Data URL

Rule Details

Disallow use Data URL

:x: Incorrect

const foo = `data:...`
const bar = 'data:...'

:white_check_mark: Correct

Please use https://webpack.js.org/guides/asset-modules/ or other method save blob file in local

Attributes