diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 60f6e8b..97ba4d3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,13 +19,15 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 + ref: master - uses: actions/setup-node@v3 with: node-version-file: package.json - name: Install dependencies run: npm ci - name: Release - env: - GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} - NPM_TOKEN: ${{ secrets.NPM_KEY }} uses: JoshuaKGoldberg/release-it-action@v0.2.2 + with: + branch: 'master' + github-token: ${{ secrets.GH_TOKEN }} + npm-token: ${{ secrets.NPM_KEY }} diff --git a/profile/_common.js b/profile/_common.js index 634db20..bf5bb94 100644 --- a/profile/_common.js +++ b/profile/_common.js @@ -270,9 +270,9 @@ function buildRules(profile) { /** * Chaining the assignment of variables can lead to unexpected results and be difficult to read. - * @see https://eslint.org/docs/latest/rules/no-multi-assign + * @see https://eslint.org/docs/latest/rules/no-nested-ternary */ - "no-nested-ternary": "warn", + "no-nested-ternary": "off", /** * As of the ECMAScript 5 specification, octal escape sequences in string literals are deprecated and should not be used.