Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ブックマークのダウンロードに対応 #83

Merged
merged 6 commits into from
Sep 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 0 additions & 23 deletions .circleci/config.yml

This file was deleted.

35 changes: 0 additions & 35 deletions .eslintrc.json

This file was deleted.

10 changes: 7 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,12 @@ on:
branches: [ master ]

jobs:
view_pull_request_author:
eslint:
runs-on: ubuntu-latest
steps:
- name: View PR author
run: echo "This PR is opened by ${{ github.event.pull_request.user.login }} ."
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '22'
- run: npm install
- run: npm run eslint
67 changes: 0 additions & 67 deletions .github/workflows/codeql-analysis.yml

This file was deleted.

9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
[![CircleCI](https://circleci.com/gh/junjanjon/my-pixiv-follow-downloader.svg?style=svg)](https://circleci.com/gh/junjanjon/my-pixiv-follow-downloader)

# pixiv-follow-downloader

pixiv でフォローしているユーザの作品をダウンロードします。
Expand All @@ -10,11 +8,11 @@ pixiv でフォローしているユーザの作品をダウンロードしま

### インストール

yarn でインストールする。
npm でインストールする。

```
cd pixiv-follow-downloader
yarn install
npm install
```

### ログイン情報であるリフレッシュトークンを設定する
Expand All @@ -33,7 +31,8 @@ vim config.json
### ダウンロードを開始する

```
yarn run download
mkdir -p tmp
npm run download
# node main.js
```

Expand Down
40 changes: 40 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
import globals from 'globals';
import pluginJs from '@eslint/js';
import google from 'eslint-config-google';

export default [
{
files: ['eslint.config.mjs', 'main.js', 'lib/**/*.js'],
languageOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
globals: {
...globals.commonjs,
...globals.es2021,
},
},
...pluginJs.configs.recommended,
...google,
rules: {
'indent': ['error', 4],
'max-len': [
'error',
{
code: 125,
ignoreComments: true,
ignoreUrls: true,
ignoreStrings: true,
},
],
'quotes': [
'error',
'single',
],
'no-var': 'error',
'semi': [
'error',
'always',
],
},
},
];
Loading