eslint-config-seekingalpha-base 5.44.0 → 5.45.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Change Log
2
2
 
3
+ ## 5.45.0 - 2023-01-19
4
+ - [breaking] enable `unicorn/prefer-node-protocol` rule
5
+
3
6
  ## 5.44.0 - 2023-01-17
4
7
  - [deps] update `eslint` to version `8.32.0`
5
8
  - [deps] update `eslint-plugin-import` to version `2.27.5`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-seekingalpha-base",
3
- "version": "5.44.0",
3
+ "version": "5.45.0",
4
4
  "description": "SeekingAlpha's sharable base ESLint config",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -14,7 +14,7 @@ module.exports = {
14
14
  'import/no-amd': 'error',
15
15
 
16
16
  // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-nodejs-modules.md
17
- 'import/no-nodejs-modules': 'error',
17
+ 'import/no-nodejs-modules': 'off',
18
18
 
19
19
  // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-import-module-exports.md
20
20
  'import/no-import-module-exports': 'error',
@@ -287,7 +287,7 @@ module.exports = {
287
287
  * Enable after migration to nodejs 16 with esm
288
288
  * https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-node-protocol.md
289
289
  */
290
- 'unicorn/prefer-node-protocol': 'off',
290
+ 'unicorn/prefer-node-protocol': 'error',
291
291
 
292
292
  // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/prefer-number-properties.md
293
293
  'unicorn/prefer-number-properties': 'error',