@saasmakers/eslint 0.1.57 → 0.1.59

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.
@@ -15,16 +15,17 @@ const eslint_config = antfu__default(
15
15
  unocss: true,
16
16
  vue: {
17
17
  a11y: true
18
- },
19
- ignores: [
20
- "apps/api/ace.js"
21
- ]
18
+ }
22
19
  },
23
20
  ...storybook__default.configs["flat/recommended"],
24
21
  // Override rules defined by Antfu ESLint config
22
+ // Try to keep the disabled rules to a minimum
25
23
  {
26
24
  rules: {
27
- "pnpm/yaml-enforce-settings": "off"
25
+ "antfu/no-top-level-await": "off",
26
+ "node/prefer-global/process": "off",
27
+ "pnpm/yaml-enforce-settings": "off",
28
+ "ts/no-use-before-define": "off"
28
29
  }
29
30
  }
30
31
  );
@@ -8,16 +8,17 @@ var eslint_config = antfu(
8
8
  unocss: true,
9
9
  vue: {
10
10
  a11y: true
11
- },
12
- ignores: [
13
- "apps/api/ace.js"
14
- ]
11
+ }
15
12
  },
16
13
  ...storybook.configs["flat/recommended"],
17
14
  // Override rules defined by Antfu ESLint config
15
+ // Try to keep the disabled rules to a minimum
18
16
  {
19
17
  rules: {
20
- "pnpm/yaml-enforce-settings": "off"
18
+ "antfu/no-top-level-await": "off",
19
+ "node/prefer-global/process": "off",
20
+ "pnpm/yaml-enforce-settings": "off",
21
+ "ts/no-use-before-define": "off"
21
22
  }
22
23
  }
23
24
  );
@@ -8,16 +8,17 @@ var eslint_config = antfu(
8
8
  unocss: true,
9
9
  vue: {
10
10
  a11y: true
11
- },
12
- ignores: [
13
- "apps/api/ace.js"
14
- ]
11
+ }
15
12
  },
16
13
  ...storybook.configs["flat/recommended"],
17
14
  // Override rules defined by Antfu ESLint config
15
+ // Try to keep the disabled rules to a minimum
18
16
  {
19
17
  rules: {
20
- "pnpm/yaml-enforce-settings": "off"
18
+ "antfu/no-top-level-await": "off",
19
+ "node/prefer-global/process": "off",
20
+ "pnpm/yaml-enforce-settings": "off",
21
+ "ts/no-use-before-define": "off"
21
22
  }
22
23
  }
23
24
  );
@@ -8,16 +8,17 @@ var eslint_config = antfu(
8
8
  unocss: true,
9
9
  vue: {
10
10
  a11y: true
11
- },
12
- ignores: [
13
- "apps/api/ace.js"
14
- ]
11
+ }
15
12
  },
16
13
  ...storybook.configs["flat/recommended"],
17
14
  // Override rules defined by Antfu ESLint config
15
+ // Try to keep the disabled rules to a minimum
18
16
  {
19
17
  rules: {
20
- "pnpm/yaml-enforce-settings": "off"
18
+ "antfu/no-top-level-await": "off",
19
+ "node/prefer-global/process": "off",
20
+ "pnpm/yaml-enforce-settings": "off",
21
+ "ts/no-use-before-define": "off"
21
22
  }
22
23
  }
23
24
  );
@@ -8,16 +8,17 @@ const eslint_config = antfu(
8
8
  unocss: true,
9
9
  vue: {
10
10
  a11y: true
11
- },
12
- ignores: [
13
- "apps/api/ace.js"
14
- ]
11
+ }
15
12
  },
16
13
  ...storybook.configs["flat/recommended"],
17
14
  // Override rules defined by Antfu ESLint config
15
+ // Try to keep the disabled rules to a minimum
18
16
  {
19
17
  rules: {
20
- "pnpm/yaml-enforce-settings": "off"
18
+ "antfu/no-top-level-await": "off",
19
+ "node/prefer-global/process": "off",
20
+ "pnpm/yaml-enforce-settings": "off",
21
+ "ts/no-use-before-define": "off"
21
22
  }
22
23
  }
23
24
  );
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@saasmakers/eslint",
3
3
  "type": "module",
4
- "version": "0.1.57",
4
+ "version": "0.1.59",
5
5
  "private": false,
6
6
  "description": "Shared ESLint config and rules for SaaS Makers projects",
7
7
  "author": "SaaS Makers",