summaryrefslogtreecommitdiff
path: root/cli/config_file.rs
AgeCommit message (Collapse)Author
2021-09-13feat(fmt): add support for configuration file (#11944)Bartek Iwańczuk
This commit adds support for configuration file for "deno fmt" subcommand. It is also respected by LSP when formatting files. Example configuration: { "fmt": { "files": { "include": ["src/"], "exclude": ["src/testdata/"] }, "options": { "useTabs": true, "lineWidth": 80, "indentWidth": 4, "singleQuote": true, "textWrap": "preserve" } } }
2021-09-08fix(cli): better handling of source maps (#11954)Kitson Kelly
Ref: #11874
2021-09-03feat(lint): add support for config file and CLI flags for rules (#11776)Bartek Iwańczuk
This commit adds support for following flags in deno lint subcommand: --config - allows to load configuration file and parses "lint" object --rules-tags=<tags> - allows specifying which set of tagged rules should be run --rules-include=<rules> - allow specifying which rules should be run --rules-exclude=<rules> - allow specifying which rules should not be run
2021-08-11chore: move test files to testdata directory (#11601)David Sherret
2021-06-22feat(cli): support "types" when type checking (#10999)Kitson Kelly
Fixes #10677
2021-05-27fix(#10733): empty tsconfig.json file does not cause error (#10734)Romain Prignon
Fixes #10733
2021-05-19fix(runtime): support source maps with Deno.emit() and bundle (#10510)Satya Rohith
Closes: #10413
2021-05-18fix(lsp): make failed to load config error descriptive (#10685)Satya Rohith
2021-05-13fix(lsp): remove duplicate cwd in config path (#10620)Niclas Overby
2021-05-10refactor(cli): replace loading file for --config flag with generic structure ↵Bartek Iwańczuk
(#10481) Currently file passed to --config file is parsed using TsConfig structure that does multiple things when loading the file. Instead of relying on that structure I've introduced ConfigFile structure that can be updated to sniff out more fields from the config file in the future.