@saasmakers/eslint 0.1.72 → 0.2.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.
@@ -3,12 +3,14 @@
3
3
  const antfu = require('@antfu/eslint-config');
4
4
  const saasmakers = require('@saasmakers/eslint');
5
5
  const vitest = require('@vitest/eslint-plugin');
6
+ const packageJson = require('eslint-plugin-package-json');
6
7
  const index$1 = require('./shared/eslint.DhFjwkxh.cjs');
7
8
  const path = require('node:path');
8
9
  const fs = require('node:fs');
9
10
  const node_module = require('node:module');
10
11
  const storybook = require('eslint-plugin-storybook');
11
12
  const turbo = require('eslint-plugin-turbo');
13
+ const zod = require('eslint-plugin-zod');
12
14
  require('eslint');
13
15
  require('eslint/use-at-your-own-risk');
14
16
 
@@ -30,10 +32,12 @@ function _interopNamespaceCompat(e) {
30
32
  const antfu__default = /*#__PURE__*/_interopDefaultCompat(antfu);
31
33
  const saasmakers__default = /*#__PURE__*/_interopDefaultCompat(saasmakers);
32
34
  const vitest__default = /*#__PURE__*/_interopDefaultCompat(vitest);
35
+ const packageJson__default = /*#__PURE__*/_interopDefaultCompat(packageJson);
33
36
  const path__namespace = /*#__PURE__*/_interopNamespaceCompat(path);
34
37
  const fs__namespace = /*#__PURE__*/_interopNamespaceCompat(fs);
35
38
  const storybook__default = /*#__PURE__*/_interopDefaultCompat(storybook);
36
39
  const turbo__default = /*#__PURE__*/_interopDefaultCompat(turbo);
40
+ const zod__default = /*#__PURE__*/_interopDefaultCompat(zod);
37
41
 
38
42
  const name = 'eslint-plugin-perfectionist';
39
43
  const version = '5.5.0';
@@ -10765,6 +10769,14 @@ const eslint_config = antfu__default(
10765
10769
  },
10766
10770
  ...storybook__default.configs["flat/recommended"],
10767
10771
  turbo__default.configs["flat/recommended"],
10772
+ zod__default.configs.recommended,
10773
+ // Package.json
10774
+ packageJson__default.configs.recommended,
10775
+ packageJson__default.configs.stylistic,
10776
+ {
10777
+ files: ["**/package.json"],
10778
+ rules: { "jsonc/sort-keys": "off" }
10779
+ },
10768
10780
  // SaaS Makers
10769
10781
  {
10770
10782
  plugins: { saasmakers: saasmakers__default },
@@ -1,9 +1,11 @@
1
1
  import antfu from '@antfu/eslint-config';
2
2
  import saasmakers from '@saasmakers/eslint';
3
3
  import vitest from '@vitest/eslint-plugin';
4
+ import packageJson from 'eslint-plugin-package-json';
4
5
  import { Linter, ESLint } from 'eslint';
5
6
  import storybook from 'eslint-plugin-storybook';
6
7
  import turbo from 'eslint-plugin-turbo';
8
+ import zod from 'eslint-plugin-zod';
7
9
 
8
10
  interface PluginConfigs extends Record<
9
11
  string,
@@ -46,6 +48,14 @@ var eslint_config = antfu(
46
48
  },
47
49
  ...storybook.configs["flat/recommended"],
48
50
  turbo.configs["flat/recommended"],
51
+ zod.configs.recommended,
52
+ // Package.json
53
+ packageJson.configs.recommended,
54
+ packageJson.configs.stylistic,
55
+ {
56
+ files: ["**/package.json"],
57
+ rules: { "jsonc/sort-keys": "off" }
58
+ },
49
59
  // SaaS Makers
50
60
  {
51
61
  plugins: { saasmakers },
@@ -1,9 +1,11 @@
1
1
  import antfu from '@antfu/eslint-config';
2
2
  import saasmakers from '@saasmakers/eslint';
3
3
  import vitest from '@vitest/eslint-plugin';
4
+ import packageJson from 'eslint-plugin-package-json';
4
5
  import { Linter, ESLint } from 'eslint';
5
6
  import storybook from 'eslint-plugin-storybook';
6
7
  import turbo from 'eslint-plugin-turbo';
8
+ import zod from 'eslint-plugin-zod';
7
9
 
8
10
  interface PluginConfigs extends Record<
9
11
  string,
@@ -46,6 +48,14 @@ var eslint_config = antfu(
46
48
  },
47
49
  ...storybook.configs["flat/recommended"],
48
50
  turbo.configs["flat/recommended"],
51
+ zod.configs.recommended,
52
+ // Package.json
53
+ packageJson.configs.recommended,
54
+ packageJson.configs.stylistic,
55
+ {
56
+ files: ["**/package.json"],
57
+ rules: { "jsonc/sort-keys": "off" }
58
+ },
49
59
  // SaaS Makers
50
60
  {
51
61
  plugins: { saasmakers },
@@ -1,9 +1,11 @@
1
1
  import antfu from '@antfu/eslint-config';
2
2
  import saasmakers from '@saasmakers/eslint';
3
3
  import vitest from '@vitest/eslint-plugin';
4
+ import packageJson from 'eslint-plugin-package-json';
4
5
  import { Linter, ESLint } from 'eslint';
5
6
  import storybook from 'eslint-plugin-storybook';
6
7
  import turbo from 'eslint-plugin-turbo';
8
+ import zod from 'eslint-plugin-zod';
7
9
 
8
10
  interface PluginConfigs extends Record<
9
11
  string,
@@ -46,6 +48,14 @@ var eslint_config = antfu(
46
48
  },
47
49
  ...storybook.configs["flat/recommended"],
48
50
  turbo.configs["flat/recommended"],
51
+ zod.configs.recommended,
52
+ // Package.json
53
+ packageJson.configs.recommended,
54
+ packageJson.configs.stylistic,
55
+ {
56
+ files: ["**/package.json"],
57
+ rules: { "jsonc/sort-keys": "off" }
58
+ },
49
59
  // SaaS Makers
50
60
  {
51
61
  plugins: { saasmakers },
@@ -1,12 +1,14 @@
1
1
  import antfu from '@antfu/eslint-config';
2
2
  import saasmakers from '@saasmakers/eslint';
3
3
  import vitest from '@vitest/eslint-plugin';
4
+ import packageJson from 'eslint-plugin-package-json';
4
5
  import { d as distExports } from './shared/eslint.CohBuu1-.mjs';
5
6
  import * as path from 'node:path';
6
7
  import * as fs from 'node:fs';
7
8
  import { createRequire, builtinModules } from 'node:module';
8
9
  import storybook from 'eslint-plugin-storybook';
9
10
  import turbo from 'eslint-plugin-turbo';
11
+ import zod from 'eslint-plugin-zod';
10
12
  import 'eslint';
11
13
  import 'eslint/use-at-your-own-risk';
12
14
 
@@ -10740,6 +10742,14 @@ const eslint_config = antfu(
10740
10742
  },
10741
10743
  ...storybook.configs["flat/recommended"],
10742
10744
  turbo.configs["flat/recommended"],
10745
+ zod.configs.recommended,
10746
+ // Package.json
10747
+ packageJson.configs.recommended,
10748
+ packageJson.configs.stylistic,
10749
+ {
10750
+ files: ["**/package.json"],
10751
+ rules: { "jsonc/sort-keys": "off" }
10752
+ },
10743
10753
  // SaaS Makers
10744
10754
  {
10745
10755
  plugins: { saasmakers },
package/package.json CHANGED
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "name": "@saasmakers/eslint",
3
- "type": "module",
4
- "version": "0.1.72",
3
+ "version": "0.2.0",
5
4
  "private": false,
6
5
  "description": "Shared ESLint config and rules for SaaS Makers projects",
7
- "author": "SaaS Makers",
8
- "license": "MIT",
9
6
  "repository": {
10
7
  "type": "git",
11
8
  "url": "git+https://github.com/saasmakers/saasmakers-turborepo.git",
12
9
  "directory": "packages/eslint"
13
10
  },
11
+ "license": "MIT",
12
+ "author": "SaaS Makers",
14
13
  "sideEffects": false,
14
+ "type": "module",
15
15
  "exports": {
16
16
  ".": {
17
17
  "types": "./dist/index.d.ts",
@@ -30,15 +30,14 @@
30
30
  "files": [
31
31
  "dist"
32
32
  ],
33
- "peerDependencies": {
34
- "eslint": "^10.0.0"
35
- },
36
33
  "dependencies": {
37
34
  "@antfu/eslint-config": "7.4.3",
38
35
  "@unocss/eslint-plugin": "66.6.0",
39
36
  "@vitest/eslint-plugin": "1.6.9",
37
+ "eslint-plugin-package-json": "0.31.0",
40
38
  "eslint-plugin-storybook": "10.2.8",
41
39
  "eslint-plugin-turbo": "2.8.10",
40
+ "eslint-plugin-zod": "3.4.0",
42
41
  "typescript-eslint": "8.55.0"
43
42
  },
44
43
  "devDependencies": {
@@ -46,6 +45,9 @@
46
45
  "eslint": "10.0.1",
47
46
  "typescript": "5.9.3"
48
47
  },
48
+ "peerDependencies": {
49
+ "eslint": "^10.0.0"
50
+ },
49
51
  "publishConfig": {
50
52
  "access": "public"
51
53
  },