Files
Stephen Zhou eb71e47f3b chore: migrate linting to vp lint with ESLint fallback (#38834)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-13 06:41:53 +00:00

17 lines
377 B
JavaScript

import consistentPlaceholders from './rules/consistent-placeholders.js'
import noExtraKeys from './rules/no-extra-keys.js'
/** @type {import('eslint').ESLint.Plugin} */
const plugin = {
meta: {
name: 'dify-i18n',
version: '1.0.0',
},
rules: {
'consistent-placeholders': consistentPlaceholders,
'no-extra-keys': noExtraKeys,
},
}
export default plugin