Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanVukovic99 committed Feb 11, 2024
1 parent 4c387d6 commit 53433fa
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions ext/js/language/ja/language-japanese.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,35 +30,35 @@ export const descriptor = {
description: 'ヨミチャン → ヨミチャン',
options: basicTextPreprocessorOptions,
/** @type {import('language').TextPreprocessorFunction<boolean>} */
process: (str, setting, sourceMap) => setting ? convertHalfWidthKanaToFullWidth(str, sourceMap) : str
process: (str, setting, sourceMap) => (setting ? convertHalfWidthKanaToFullWidth(str, sourceMap) : str)
},
convertNumericCharacters: {
name: 'Convert numeric characters to full width',
description: '1234 → 1234',
options: basicTextPreprocessorOptions,
/** @type {import('language').TextPreprocessorFunction<boolean>} */
process: (str, setting) => setting ? convertNumericToFullWidth(str) : str
process: (str, setting) => (setting ? convertNumericToFullWidth(str) : str)
},
convertAlphabeticCharacters: {
name: 'Convert alphabetic characters to hiragana',
description: 'yomichan → よみちゃん',
options: basicTextPreprocessorOptions,
/** @type {import('language').TextPreprocessorFunction<boolean>} */
process: (str, setting, sourceMap) => setting ? convertAlphabeticToKana(str, sourceMap) : str
process: (str, setting, sourceMap) => (setting ? convertAlphabeticToKana(str, sourceMap) : str)
},
convertHiraganaToKatakana: {
name: 'Convert hiragana to katakana',
description: 'よみちゃん → ヨミチャン',
options: basicTextPreprocessorOptions,
/** @type {import('language').TextPreprocessorFunction<boolean>} */
process: (str, setting) => setting ? convertHiraganaToKatakana(str) : str
process: (str, setting) => (setting ? convertHiraganaToKatakana(str) : str)
},
convertKatakanaToHiragana: {
name: 'Convert katakana to hiragana',
description: 'ヨミチャン → よみちゃん',
options: basicTextPreprocessorOptions,
/** @type {import('language').TextPreprocessorFunction<boolean>} */
process: (str, setting) => setting ? convertKatakanaToHiragana(str) : str
process: (str, setting) => (setting ? convertKatakanaToHiragana(str) : str)
},
collapseEmphaticSequences: {
name: 'Collapse emphatic character sequences',
Expand Down

0 comments on commit 53433fa

Please sign in to comment.