luci-app-banip: sync with banIP-1.6.0-1 #1229
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| name: "LuCI repo ESLint JSON Analysis" | |
| on: | |
| push: | |
| branches: [ "master" ] | |
| path: | |
| - '**/*.json' | |
| pull_request: | |
| branches: [ "master" ] | |
| path: | |
| - '**/*.json' | |
| permissions: {} | |
| jobs: | |
| eslint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v5 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v5 | |
| with: | |
| node-version: latest | |
| - name: Install ESLint | |
| run: npm install --no-audit --no-fund --save-dev eslint@latest @eslint/json@latest | |
| # Currently, we lint JSON only. | |
| - name: Run ESLint | |
| run: npx eslint **/*.json | |