Skip to content

Commit

Permalink
chore: add link to docs in each eslint rule (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
k-yle authored Dec 12, 2024
1 parent 74b8401 commit 19ef47a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/rules/no-duplicate-imports.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export default {
docs: {
description: "Disallow duplicate @import rules",
recommended: true,
url: "https://github.com/eslint/css/blob/main/docs/rules/no-duplicate-imports.md",
},

messages: {
Expand Down
1 change: 1 addition & 0 deletions src/rules/no-empty-blocks.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export default {
docs: {
description: "Disallow empty blocks",
recommended: true,
url: "https://github.com/eslint/css/blob/main/docs/rules/no-empty-blocks.md",
},

messages: {
Expand Down
1 change: 1 addition & 0 deletions src/rules/no-invalid-at-rules.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ export default {
docs: {
description: "Disallow invalid at-rules",
recommended: true,
url: "https://github.com/eslint/css/blob/main/docs/rules/no-invalid-at-rules.md",
},

messages: {
Expand Down
1 change: 1 addition & 0 deletions src/rules/no-invalid-properties.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export default {
docs: {
description: "Disallow invalid properties",
recommended: true,
url: "https://github.com/eslint/css/blob/main/docs/rules/no-invalid-properties.md",
},

messages: {
Expand Down

0 comments on commit 19ef47a

Please sign in to comment.