@amedia/eslint-config-jest
Advanced tools
Comparing version 7.0.3 to 7.0.4
# @amedia/eslint-config-jest | ||
## 7.0.4 | ||
### Patch Changes | ||
- dbb3437: add two new rules to eslint-base | ||
Adding rules may cause previously linted code to fail, though these two | ||
rules may be automatically fixed, so running `kragl lint --fix` should | ||
resolve the simple cases automatically. | ||
The reason for adding a requirement for the `node:` protocol prefix is | ||
to make it absolutely clear that this is an internal node module. This | ||
makes it easier for the reader to, as one example, immediately spot any | ||
node modules that may need polyfill for the browser. | ||
The second rules pushes us to use ESM everywhere it is expected by | ||
default. All CommonJS code needs to be moved to `.cjs` files, regardless | ||
if the module type is "module" or not. | ||
This also serves to help us move to a pure ESM based ecosystem for | ||
our internal codebase. | ||
## 7.0.3 | ||
@@ -4,0 +26,0 @@ |
{ | ||
"name": "@amedia/eslint-config-jest", | ||
"version": "7.0.3", | ||
"version": "7.0.4", | ||
"description": "ESLint configuration to be used by developers at Amedia", | ||
"type": "commonjs", | ||
"main": "index.js", | ||
"main": "index.cjs", | ||
"scripts": {}, | ||
@@ -8,0 +8,0 @@ "repository": { |
7229