@saasmakers/eslint 0.1.8 → 0.1.9

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.
@@ -222,6 +222,7 @@ const eslint_config = antfu__default(
222
222
  "ts/no-unused-expressions": "off",
223
223
  "ts/no-use-before-define": "off",
224
224
  "ts/no-var-requires": "off",
225
+ "ts/prefer-nullish-coalescing": "error",
225
226
  "unicorn/filename-case": "off",
226
227
  "vars-on-top": "off",
227
228
  "vue/attributes-order": [
@@ -211,6 +211,7 @@ var eslint_config = antfu(
211
211
  "ts/no-unused-expressions": "off",
212
212
  "ts/no-use-before-define": "off",
213
213
  "ts/no-var-requires": "off",
214
+ "ts/prefer-nullish-coalescing": "error",
214
215
  "unicorn/filename-case": "off",
215
216
  "vars-on-top": "off",
216
217
  "vue/attributes-order": [
@@ -211,6 +211,7 @@ var eslint_config = antfu(
211
211
  "ts/no-unused-expressions": "off",
212
212
  "ts/no-use-before-define": "off",
213
213
  "ts/no-var-requires": "off",
214
+ "ts/prefer-nullish-coalescing": "error",
214
215
  "unicorn/filename-case": "off",
215
216
  "vars-on-top": "off",
216
217
  "vue/attributes-order": [
@@ -211,6 +211,7 @@ var eslint_config = antfu(
211
211
  "ts/no-unused-expressions": "off",
212
212
  "ts/no-use-before-define": "off",
213
213
  "ts/no-var-requires": "off",
214
+ "ts/prefer-nullish-coalescing": "error",
214
215
  "unicorn/filename-case": "off",
215
216
  "vars-on-top": "off",
216
217
  "vue/attributes-order": [
@@ -211,6 +211,7 @@ const eslint_config = antfu(
211
211
  "ts/no-unused-expressions": "off",
212
212
  "ts/no-use-before-define": "off",
213
213
  "ts/no-var-requires": "off",
214
+ "ts/prefer-nullish-coalescing": "error",
214
215
  "unicorn/filename-case": "off",
215
216
  "vars-on-top": "off",
216
217
  "vue/attributes-order": [
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@saasmakers/eslint",
3
3
  "type": "module",
4
- "version": "0.1.8",
4
+ "version": "0.1.9",
5
5
  "private": false,
6
6
  "description": "Shared ESLint config for SaaS Makers projects",
7
7
  "license": "MIT",