Skip to content

Commit

Permalink
Merge pull request #79 from feature-sliced/bugfix/LINT-75-not-disable…
Browse files Browse the repository at this point in the history
…d-by-custom-ruleid

LINT-75(feedback): Impossible to disable rules by customized ruleIds
  • Loading branch information
azinit authored Jan 31, 2022
2 parents 9263a42 + 136854d commit 0f08f1c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions processor/messages.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,11 @@ const getRuleMessage = (msg) => {
switch (msg.ruleId) {
case 'import/order': {
return {
ruleId: 'feature-sliced/import-order',
message: 'Broken order of imports | https://git.io/JymjI',
}
}
case 'import/no-internal-modules': {
return {
ruleId: 'feature-sliced/public-api',
message: 'Violated usage of modules Public API | https://git.io/Jymjf',
}
}
Expand All @@ -19,7 +17,6 @@ const getRuleMessage = (msg) => {
const from = groups?.from || '';
const to = groups?.to || '';
return {
ruleId: 'feature-sliced/layers-slices',
message: `Violated isolation between layers or slices: ${from} => ${to} | https://git.io/Jymh2`,
}
}
Expand Down

0 comments on commit 0f08f1c

Please sign in to comment.