@fimbul/wotan
Advanced tools
Comparing version 0.17.0 to 0.18.0-dev.20181227
{ | ||
"name": "@fimbul/wotan", | ||
"version": "0.17.0", | ||
"version": "0.18.0-dev.20181227", | ||
"description": "Pluggable TypeScript and JavaScript linter", | ||
@@ -47,4 +47,4 @@ "bin": "bin/main.js", | ||
"dependencies": { | ||
"@fimbul/mimir": "^0.17.0", | ||
"@fimbul/ymir": "^0.17.0", | ||
"@fimbul/mimir": "0.17.0", | ||
"@fimbul/ymir": "0.17.0", | ||
"bind-decorator": "^1.0.11", | ||
@@ -51,0 +51,0 @@ "chalk": "^2.3.0", |
@@ -44,3 +44,3 @@ # Wotan | ||
For instructions how to integrate the linter into your editor, see the [documentation of the `@fimbul/mithotyn` package](https://github.com/fimbullinter/wotan/blob/master/packages/mimir/README.md). | ||
For instructions how to integrate the linter into your editor, see the [documentation of the `@fimbul/mithotyn` package](https://github.com/fimbullinter/wotan/blob/master/packages/mithotyn/README.md). | ||
@@ -96,5 +96,7 @@ ## Available Rules | ||
Note that in the example above `*.spec.ts` matches in all directories. Normally patterns are matched relative to the configuration file they are specified in. Patterns without any slash are treated special. These will only be matched against the basename of every file in every directory. | ||
Note that in the example above `*.spec.ts` matches in all directories. Normally patterns are matched relative to the configuration file they are specified in. Patterns without any slash are treated special. They will only be matched against the basename of every file in every directory. | ||
If you want to limit the pattern to the current directory, you can prefix it with `./` resulting in `./*.spec.ts`. | ||
`*` also matches the leading do if present, so you don't need a second glob pattern for dotfiles. That means `*.spec.ts` matches `.some.spec.ts` as well as `some.spec.ts`. | ||
### Configuring Rules | ||
@@ -101,0 +103,0 @@ |
@@ -110,3 +110,3 @@ "use strict"; | ||
glob.pattern = glob.pattern.substr(2); | ||
if (new minimatch_1.Minimatch(glob.pattern, { matchBase: !local }).match(file)) | ||
if (new minimatch_1.Minimatch(glob.pattern, { matchBase: !local, dot: true }).match(file)) | ||
return !glob.negated; | ||
@@ -113,0 +113,0 @@ } |
Sorry, the diff of this file is not supported yet
299100
219
Updated@fimbul/mimir@0.17.0
Updated@fimbul/ymir@0.17.0