@fullstacksjs/eslint-config 12.4.2 → 13.0.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.
package/README.md CHANGED
@@ -73,7 +73,7 @@ interface Options {
73
73
  next?: boolean; // controls next plugin
74
74
  prettier?: boolean; // controls prettier plugin
75
75
  disableExpensiveRules?: boolean; // controls expensive rules
76
- gitignorePath?: string; // automatically ignore paths from .gitignore
76
+ gitignore?: false | string; // automatically ignore paths from .gitignore
77
77
  }
78
78
  ```
79
79
 
@@ -129,7 +129,6 @@ function base(options = {}) {
129
129
  }],
130
130
  'no-restricted-syntax': ['error', 'WithStatement'],
131
131
  'no-return-assign': 'error',
132
- 'no-return-await': 'warn',
133
132
  'no-script-url': 'error',
134
133
  'no-self-assign': 'error',
135
134
  'no-self-compare': 'error',
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
 
7
- var _flat = _interopRequireDefault(require("eslint-plugin-cypress/flat"));
7
+ var _eslintPluginCypress = _interopRequireDefault(require("eslint-plugin-cypress"));
8
8
  var _globs = require("../utils/globs.js");
9
9
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
10
10
  /** @return { import('eslint').Linter.Config } */
@@ -12,7 +12,7 @@ function cypress() {
12
12
  return {
13
13
  files: _globs.globs.e2e,
14
14
  plugins: {
15
- cypress: _flat.default
15
+ cypress: _eslintPluginCypress.default
16
16
  },
17
17
  rules: {
18
18
  'cypress/assertion-before-screenshot': 'warn',
@@ -36,6 +36,7 @@ function node(options = {}) {
36
36
  'n/no-restricted-import': 'off',
37
37
  'n/no-restricted-require': 'off',
38
38
  'n/no-sync': (0, _conditions.strict)(options, 'warn'),
39
+ 'n/no-top-level-await': 'off',
39
40
  'n/no-unpublished-bin': 'warn',
40
41
  'n/no-unpublished-import': 'warn',
41
42
  'n/no-unpublished-require': 'warn',
@@ -21,12 +21,12 @@ async function tailwind(options = {}) {
21
21
  }
22
22
  },
23
23
  rules: {
24
- 'better-tailwindcss/sort-classes': 'warn',
24
+ 'better-tailwindcss/enforce-consistent-class-order': 'warn',
25
25
  'better-tailwindcss/no-duplicate-classes': 'error',
26
26
  'better-tailwindcss/no-conflicting-classes': 'error',
27
27
  'better-tailwindcss/no-unnecessary-whitespace': 'warn',
28
28
  'better-tailwindcss/enforce-consistent-variable-syntax': 'error',
29
- 'better-tailwindcss/multiline': 'off'
29
+ 'better-tailwindcss/enforce-consistent-line-wrapping': 'off'
30
30
  }
31
31
  };
32
32
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fullstacksjs/eslint-config",
3
- "version": "12.4.2",
3
+ "version": "13.0.0",
4
4
  "license": "MIT",
5
5
  "author": "fullstacks <fullstacksjs@gmail.com>",
6
6
  "description": "fullstacks eslint config",
@@ -36,44 +36,43 @@
36
36
  },
37
37
  "dependencies": {
38
38
  "@eslint-react/eslint-plugin": "1.50.0",
39
- "@eslint/compat": "1.3.0",
40
- "@next/eslint-plugin-next": "15.3.2",
41
- "@stylistic/eslint-plugin": "4.4.0",
39
+ "@eslint/compat": "1.3.1",
40
+ "@next/eslint-plugin-next": "15.3.4",
41
+ "@stylistic/eslint-plugin": "5.1.0",
42
42
  "deepmerge": "4.3.1",
43
- "eslint-plugin-better-tailwindcss": "3.2.1",
44
- "eslint-plugin-cypress": "4.3.0",
45
- "eslint-plugin-import-x": "4.13.3",
46
- "eslint-plugin-jest": "28.11.0",
43
+ "eslint-plugin-better-tailwindcss": "3.4.3",
44
+ "eslint-plugin-cypress": "5.1.0",
45
+ "eslint-plugin-import-x": "4.16.1",
46
+ "eslint-plugin-jest": "29.0.1",
47
47
  "eslint-plugin-jest-formatting": "3.1.0",
48
48
  "eslint-plugin-jsx-a11y": "6.10.2",
49
- "eslint-plugin-n": "17.18.0",
49
+ "eslint-plugin-n": "17.20.0",
50
50
  "eslint-plugin-perfectionist": "4.13.0",
51
51
  "eslint-plugin-playwright": "2.2.0",
52
- "eslint-plugin-prettier": "5.4.0",
52
+ "eslint-plugin-prettier": "5.5.1",
53
53
  "eslint-plugin-promise": "7.2.1",
54
54
  "eslint-plugin-react-hooks": "5.2.0",
55
55
  "eslint-plugin-storybook": "0.12.0",
56
56
  "eslint-plugin-vitest": "0.5.4",
57
- "globals": "16.2.0",
57
+ "globals": "16.3.0",
58
58
  "local-pkg": "1.1.1",
59
- "typescript-eslint": "8.32.1"
59
+ "typescript-eslint": "8.35.1"
60
60
  },
61
61
  "devDependencies": {
62
62
  "@eslint/eslintrc": "3.3.1",
63
- "@eslint/js": "9.27.0",
63
+ "@eslint/js": "9.30.1",
64
64
  "@semantic-release/github": "11.0.3",
65
- "@semantic-release/npm": "12.0.1",
65
+ "@semantic-release/npm": "12.0.2",
66
66
  "@semantic-release/release-notes-generator": "14.0.3",
67
67
  "@types/eslint": "9.6.1",
68
- "cspell": "9.0.2",
69
- "eslint": "9.27.0",
68
+ "cspell": "9.1.2",
69
+ "eslint": "9.30.1",
70
70
  "husky": "9.1.7",
71
- "jest": "29.7.0",
72
- "lint-staged": "16.0.0",
73
- "np": "10.2.0",
71
+ "jest": "30.0.3",
72
+ "lint-staged": "16.1.2",
74
73
  "pinst": "3.0.0",
75
- "prettier": "3.5.3",
76
- "semantic-release": "24.2.5",
74
+ "prettier": "3.6.2",
75
+ "semantic-release": "24.2.6",
77
76
  "typescript": "5.8.3",
78
77
  "unbuild": "3.5.0"
79
78
  },
@@ -114,7 +114,6 @@ function base(options = {}) {
114
114
  'no-restricted-globals': ['error', { name: 'event', message: 'Use local parameter instead.' }],
115
115
  'no-restricted-syntax': ['error', 'WithStatement'],
116
116
  'no-return-assign': 'error',
117
- 'no-return-await': 'warn',
118
117
  'no-script-url': 'error',
119
118
  'no-self-assign': 'error',
120
119
  'no-self-compare': 'error',
@@ -1,4 +1,4 @@
1
- import plugin from 'eslint-plugin-cypress/flat';
1
+ import plugin from 'eslint-plugin-cypress';
2
2
 
3
3
  import { globs } from '../utils/globs.mjs';
4
4
 
@@ -26,6 +26,7 @@ function node(options = {}) {
26
26
  'n/no-restricted-import': 'off',
27
27
  'n/no-restricted-require': 'off',
28
28
  'n/no-sync': strict(options, 'warn'),
29
+ 'n/no-top-level-await': 'off',
29
30
  'n/no-unpublished-bin': 'warn',
30
31
  'n/no-unpublished-import': 'warn',
31
32
  'n/no-unpublished-require': 'warn',
@@ -13,12 +13,12 @@ async function tailwind(options = {}) {
13
13
  },
14
14
  },
15
15
  rules: {
16
- 'better-tailwindcss/sort-classes': 'warn',
16
+ 'better-tailwindcss/enforce-consistent-class-order': 'warn',
17
17
  'better-tailwindcss/no-duplicate-classes': 'error',
18
18
  'better-tailwindcss/no-conflicting-classes': 'error',
19
19
  'better-tailwindcss/no-unnecessary-whitespace': 'warn',
20
20
  'better-tailwindcss/enforce-consistent-variable-syntax': 'error',
21
- 'better-tailwindcss/multiline': 'off',
21
+ 'better-tailwindcss/enforce-consistent-line-wrapping': 'off',
22
22
  },
23
23
  };
24
24
  }