@ornikar/eslint-config 18.9.0 → 18.10.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
@@ -3,6 +3,22 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [18.10.0](https://github.com/ornikar/eslint-configs/compare/v18.9.0...v18.10.0) (2022-05-31)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **eslint-config:** allow non-linteral fs filename for tests ([31cc2f3](https://github.com/ornikar/eslint-configs/commit/31cc2f3d98a415956122a315ec742ed30120865e))
12
+
13
+
14
+ ### Features
15
+
16
+ * **eslint-config:** prefer-native-coercion-functions ([#311](https://github.com/ornikar/eslint-configs/issues/311)) ([ecb42c7](https://github.com/ornikar/eslint-configs/commit/ecb42c7146cee49d705357bfe29e68d7438c1859))
17
+
18
+
19
+
20
+
21
+
6
22
  # [18.9.0](https://github.com/ornikar/eslint-configs/compare/v18.8.0...v18.9.0) (2022-05-31)
7
23
 
8
24
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ornikar/eslint-config",
3
- "version": "18.9.0",
3
+ "version": "18.10.0",
4
4
  "description": "eslint config files",
5
5
  "repository": "ornikar/eslint-configs",
6
6
  "main": "index.js",
@@ -30,5 +30,5 @@
30
30
  "eslint": "8.16.0",
31
31
  "prettier": "2.6.2"
32
32
  },
33
- "gitHead": "73961ae24c60cc850315d92ec574694e2175685b"
33
+ "gitHead": "169c0c5f88b8c4b00b8b999eb2dd22483b114ff0"
34
34
  }
package/rules/unicorn.js CHANGED
@@ -290,6 +290,6 @@ const formTree = shallow(tree.find(x => FormWithApiCall(x)).prop('children')());
290
290
  'unicorn/no-unreadable-iife': 'off',
291
291
 
292
292
  // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-native-coercion-functions.md
293
- 'unicorn/prefer-native-coercion-functions': 'off',
293
+ 'unicorn/prefer-native-coercion-functions': 'error',
294
294
  },
295
295
  };
package/tests-override.js CHANGED
@@ -15,5 +15,9 @@ module.exports = {
15
15
  devDependencies: true,
16
16
  },
17
17
  ],
18
+
19
+ // Allow non-literal fs filename for tests
20
+ 'security/detect-non-literal-fs-filename': 'off',
21
+ 'security/detect-non-literal-require': 'off',
18
22
  },
19
23
  };