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