@newsteam/eslint-config 1.2.14 → 1.2.15

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.
@@ -1 +1 @@
1
- {"version":3,"file":"typescript.d.ts","sourceRoot":"","sources":["../../src/plugins/typescript.ts"],"names":[],"mappings":"AAoBA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAQrC,eAAO,MAAM,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAszC3C,CAAC"}
1
+ {"version":3,"file":"typescript.d.ts","sourceRoot":"","sources":["../../src/plugins/typescript.ts"],"names":[],"mappings":"AAoBA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAQrC,eAAO,MAAM,gBAAgB,EAAE,MAAM,CAAC,MAAM,EA8zC3C,CAAC"}
@@ -995,7 +995,15 @@ export const typescriptPlugin = [
995
995
  *
996
996
  * https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/prefer-nullish-coalescing.mdx
997
997
  */
998
- "@typescript-eslint/prefer-nullish-coalescing": "warn",
998
+ "@typescript-eslint/prefer-nullish-coalescing": [
999
+ "warn",
1000
+ {
1001
+ ignorePrimitives: {
1002
+ boolean: true,
1003
+ string: true,
1004
+ },
1005
+ },
1006
+ ],
999
1007
  /*
1000
1008
  * Prefer using concise optional chain expressions instead of chained logical ands
1001
1009
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@newsteam/eslint-config",
3
- "version": "1.2.14",
3
+ "version": "1.2.15",
4
4
  "description": "Shared config for eslint",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",