@evanpurkhiser/eslint-config 0.18.0 → 0.20.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.
@@ -2,7 +2,7 @@ name: publish
2
2
 
3
3
  on:
4
4
  push:
5
- tags: ['v*']
5
+ branches: [main]
6
6
 
7
7
  jobs:
8
8
  publish:
@@ -10,5 +10,11 @@ jobs:
10
10
  steps:
11
11
  - uses: actions/checkout@v3
12
12
  - uses: volta-cli/action@v4
13
+ - name: bump version
14
+ run: |
15
+ git config user.name "GitHub Actions"
16
+ git config user.email "<>"
17
+ yarn version --minor --force
18
+ git push
13
19
  - run: npm set //registry.npmjs.org/:_authToken ${{ secrets.NPM_AUTH_TOKEN }}
14
20
  - run: npm publish --access=public
package/README.md CHANGED
@@ -1,6 +1,7 @@
1
1
  ## Evan Purkhiser's Personal JS code styles
2
2
 
3
3
  [![publish](https://github.com/evanpurkhiser/eslint-config/workflows/publish/badge.svg)](https://github.com/evanpurkhiser/eslint-config/actions?query=workflow%3Apublish)
4
+ [![NPM](https://img.shields.io/npm/v/@evanpurkhiser/eslint-config)](https://www.npmjs.com/package/@evanpurkhiser/eslint-config)
4
5
 
5
6
  These are my eslint configurations that I use across my various personal
6
7
  projects.
package/common.js CHANGED
@@ -73,7 +73,7 @@ module.exports = {
73
73
  '@typescript-eslint/no-useless-constructor': 'error',
74
74
 
75
75
  // Consistent Array<T> / T[] usage
76
- '@typescript-eslint/no-useless-constructor': ['error', {default: 'array-simple'}],
76
+ '@typescript-eslint/array-type': ['error', {default: 'array-simple'}],
77
77
 
78
78
  // Sort imports
79
79
  'simple-import-sort/exports': 'error',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evanpurkhiser/eslint-config",
3
- "version": "0.18.0",
3
+ "version": "0.20.0",
4
4
  "description": "Evan Purkhiser's personal eslint configuration",
5
5
  "main": "index.js",
6
6
  "repository": "https://github.com/evanpurkhiser/eslint-config",
@@ -26,9 +26,5 @@
26
26
  "volta": {
27
27
  "node": "18.11.0",
28
28
  "yarn": "1.22.19"
29
- },
30
- "publishConfig": {
31
- "registry": "https://registry.npmjs.org",
32
- "access": "public"
33
29
  }
34
30
  }