-
-
Notifications
You must be signed in to change notification settings - Fork 561
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b60b117
commit 9b61bbd
Showing
6 changed files
with
53 additions
and
30 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: JS Lint and Test | ||
name: eslint, csslint, jest, npm test, jslint | ||
|
||
on: | ||
push: | ||
|
@@ -27,15 +27,24 @@ jobs: | |
run: npm install --force | ||
|
||
- name: Run eslint | ||
run: npx eslint | ||
run: npx eslint --config=tests/eslint_rules.config.mjs | ||
continue-on-error: true | ||
|
||
# - name: Run JSLint | ||
# run: npx jslint "**/*.js" | ||
# continue-on-error: true | ||
|
||
- name: Run Jest | ||
run: npx jest | ||
run: npx jest # --config=tests/jest.config.js | ||
|
||
- name: Run npm test | ||
run: npm test | ||
|
||
- name: Install csslint using npm | ||
run: npm install -g [email protected] | ||
|
||
# - name: Lint CSS files | ||
# run: | | ||
# for file in $(grep -rl --include='*.css' '' ./); do npx csslint --config tests/csslint_rules.json "$file"; done | ||
|
||
|
File renamed without changes.
This file contains 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
File renamed without changes.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{"rules": | ||
{"known-properties":true, | ||
} | ||
} | ||
|
This file contains 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