forked from jser/watch-list-rss
-
Notifications
You must be signed in to change notification settings - Fork 0
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 yamadashy#108 from yamadashy/feature/package-upgra…
…de-major Draft: ESLint, yarnのmajor、その他のminor, patch バージョンアップ
- Loading branch information
Showing
13 changed files
with
4,703 additions
and
4,900 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,3 +1,7 @@ | ||
compressionLevel: mixed | ||
|
||
enableGlobalCache: false | ||
|
||
nodeLinker: node-modules | ||
|
||
yarnPath: .yarn/releases/yarn-3.8.2.cjs | ||
yarnPath: .yarn/releases/yarn-4.2.1.cjs |
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,56 @@ | ||
import js from '@eslint/js'; | ||
import typescriptEslintParser from '@typescript-eslint/parser'; | ||
import typescriptEslint from '@typescript-eslint/eslint-plugin'; | ||
import importPlugin from 'eslint-plugin-import'; | ||
import eslintPluginPrettier from 'eslint-plugin-prettier'; | ||
import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended'; | ||
import globals from 'globals'; | ||
|
||
export default [ | ||
{ | ||
files: ['**/*.ts'], | ||
languageOptions: { | ||
globals: { | ||
...globals.es2021, | ||
...globals.node, | ||
...globals.browser, | ||
}, | ||
parser: typescriptEslintParser, | ||
}, | ||
plugins: { | ||
'js': js, | ||
'@typescript-eslint': typescriptEslint, | ||
'import': importPlugin, | ||
'prettier': eslintPluginPrettier, | ||
}, | ||
rules: { | ||
...js.configs.recommended.rules, | ||
|
||
...typescriptEslint.configs.recommended.rules, | ||
...typescriptEslint.configs.strict.rules, | ||
...typescriptEslint.configs.stylistic.rules, | ||
'@typescript-eslint/no-var-requires': 'off', | ||
|
||
...importPlugin.configs.typescript.rules, | ||
'import/no-unresolved': 'off', | ||
'import/prefer-default-export': 'off', | ||
|
||
...eslintPluginPrettierRecommended.rules, | ||
'prettier/prettier': 'warn', | ||
}, | ||
}, | ||
|
||
{ | ||
files: ['**/*.js'], | ||
languageOptions: { | ||
globals: { | ||
...globals.es2021, | ||
...globals.node, | ||
...globals.browser, | ||
}, | ||
}, | ||
rules: { | ||
...js.configs.recommended.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
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 |
---|---|---|
|
@@ -8,4 +8,4 @@ module.exports = { | |
'user-agent': constants.requestUserAgent, | ||
}, | ||
}, | ||
} | ||
}; |
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
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
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
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
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
Oops, something went wrong.