-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #22 from 403-html/minor/adding-eslint
chore: adding eslint config with workflow
- Loading branch information
Showing
4 changed files
with
2,431 additions
and
17 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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
env: | ||
node: true | ||
commonjs: true | ||
es2021: true | ||
extends: | ||
- eslint:recommended | ||
# - plugin:@typescript-eslint/recommended | ||
# parser: '@typescript-eslint/parser' | ||
# parserOptions: | ||
# ecmaVersion: latest | ||
# plugins: | ||
# - '@typescript-eslint' | ||
rules: {} |
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,16 @@ | ||
name: ESlint Check | ||
on: | ||
push: | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
eslint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: install packages, using npm | ||
run: npm install | ||
- name: lint run | ||
run: npm run eslint |
Oops, something went wrong.