@dangee1705/eslint-config 0.6.0 → 0.7.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.
@@ -10,9 +10,7 @@ jobs:
10
10
  - uses: actions/checkout@v4
11
11
  - uses: actions/setup-node@v4
12
12
  with:
13
- node-version: '22.x'
13
+ node-version: '24.x'
14
14
  registry-url: 'https://registry.npmjs.org'
15
15
  - run: npm ci
16
16
  - run: npm publish --provenance --access public
17
- env:
18
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
package/eslint.config.js CHANGED
@@ -253,13 +253,11 @@ export default [
253
253
  '@stylistic/jsx-equals-spacing': ['warn', 'never'],
254
254
  '@stylistic/jsx-first-prop-new-line': ['warn', 'multiline'],
255
255
  '@stylistic/jsx-function-call-newline': ['warn', 'multiline'],
256
- '@stylistic/jsx-indent': ['warn', 'tab'],
257
256
  '@stylistic/jsx-indent-props': ['warn', 'tab'],
258
257
  '@stylistic/jsx-max-props-per-line': ['error', {'maximum': 1, 'when': 'multiline'}],
259
258
  '@stylistic/jsx-newline': ['off'],
260
259
  '@stylistic/jsx-one-expression-per-line': ['off'],
261
260
  '@stylistic/jsx-pascal-case': ['warn'],
262
- '@stylistic/jsx-props-no-multi-spaces': ['warn'],
263
261
  '@stylistic/jsx-quotes': ['warn', 'prefer-single'],
264
262
  '@stylistic/jsx-self-closing-comp': ['warn', {'component': true, 'html': true}],
265
263
  '@stylistic/jsx-sort-props': ['off'],
@@ -279,7 +277,7 @@ export default [
279
277
  '@stylistic/new-parens': ['warn', 'always'],
280
278
  '@stylistic/newline-per-chained-call': ['warn', {'ignoreChainWithDepth': 3}],
281
279
  '@stylistic/no-confusing-arrow': ['warn', {'allowParens': true}],
282
- '@stylistic/no-extra-parens': ['warn', 'all', {'nestedBinaryExpressions': false, 'ignoreJSX': 'multi-line', 'enforceForArrowConditionals': false, 'allowNodesInSpreadElement': {'ConditionalExpression': true, 'LogicalExpression': true, 'AwaitExpression': true}}],
280
+ '@stylistic/no-extra-parens': ['warn', 'all', {'nestedBinaryExpressions': false, 'ignoreJSX': 'multi-line', 'ignoredNodes': ['ArrowFunctionExpression[body.type=ConditionalExpression]', 'SpreadElement[argument.type=ConditionalExpression]', 'SpreadElement[argument.type=LogicalExpression]', 'SpreadElement[argument.type=AwaitExpression]']}],
283
281
  '@stylistic/no-extra-semi': ['warn'],
284
282
  '@stylistic/no-floating-decimal': ['warn'],
285
283
  '@stylistic/no-mixed-operators': ['warn', {'allowSamePrecedence': true}],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dangee1705/eslint-config",
3
- "version": "0.6.0",
3
+ "version": "0.7.0",
4
4
  "description": "Dan Gee's ESLint Config",
5
5
  "keywords": [
6
6
  "eslint",
@@ -19,17 +19,15 @@
19
19
  "license": "MIT",
20
20
  "author": "Dan Gee <dangee1705@gmail.com> (https://dangee1705.com)",
21
21
  "dependencies": {
22
- "@stylistic/eslint-plugin": "^5.1.0",
23
- "@typescript-eslint/eslint-plugin": "^8.37.0",
24
- "@typescript-eslint/parser": "^8.37.0",
22
+ "@stylistic/eslint-plugin": "^5.7.1",
23
+ "@typescript-eslint/eslint-plugin": "^8.54.0",
24
+ "@typescript-eslint/parser": "^8.54.0",
25
25
  "eslint-plugin-react": "^7.37.5",
26
- "eslint-plugin-react-hooks": "^5.2.0",
27
- "eslint-plugin-simple-import-sort": "^12.1.1"
26
+ "eslint-plugin-react-hooks": "^7.0.1",
27
+ "eslint-plugin-simple-import-sort": "^12.1.1",
28
+ "globals": "^17.3.0"
28
29
  },
29
30
  "peerDependencies": {
30
31
  "eslint": "^9.23.0"
31
- },
32
- "devDependencies": {
33
- "globals": "^16.3.0"
34
32
  }
35
33
  }