Disabling Lint rules using configuration comments #2408
-
When you want to use the same word for different languages, you now get a warning saying "Identical content found i language..." |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
You can disable lint rules by removing them from the {
"$schema": "https://inlang.com/schema/project-settings",
"sourceLanguageTag": "en",
"languageTags": ["en", "de"],
"modules": [
"https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-empty-pattern@latest/dist/index.js",
- "https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-identical-pattern@latest/dist/index.js",
"https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-missing-translation@latest/dist/index.js",
"https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-without-source@latest/dist/index.js",
"https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-valid-js-identifier@latest/dist/index.js",
"https://cdn.jsdelivr.net/npm/@inlang/plugin-message-format@latest/dist/index.js",
"https://cdn.jsdelivr.net/npm/@inlang/plugin-m-function-matcher@latest/dist/index.js"
],
"plugin.inlang.messageFormat": {
"pathPattern": "./messages/{languageTag}.json"
}
} Unfortunately there isn't (yet) a way to do the fine-grained per-language config you described. |
Beta Was this translation helpful? Give feedback.
-
discussion and issue tracking moved to opral/inlang-sdk#5 |
Beta Was this translation helpful? Give feedback.
discussion and issue tracking moved to opral/inlang-sdk#5