simpler eslint
Some checks failed
Lint / Run linters (push) Failing after 1m5s

This commit is contained in:
Marius Alwan Meyer 2023-05-01 23:04:01 +00:00
parent 4da9ea5179
commit 3feab3d957
2 changed files with 9 additions and 10 deletions

View File

@ -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": {
} }

View File

@ -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