This commit is contained in:
parent
0152ccf04f
commit
1693d45864
8
.github/workflows/futon-deploy.yaml
vendored
8
.github/workflows/futon-deploy.yaml
vendored
@ -1,4 +1,4 @@
|
|||||||
name: Lint Workflow
|
name: Lint
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
@ -17,12 +17,6 @@ jobs:
|
|||||||
node-version: '16.x'
|
node-version: '16.x'
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm install
|
run: npm install
|
||||||
- name: Initialize ESLint configuration file
|
|
||||||
run: npx eslint --init
|
|
||||||
- name: Initialize Stylelint configuration file
|
|
||||||
run: npx stylelint --init
|
|
||||||
- name: Initialize HTMLHint configuration file
|
|
||||||
run: npx htmlhint --init
|
|
||||||
- name: Lint CSS files
|
- name: Lint CSS files
|
||||||
run: npx stylelint '**/*.css' --config .stylelintrc.json
|
run: npx stylelint '**/*.css' --config .stylelintrc.json
|
||||||
- name: Lint JavaScript files
|
- name: Lint JavaScript files
|
||||||
|
|||||||
3
.stylelintrc.json
Normal file
3
.stylelintrc.json
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"extends": "stylelint-config-twbs-bootstrap"
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user