File tree Expand file tree Collapse file tree 3 files changed +36
-7
lines changed
Expand file tree Collapse file tree 3 files changed +36
-7
lines changed Original file line number Diff line number Diff line change @@ -36,14 +36,12 @@ jobs:
3636 with :
3737 node-version : 20
3838
39- - uses : actions/download-artifact @v5
39+ - uses : actions/checkout @v5
4040 with :
41- name : release
42-
43- - name : unzip artifact for deployment
44- run : |
45- unzip release.zip
46- rm release.zip
41+ token : ${{ secrets.ASSETS_COMMIT_TOKEN }}
42+ ref : ${{ github.head_ref || github.ref_name }}
43+ # Full git history is needed to get a proper list of changed files within `super-linter`
44+ fetch-depth : 0
4745
4846 - name : Install & build assets
4947 run : |
Original file line number Diff line number Diff line change 1+ {
2+ "rules" : {
3+ }
4+ }
Original file line number Diff line number Diff line change 1+ // eslint.config.js
2+ const { defineConfig } = require ( "eslint/config" ) ;
3+
4+ module . exports = defineConfig ( [
5+ {
6+ ignores : [
7+ "!/tools/linters/eslint.config.js" ,
8+ "!/tools/linters/.stylelintrc.json" ,
9+ "!/.ncurc.js" ,
10+ "!/js/**" ,
11+ "!/css/**" ,
12+ "!/webfonts/**" ,
13+ "!/icons/**"
14+ ] ,
15+ languageOptions : {
16+ ecmaVersion : 2015 ,
17+ sourceType : "module"
18+ } ,
19+ files : [
20+ "resources/**.js" ,
21+ ] ,
22+ rules : {
23+ semi : "error" ,
24+ "prefer-const" : "error"
25+ }
26+ }
27+ ] ) ;
You can’t perform that action at this time.
0 commit comments