@evanpurkhiser/eslint-config 0.17.0 → 0.18.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.
@@ -11,4 +11,4 @@ jobs:
11
11
  - uses: actions/checkout@v3
12
12
  - uses: volta-cli/action@v4
13
13
  - run: npm set //registry.npmjs.org/:_authToken ${{ secrets.NPM_AUTH_TOKEN }}
14
- - run: npm publish
14
+ - 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/no-useless-constructor': ['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.18.0",
4
4
  "description": "Evan Purkhiser's personal eslint configuration",
5
5
  "main": "index.js",
6
6
  "repository": "https://github.com/evanpurkhiser/eslint-config",