Skip to content

Commit

Permalink
add formatter/pretty printer setting (#159)
Browse files Browse the repository at this point in the history
  • Loading branch information
larshp authored May 18, 2024
1 parent be9162f commit e49343d
Show file tree
Hide file tree
Showing 7 changed files with 136 additions and 138 deletions.
208 changes: 93 additions & 115 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 14 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -199,14 +199,25 @@
"title": "Formatting",
"properties": {
"abaplint.formatting.enable": {
"order": 10,
"type": "boolean",
"description": "Enable document formatting, requires restart",
"default": true
},
"abaplint.formatting.experimental": {
"order": 20,
"type": "boolean",
"description": "Enable experimental document formatting, requires restart",
"default": false
},
"abaplint.formatting.disabled": {
"order": 30,
"type": "array",
"items": {
"type": "string"
},
"default": ["unused_types", "unused_variables"],
"description": "List of rules that should not be triggered on formatting"
}
}
}
Expand Down Expand Up @@ -234,9 +245,9 @@
},
"devDependencies": {
"@types/mocha": "^10.0.6",
"@types/node": "^20.12.11",
"@typescript-eslint/eslint-plugin": "^7.8.0",
"@typescript-eslint/parser": "^7.8.0",
"@types/node": "^20.12.12",
"@typescript-eslint/eslint-plugin": "^7.9.0",
"@typescript-eslint/parser": "^7.9.0",
"@vscode/test-web": "^0.0.54",
"buffer": "^6.0.3",
"crypto-browserify": "^3.12.0",
Expand Down
Loading

0 comments on commit e49343d

Please sign in to comment.