@ornikar/eslint-config 20.2.1 → 21.0.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.
Files changed (2) hide show
  1. package/package.json +4 -4
  2. package/rules/unicorn.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ornikar/eslint-config",
3
- "version": "20.2.1",
3
+ "version": "21.0.0",
4
4
  "description": "eslint config files",
5
5
  "repository": {
6
6
  "directory": "@ornikar/eslint-config",
@@ -10,13 +10,13 @@
10
10
  "main": "index.js",
11
11
  "license": "ISC",
12
12
  "engines": {
13
- "node": ">= 16.15.1"
13
+ "node": ">=18.18.0"
14
14
  },
15
15
  "publishConfig": {
16
16
  "access": "public"
17
17
  },
18
18
  "dependencies": {
19
- "@ornikar/eslint-plugin-ornikar": "20.2.1",
19
+ "@ornikar/eslint-plugin-ornikar": "21.0.0",
20
20
  "eslint-config-airbnb-base": "^15.0.0",
21
21
  "eslint-config-prettier": "^8.2.0",
22
22
  "eslint-plugin-import": "^2.25.4",
@@ -38,5 +38,5 @@
38
38
  "scripts": {
39
39
  "lint:eslint": "yarn ../.. eslint --report-unused-disable-directives --quiet @ornikar/eslint-config"
40
40
  },
41
- "gitHead": "6c7c0e2b83e6f40d1eda4d7d904c3597d5fe43b1"
41
+ "gitHead": "99c0a576f6ee3da108b9101453f6a0954c54b33e"
42
42
  }
package/rules/unicorn.js CHANGED
@@ -227,7 +227,7 @@ const formTree = shallow(tree.find(x => FormWithApiCall(x)).prop('children')());
227
227
  'unicorn/prefer-switch': 'error',
228
228
 
229
229
  // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-node-protocol.md
230
- 'unicorn/prefer-node-protocol': 'off',
230
+ 'unicorn/prefer-node-protocol': 'error',
231
231
 
232
232
  // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-module.md
233
233
  'unicorn/prefer-module': 'off',