@evanpurkhiser/eslint-config 0.17.0 → 0.19.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,12 @@ jobs:
10
10
  steps:
11
11
  - uses: actions/checkout@v3
12
12
  - uses: volta-cli/action@v4
13
+ - run: yarn install
14
+ - name: bump version
15
+ run: |
16
+ git config user.name "GitHub Actions"
17
+ git config user.email "<>"
18
+ yarn version --minor --force
19
+ git push
13
20
  - run: npm set //registry.npmjs.org/:_authToken ${{ secrets.NPM_AUTH_TOKEN }}
14
- - run: npm publish
21
+ - run: npm publish --access=public
package/common.js CHANGED
@@ -72,6 +72,9 @@ module.exports = {
72
72
  // see: https://github.com/typescript-eslint/typescript-eslint/issues/420
73
73
  '@typescript-eslint/no-useless-constructor': 'error',
74
74
 
75
+ // Consistent Array<T> / T[] usage
76
+ '@typescript-eslint/array-type': ['error', {default: 'array-simple'}],
77
+
75
78
  // Sort imports
76
79
  'simple-import-sort/exports': 'error',
77
80
  'simple-import-sort/imports': [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evanpurkhiser/eslint-config",
3
- "version": "0.17.0",
3
+ "version": "0.19.0",
4
4
  "description": "Evan Purkhiser's personal eslint configuration",
5
5
  "main": "index.js",
6
6
  "repository": "https://github.com/evanpurkhiser/eslint-config",