Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
nishkohli96 committed Jan 23, 2024
1 parent 5e303a9 commit 5d03bb7
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 13 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Node.js CI
on:
push:
branches:
- main
- develop

jobs:
check:
Expand All @@ -22,12 +22,12 @@ jobs:
- name: Install Dependencies
run: npm ci

maybe-release:
name: release
runs-on: ubuntu-latest
needs: [check]
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
steps:
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
# maybe-release:
# name: release
# runs-on: ubuntu-latest
# needs: [check]
# if: github.event_name == 'push' && github.ref == 'refs/heads/main'
# steps:
# - run: npm publish --access public
# env:
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ This config extends the following plugins -
- [eslint/recommended](https://eslint.org/docs/latest/rules/)
- [eslint-plugin-react](https://www.npmjs.com/package/eslint-plugin-react)
- [eslint-plugin-react-hooks](https://www.npmjs.com/package/eslint-plugin-react-hooks)
- [eslint-plugin-jsx-a11y](https://www.npmjs.com/package/eslint-plugin-jsx-a11y)
- [eslint-plugin-jsx-a11y](https://www.npmjs.com/package/eslint-plugin-jsx-a11y)
- [@stylistic](https://eslint.style/)

## Installation

Expand Down Expand Up @@ -97,14 +98,14 @@ Some folders have already been preconfigured to ignore when linting.

View the complete list of rules
- [eslint](https://eslint.org/docs/latest/rules/)
- [stylistic](https://eslint.style/rules/default)
- [stylistic](https://eslint.style/rules)
- [typescript](https://typescript-eslint.io/rules/)
- [react](https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules)
- [jsx-a11y](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/main/docs/rules)

⚠️ ***WARNING*** - avoid using this style of code.
***ERROR*** - your code is 🗑️
🔧 ***FLEXIBLE*** - make eslint less strict and more developer-friendly.
🔧 ***FLEXIBLE*** - specified or overwritten default cases for rules.

## **stylistic rules**

Expand Down

0 comments on commit 5d03bb7

Please sign in to comment.