@hiddenability/opinionated-defaults 0.0.13 → 0.0.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.
package/README.md CHANGED
@@ -96,11 +96,9 @@ const prettierConfig = merge(prettierConfig1, prettierConfig2, {/* your custom r
96
96
  export default prettierConfig;
97
97
  ```
98
98
 
99
- > [!NOTE]
100
- > When using prettierConfigTailwind, it needs to come first in the merge function. Read more [here](https://github.com/tailwindlabs/prettier-plugin-tailwindcss#compatibility-with-other-prettier-plugins)
101
-
102
99
  ## TODO:
103
100
  - Improve repository structure (How to manage configuration options within eslint dir?).
104
101
  - Maybe convert into monorepo with one package per tool instead of multiple exports from one package.
105
102
  - Prevent importing overlapping configurations (i.e., Next.js ESLint config contains base config).
106
103
  - Support node module resolution.
104
+ - Maybe make declarative configurations instead of just providing wrapped config.
@@ -7,6 +7,8 @@ const config = [
7
7
  {
8
8
  rules: {
9
9
  "unicorn/prevent-abbreviations": ["off"],
10
+ "unicorn/no-array-for-each": ["off"],
11
+ "unicorn/no-array-reduce": ["off"],
10
12
  "unicorn/filename-case": [
11
13
  "error",
12
14
  {
@@ -6,6 +6,7 @@ export { default as eslintConfigNext } from './next';
6
6
  export { default as eslintConfigPrettier } from './prettier';
7
7
  export { default as eslintConfigReact } from './react';
8
8
  export { default as eslintConfigRelative } from './relative';
9
+ export { default as eslintConfigSolid } from './solid';
9
10
  export { default as eslintConfigStylistic } from './stylistic';
10
11
  export { default as eslintConfigTurbo } from './turbo';
11
12
  export { default as eslintConfigTypescript } from './typescript';
@@ -6,6 +6,7 @@ export { default as eslintConfigNext } from "./next.mjs";
6
6
  export { default as eslintConfigPrettier } from "./prettier.mjs";
7
7
  export { default as eslintConfigReact } from "./react.mjs";
8
8
  export { default as eslintConfigRelative } from "./relative.mjs";
9
+ export { default as eslintConfigSolid } from "./solid.mjs";
9
10
  export { default as eslintConfigStylistic } from "./stylistic.mjs";
10
11
  export { default as eslintConfigTurbo } from "./turbo.mjs";
11
12
  export { default as eslintConfigTypescript } from "./typescript.mjs";
@@ -0,0 +1,2 @@
1
+ declare const solidConfig: any[];
2
+ export default solidConfig;
@@ -0,0 +1,3 @@
1
+ import eslintPluginSolid from "eslint-plugin-solid/configs/typescript";
2
+ const solidConfig = [eslintPluginSolid];
3
+ export default solidConfig;
@@ -1,9 +1,2 @@
1
- declare const typescriptConfig: (import("@typescript-eslint/utils/dist/ts-eslint").FlatConfig.Config | {
2
- languageOptions: {
3
- parser: any;
4
- parserOptions: {
5
- projectService: boolean;
6
- };
7
- };
8
- })[];
1
+ declare const typescriptConfig: object[];
9
2
  export default typescriptConfig;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hiddenability/opinionated-defaults",
3
3
  "description": "Opinionated default configurations for dev tools.",
4
- "version": "0.0.13",
4
+ "version": "0.0.15",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
@@ -33,27 +33,29 @@
33
33
  },
34
34
  "dependencies": {
35
35
  "@eslint/js": "^9.29.0",
36
- "@next/eslint-plugin-next": "^15.4.0-canary.83",
36
+ "@next/eslint-plugin-next": "^15.4.0-canary.89",
37
37
  "@stylistic/eslint-plugin": "^4.4.1",
38
38
  "@trivago/prettier-plugin-sort-imports": "^5.2.2",
39
- "@types/lodash": "^4.17.17",
39
+ "@types/lodash": "^4.17.18",
40
40
  "eslint-config-prettier": "^10.1.5",
41
41
  "eslint-plugin-astro": "^1.3.1",
42
42
  "eslint-plugin-functional": "^9.0.2",
43
43
  "eslint-plugin-no-relative-import-paths": "^1.6.1",
44
44
  "eslint-plugin-prefer-arrow-functions": "^3.6.2",
45
- "eslint-plugin-prettier": "^5.4.1",
45
+ "eslint-plugin-prettier": "^5.5.0",
46
46
  "eslint-plugin-react": "^7.37.5",
47
47
  "eslint-plugin-react-hooks": "^5.2.0",
48
+ "eslint-plugin-solid": "^0.14.5",
48
49
  "eslint-plugin-turbo": "^2.5.4",
49
50
  "eslint-plugin-unicorn": "^59.0.1",
50
51
  "lodash": "^4.17.21",
51
52
  "prettier-plugin-astro": "^0.14.1",
52
53
  "prettier-plugin-tailwindcss": "0.6.12",
53
- "typescript-eslint": "^8.34.0"
54
+ "typescript-eslint": "^8.34.1"
54
55
  },
55
56
  "devDependencies": {
56
- "@hiddenability/opinionated-defaults": "^0.0.12",
57
+ "@hiddenability/opinionated-defaults": "^0.0.13",
58
+ "@types/bun": "^1.2.17",
57
59
  "jiti": "^2.4.2",
58
60
  "typescript": "^5.8.3",
59
61
  "unbuild": "^3.5.0",