@meistrari/mise-en-place 2.5.1 → 2.6.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/dist/eslint.mjs +8 -13
  2. package/package.json +1 -1
package/dist/eslint.mjs CHANGED
@@ -3,18 +3,6 @@ import drizzle from 'eslint-plugin-drizzle';
3
3
  import * as eslintPluginDiff from 'eslint-plugin-diff';
4
4
 
5
5
  const isCI = process.env.CI === "true";
6
- function getTsConfig() {
7
- if (isCI) {
8
- return void 0;
9
- }
10
- return {
11
- tsconfigPath: "./tsconfig.json",
12
- overridesTypeAware: {
13
- "ts/no-floating-promises": "error",
14
- "ts/no-unnecessary-condition": "error"
15
- }
16
- };
17
- }
18
6
  const eslintConfig = antfu(
19
7
  {
20
8
  stylistic: {
@@ -31,7 +19,14 @@ const eslintConfig = antfu(
31
19
  // This speeds up the linting process significantly and also allows us to
32
20
  // rollout new rules gradually.
33
21
  ...isCI ? { processor: eslintPluginDiff.processors.ci } : void 0,
34
- typescript: getTsConfig(),
22
+ typescript: {
23
+ tsconfigPath: "./tsconfig.json",
24
+ overridesTypeAware: {
25
+ "ts/no-floating-promises": "error",
26
+ "ts/no-unnecessary-condition": "error",
27
+ "ts/return-await": ["error", "always"]
28
+ }
29
+ },
35
30
  ignores: [
36
31
  ".github",
37
32
  "*.yaml",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meistrari/mise-en-place",
3
- "version": "2.5.1",
3
+ "version": "2.6.0",
4
4
  "description": "",
5
5
  "repository": {
6
6
  "type": "git",