-
You are going full speed writing that new piece of code you want. You need to iterate over an array, but suddenly TS complains saying you've got the wrong type for your array member.
![image](https…
-
See `postcss-loader`'s example: https://github.com/postcss/postcss-loader
samhh updated
7 years ago
-
https://github.com/reactjs/rfcs/issues/198
https://github.com/yannickcr/eslint-plugin-react/issues/3042
Not sure whether this belongs in `eslint-plugin-react-hooks` or `eslint-plugin-react`, but a…
-
We saw the following error happen in production ([sentry traceback](https://sentry.io/organizations/mozilla/issues/3364574696/?query=is%3Aunresolved&referrer=issue-stream)) when validating an add-on t…
-
Interesting thought... I have a rough prototype working locally, just need to do some more experimenting to see if it's the right approach, but the theory is...
Load up and normalize the config usi…
-
The TypeScript team is moving towards ESLint because of its performance and obviously bigger ecosystem: https://github.com/Microsoft/TypeScript/issues/29288
This proposes a new plugin module that c…
-
### Package version
2.2.4
### Describe the bug
All templates have their final newline removed even tho it exists in original `.stub` file
This makes linters mad as soon as you move over any remp…
-
The project has no linting, currently
#464 removed the reference to `tslint` (though it is not mentioned in the commit)
While it might have been better to add a lint script in `package.json` inst…
-
# 使用 husky+lint-staged+prettier 优化代码格式
[]()
## 背景
团队协作中经常遇到这样的问题:
> 1. 代码风格不统一
>
可以使用 linter 使代码风格统一。
> 2. 使用 linter 检测之后有非常多的格式问题,手动修改很麻烦
>
可以使用 linter 命令来修复错误。比如…
-
Oh node, how we love thee.
In my work on #11 I'm moving the project to `type: "module"` which lets us do things like `export foo()` in a utility file.
Since it never hurts to move into modern no…