This commit is contained in:
parent
4da9ea5179
commit
3feab3d957
@ -1,13 +1,15 @@
|
||||
{
|
||||
"env": {
|
||||
"browser": true,
|
||||
"es2021": true
|
||||
"es6": true
|
||||
},
|
||||
"extends": "eslint:recommended",
|
||||
"overrides": [
|
||||
],
|
||||
"globals": {
|
||||
"Atomics": "readonly",
|
||||
"SharedArrayBuffer": "readonly"
|
||||
},
|
||||
"parserOptions": {
|
||||
"ecmaVersion": "latest"
|
||||
"ecmaVersion": 14
|
||||
},
|
||||
"rules": {
|
||||
}
|
||||
|
@ -17,7 +17,7 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Install Dependencies
|
||||
run: apt update; apt install -y nodejs
|
||||
run: apt update; apt install -y nodejs eslint
|
||||
|
||||
- name: Check out Git repository
|
||||
uses: actions/checkout@v3
|
||||
@ -30,8 +30,5 @@ jobs:
|
||||
- name: Install Node.js dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Run linters
|
||||
uses: https://github.com/wearerequired/lint-action@v2
|
||||
with:
|
||||
eslint: true
|
||||
prettier: true
|
||||
- name: Run eslint
|
||||
run: eslint *.js
|
||||
|
Loading…
Reference in New Issue
Block a user