Skip to content

Commit 405be04

Browse files
committed
feat(config): update version to 0.3.1 and expand rule exclusions 👻
- Add new excluded lint rules for better development experience - Reorganize excluded rules in alphabetical order - Update plugin version references across configuration files - Update project version to 0.3.1
1 parent 195683b commit 405be04

3 files changed

Lines changed: 12 additions & 5 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ To exclude specific rules, configure them in your `deno.json`:
1818
{
1919
"lint": {
2020
"plugins": [
21-
"jsr:@neabyte/deno-lint@0.2.1" // add this module
21+
"jsr:@neabyte/deno-lint@0.3.1" // add this module
2222
],
2323
"rules": {
2424
"exclude": [

deno.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@neabyte/deno-lint",
33
"description": "Deno lint plugin collection for identifying and reporting on patterns found in code",
4-
"version": "0.3.0",
4+
"version": "0.3.1",
55
"type": "module",
66
"license": "MIT",
77
"exports": "./src/index.ts",

development/deno.json

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,25 @@
11
{
22
"links": [".."],
33
"lint": {
4-
"plugins": ["jsr:@neabyte/deno-lint@0.2.1"],
4+
"plugins": ["jsr:@neabyte/deno-lint@0.3.1"],
55
"rules": {
66
"exclude": [
77
"deno-lint/async-function-naming",
88
"deno-lint/explicit-parameter-types",
99
"deno-lint/explicit-return-types",
10+
"deno-lint/prefer-arrow-callback",
11+
"deno-lint/prefer-array-every",
12+
"deno-lint/prefer-array-flat",
13+
"deno-lint/prefer-array-includes",
14+
"deno-lint/prefer-array-some",
1015
"deno-lint/prefer-const-assertions",
16+
"deno-lint/prefer-early-return",
1117
"deno-lint/prefer-nullish-coalescing",
1218
"deno-lint/prefer-optional-chain",
13-
"deno-lint/prefer-template-literals",
14-
"deno-lint/prefer-early-return",
1519
"deno-lint/prefer-promise-reject-errors",
20+
"deno-lint/prefer-spread",
21+
"deno-lint/prefer-string-starts-ends-with",
22+
"deno-lint/prefer-template-literals",
1623
"deno-lint/require-error-handling"
1724
]
1825
}

0 commit comments

Comments
 (0)