Denis Olsem

Results 37 comments of Denis Olsem

If you're looking for alternatives, let me shamelessly advertise my own plugin I've created https://github.com/dolsem/eslint-plugin-filename-rules.

@pmcelhaney sorry I missed the message, but if you submit a PR, I am happy to review and potentially merge it. Or, perhaps eslint-plugin-canonical mentioned above will better suit your...

I created [my own plugin](https://github.com/dolsem/eslint-plugin-filename-rules) for the same purpose, it validates against the full name instead.

You could do this with [my plugin](https://github.com/dolsem/eslint-plugin-filename-rules), I chose to run the regex against the full name of the file.

Here's an example of how a custom assertion might be defined: ```js const test = require('ava'); const { Assertions } = require('ava/lib/assert'); Object.assign(Assertions.prototype, { bla(actual, expected) { if (!blaTest(actual, expected))...

@novemberborn well, if you don't want to expose `AssertionError`, the aforementioned object could have an optional `error` field with an instance of a custom error. Then `AssertionError` would reuse its...

I would like to submit a PR request for an actual debounce (backwards-compatible), but it makes sense to merge this first?

I had the same issue with ptpython. vgavro's solution fixed it for me; I put that line in the beginning of ~/.local/lib/python2.7/site-packages/parso/python/diff.py

@swiatek25 try something like this: ```js const tsConfig = require('./tsconfig.json'); const tsConfigPaths = require('tsconfig-paths'); const { baseUrl, outDir, paths } = tsConfig.compilerOptions; const outDirPaths = Object.entries(paths).reduce( (outDirPaths, [k, v]) =>...