Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15411407
D9065.id21524.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
2 KB
Referenced Files
None
Subscribers
None
D9065.id21524.diff
View Options
diff --git a/resources/arclint/cornucopia.arclint.example b/resources/arclint/cornucopia.arclint.example
new file mode 100644
--- /dev/null
+++ b/resources/arclint/cornucopia.arclint.example
@@ -0,0 +1,52 @@
+{
+ "linters": {
+ "pep8": {
+ "type": "pep8",
+ "include": "(\\.py$)",
+ "exclude": "(^exclude.py)",
+ "severity": {
+ "E401": "warning"
+ }
+ },
+ "flake8": {
+ "type": "flake8",
+ "include": "(\\.py$)",
+ "exclude": "(^exclude\\.py)",
+ "severity": {
+ "E901": "advice"
+ }
+ },
+ "csslint": {
+ "type": "csslint",
+ "include": "(\\.css$)"
+ },
+ "text": {
+ "type": "text",
+ "include": "(\\.txt$)"
+ },
+ "ruby": {
+ "type": "ruby",
+ "include": "(\\.rb$)"
+ },
+ "filename": {
+ "type": "filename"
+ },
+ "spelling": {
+ "type": "spelling"
+ },
+ "nolint": {
+ "type": "nolint"
+ },
+ "generated": {
+ "type": "generated"
+ },
+ "phpcs": {
+ "type": "phpcs",
+ "include": "(\\.php)",
+ "severity.rules": {
+ "(^PHPCS\\.E\\.)": "warning",
+ "(^PHPCS\\.W\\.)": "advice"
+ }
+ }
+ }
+}
diff --git a/resources/arclint/general-purpose.arclint.example b/resources/arclint/general-purpose.arclint.example
new file mode 100644
--- /dev/null
+++ b/resources/arclint/general-purpose.arclint.example
@@ -0,0 +1,22 @@
+{
+ "linters": {
+ "filename": {
+ "type": "filename"
+ },
+ "generated": {
+ "type": "generated"
+ },
+ "merge-conflict": {
+ "type": "merge-conflict"
+ },
+ "nolint": {
+ "type": "nolint"
+ },
+ "text": {
+ "type": "text"
+ },
+ "spelling": {
+ "type": "spelling"
+ }
+ }
+}
diff --git a/resources/arclint/include-exclude.arclint.example b/resources/arclint/include-exclude.arclint.example
new file mode 100644
--- /dev/null
+++ b/resources/arclint/include-exclude.arclint.example
@@ -0,0 +1,13 @@
+{
+ "exclude": [
+ "(^externals/)",
+ "(\\.example$)"
+ ],
+ "linters": {
+ "pep8": {
+ "type": "pep8",
+ "include": "(\\.py$)",
+ "exclude": "(^legacy/)"
+ }
+ }
+}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Mar 20, 9:17 AM (1 d, 4 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7386939
Default Alt Text
D9065.id21524.diff (2 KB)
Attached To
Mode
D9065: Add some example .arclint files to un-lie the pending documentation
Attached
Detach File
Event Timeline
Log In to Comment