File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ # This workflow executes several linters on changed files based on languages used in your code base whenever
2+ # you push a code or open a pull request.
3+ #
4+ # You can adjust the behavior by modifying this file.
5+ # For more information, see:
6+ # https://github.com/github/super-linter
7+ name : Lint Code Base
8+
9+ on :
10+ push :
11+ branches : [ master ]
12+ pull_request :
13+ branches : [ master ]
14+ jobs :
15+ run-lint :
16+ runs-on : ubuntu-latest
17+ steps :
18+ - name : Checkout code
19+ uses : actions/checkout@v3
20+ with :
21+ # Full git history is needed to get a proper list of changed files within `super-linter`
22+ fetch-depth : 0
23+
24+ - name : Lint Code Base
25+ uses : github/super-linter@v4
26+ env :
27+ DEFAULT_BRANCH : master
28+ VALIDATE_ALL_CODEBASE : true
29+ VALIDATE_JAVASCRIPT_ES : true
30+ JAVASCRIPT_ES_CONFIG_FILE : .eslintrc.json
31+ LINTER_RULES_PATH : /
32+ FILTER_REGEX_INCLUDE : .*LeetcodeProblems/.*
33+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments