updated linter config

هذا الالتزام موجود في:
Chris Ayers
2023-10-02 00:10:11 +00:00
الأصل 9c61aed591
التزام 0d5ba8f6f6
3 ملفات معدلة مع 51 إضافات و5 حذوفات

10
.github/linters/.jscpd.json مباع Normal file
عرض الملف

@@ -0,0 +1,10 @@
{
"threshold": 5,
"reporters": [
"consoleFull"
],
"ignore": [
"**/__snapshots__/**"
],
"absolute": true
}

36
.github/linters/.markdown-lint.yml مباع Normal file
عرض الملف

@@ -0,0 +1,36 @@
---
###########################
###########################
## Markdown Linter rules ##
###########################
###########################
# Linter rules doc:
# - https://github.com/DavidAnson/markdownlint
#
# Note:
# To comment out a single error:
# <!-- markdownlint-disable -->
# any violations you want
# <!-- markdownlint-restore -->
#
###############
# Rules by id #
###############
MD004: false # Unordered list style
MD007:
indent: 2 # Unordered list indentation
MD013:
line_length: 400 # Line length 80 is far too short
MD024: false # Multiple headers with the same content
MD026:
punctuation: ".,;:!。,;:" # List of not allowed
MD029: false # Ordered list item prefix
MD033: false # Allow inline HTML
MD036: false # Emphasis used instead of a heading
#################
# Rules by tags #
#################
blank_lines: false # Error on blank lines

عرض الملف

@@ -56,7 +56,7 @@ Demo: [Online Parser](https://yaml-online-parser.appspot.com/)
<div>
| Feature | Description |
| --- | --- |
| --------- | --------------------------------- |
| Lists | Start with a |
| Key-Value | Key: value |
| Objects | Objects:<br>Properties of objects |