@hiddenability/opinionated-defaults 0.0.23 → 0.0.24

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,11 +1,9 @@
1
1
  import js from "@eslint/js";
2
- import perfectionist from "eslint-plugin-perfectionist";
3
2
  import preferArrowFunctions from "eslint-plugin-prefer-arrow-functions";
4
3
  import eslintPluginUnicorn from "eslint-plugin-unicorn";
5
4
  const config = [
6
5
  js.configs.recommended,
7
6
  eslintPluginUnicorn.configs.recommended,
8
- perfectionist.configs["recommended-natural"],
9
7
  {
10
8
  rules: {
11
9
  "unicorn/filename-case": [
@@ -3,6 +3,7 @@ export { default as eslintConfigBase } from './base';
3
3
  export { default as eslintConfigElysia } from './elysia';
4
4
  export { default as eslintConfigFunctional } from './functional';
5
5
  export { default as eslintConfigNext } from './next';
6
+ export { default as eslintConfigPefectionist } from './perfectionist';
6
7
  export { default as eslintConfigPrettier } from './prettier';
7
8
  export { default as eslintConfigReact } from './react';
8
9
  export { default as eslintConfigRelative } from './relative';
@@ -3,6 +3,7 @@ export { default as eslintConfigBase } from "./base.mjs";
3
3
  export { default as eslintConfigElysia } from "./elysia.mjs";
4
4
  export { default as eslintConfigFunctional } from "./functional.mjs";
5
5
  export { default as eslintConfigNext } from "./next.mjs";
6
+ export { default as eslintConfigPefectionist } from "./perfectionist.mjs";
6
7
  export { default as eslintConfigPrettier } from "./prettier.mjs";
7
8
  export { default as eslintConfigReact } from "./react.mjs";
8
9
  export { default as eslintConfigRelative } from "./relative.mjs";
@@ -0,0 +1,2 @@
1
+ declare const perfectionistConfig: any[];
2
+ export default perfectionistConfig;
@@ -0,0 +1,3 @@
1
+ import perfectionist from "eslint-plugin-perfectionist";
2
+ const perfectionistConfig = [perfectionist.configs["recommended-natural"]];
3
+ export default perfectionistConfig;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hiddenability/opinionated-defaults",
3
- "description": "Opinionated default configurations for dev tools.",
4
- "version": "0.0.23",
3
+ "description": "Opinionated default configurations for webdev tools.",
4
+ "version": "0.0.24",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
@@ -9,9 +9,10 @@
9
9
  },
10
10
  "type": "module",
11
11
  "scripts": {
12
- "build": "bun run test run && bun run lint && unbuild",
13
- "prepack": "bun run test run && bun run lint && unbuild",
14
- "lint": "eslint . --fix",
12
+ "build": "bun run test run && unbuild",
13
+ "prepack": "bun run test run && unbuild",
14
+ "lint": "eslint .",
15
+ "lint:fix": "eslint . --fix",
15
16
  "test": "vitest"
16
17
  },
17
18
  "exports": {