Skip to content

Commit

Permalink
Tweak some rules
Browse files Browse the repository at this point in the history
  • Loading branch information
burtek committed Jan 9, 2024
1 parent 1856803 commit 5ae47f2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 16 deletions.
15 changes: 1 addition & 14 deletions .github/workflows/make-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,21 +34,8 @@ jobs:
- name: 'Create a github release'
uses: "marvinpinto/action-automatic-releases@latest"
# TODO: https://github.com/marvinpinto/actions/pull/642
# TODO: body/content
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: ${{ contains(github.ref_name, '-alpha') || contains(github.ref_name, '-beta') }}
automatic_release_tag: "${{ github.ref_name }}"
title: "${{ github.ref_name }}"
files: |
LICENSE
TODO.md
README.md
package.json
yarn.lock
configs
docs
rules
tests
index.js
import-types.d.ts
index.d.ts
1 change: 0 additions & 1 deletion configs/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,6 @@ export function prepareConfig() {
'stylistic/function-call-spacing': 'error',
'stylistic/function-paren-newline': ['error', 'consistent'],
'stylistic/generator-star-spacing': ['error', 'after'],
'stylistic/implicit-arrow-linebreak': 'error',
'stylistic/indent': ['error', 4],
'stylistic/indent-binary-ops': ['error', 4],
'stylistic/key-spacing': 'error',
Expand Down
2 changes: 2 additions & 0 deletions configs/share/naming-config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/** @see https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/naming-convention.md */

/** @type {import('./naming-convention-types').Selector[]} */
export const baseNamingRuleConfig = [
{ // const global variables can be UPPER_CASE
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"test": "node tests/run-tests.js",
"preversion--temp-disabled": "yarn test",
"push": "git push --follow-tags",
"postversion": "auto-changelog -p --hide-empty-releases && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
"postversion": "auto-changelog -p --hide-empty-releases && git add CHANGELOG.md && git commit --no-edit --amend && git tag -af \"v$(node -e \"console.log(require('./package.json').version)\")\" && echo \"REMEMBER TO USE YARN PUSH\""
},
"homepage": "https://github.com/burtek/eslint-config#readme",
"bugs": "https://github.com/burtek/eslint-config/issues",
Expand Down

0 comments on commit 5ae47f2

Please sign in to comment.