@meistrari/mise-en-place 2.10.0 → 2.10.2
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/README.md +8 -0
- package/dist/eslint.mjs +15 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -40,6 +40,14 @@ Commands with `##` after the target are 'public' commands and are intended to be
|
|
|
40
40
|
|
|
41
41
|
The other commands are 'hidden' and are intended to be used by automations or by other 'public' commands.
|
|
42
42
|
|
|
43
|
+
If you installed `@meistrari/mise-en-place` on a parent directory, you may need to set the `MISE_EN_PLACE_INSTALL_DIR` variable before including the `Makefile`:
|
|
44
|
+
|
|
45
|
+
```Makefile
|
|
46
|
+
MISE_EN_PLACE_INSTALL_DIR=.. # Parent directory
|
|
47
|
+
-include $(MISE_EN_PLACE_INSTALL_DIR)/node_modules/@meistrari/mise-en-place/Makefile
|
|
48
|
+
|
|
49
|
+
```
|
|
50
|
+
|
|
43
51
|
## EditorConfig
|
|
44
52
|
Since the editorconfig file [don't support extending from other files](https://github.com/editorconfig/editorconfig/issues/236), the postinstall script will always copy the `.editorconfig` file from this project to your project root.
|
|
45
53
|
|
package/dist/eslint.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import antfu from '@antfu/eslint-config';
|
|
2
|
-
import drizzle from 'eslint-plugin-drizzle';
|
|
3
2
|
import * as eslintPluginDiff from 'eslint-plugin-diff';
|
|
3
|
+
import drizzle from 'eslint-plugin-drizzle';
|
|
4
4
|
|
|
5
5
|
const isCI = process.env.CI === "true";
|
|
6
6
|
const eslintConfig = antfu(
|
|
@@ -24,7 +24,12 @@ const eslintConfig = antfu(
|
|
|
24
24
|
overridesTypeAware: {
|
|
25
25
|
"ts/no-floating-promises": "error",
|
|
26
26
|
"ts/no-unnecessary-condition": "error",
|
|
27
|
-
"ts/return-await": ["error", "always"]
|
|
27
|
+
"ts/return-await": ["error", "always"],
|
|
28
|
+
/**
|
|
29
|
+
* Rule docs do not recommend this for newer TS Projects since the compiler already checks this
|
|
30
|
+
* @see {@link https://typescript-eslint.io/rules/no-redeclare/}
|
|
31
|
+
*/
|
|
32
|
+
"ts/no-redeclare": "off"
|
|
28
33
|
}
|
|
29
34
|
},
|
|
30
35
|
ignores: [
|
|
@@ -39,6 +44,14 @@ const eslintConfig = antfu(
|
|
|
39
44
|
"**/node_modules"
|
|
40
45
|
],
|
|
41
46
|
rules: {
|
|
47
|
+
// All the 'no-unsafe-*' rules cause too much noise and end up having us jumping through hoops to
|
|
48
|
+
// satisfy the linter with no actual runtime benefits. We can enable them again if we figure out a way to make them less noisy or more useful.
|
|
49
|
+
"ts/no-unsafe-assignment": "off",
|
|
50
|
+
"ts/no-unsafe-argument": "off",
|
|
51
|
+
"ts/no-unsafe-member-access": "off",
|
|
52
|
+
"ts/no-unsafe-return": "off",
|
|
53
|
+
// No actual harm in unnecessary conditions. This is just a stylistic choice
|
|
54
|
+
"ts/no-unnecessary-condition": "off",
|
|
42
55
|
"ts/strict-boolean-expressions": "off",
|
|
43
56
|
"node/prefer-global/process": ["off", "always"],
|
|
44
57
|
"ts/consistent-type-definitions": "off",
|