mirror of
https://github.com/langgenius/dify.git
synced 2026-07-22 04:25:29 -04:00
eb71e47f3b
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
17 lines
377 B
JavaScript
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
|