Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add recommended-type-checked#68

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
segevfiner wants to merge1 commit intovuejs:main
base:main
Choose a base branch
Loading
fromsegevfiner:recommended-type-checked

Conversation

segevfiner
Copy link

@segevfinersegevfiner commentedJan 29, 2024
edited
Loading

This can be used like this:

//@ts-check/* eslint-env node */require('@rushstack/eslint-patch/modern-module-resolution');/**@type {import('eslint').Linter.Config} */module.exports={root:true,extends:['plugin:vue/vue3-recommended','eslint:recommended','@vue/eslint-config-typescript/recommended-type-checked','@vue/eslint-config-prettier',],parserOptions:{ecmaVersion:'latest',tsconfigRootDir:__dirname,project:['./tsconfig.app.json','./tsconfig.vitest.json','./tsconfig.node.json','./e2e/tsconfig.json',],},};

And addingtypescript-eslint-parser-for-extra-files todevDependencies

Seevuejs/vue-eslint-parser#104 &#29

cc@ota-meshi

dews, motea927, and ethanchristensen01 reacted with thumbs up emojiEriclm, dews, and ethanchristensen01 reacted with heart emoji
@segevfiner
Copy link
Author

@sodatea

parser: require.resolve('vue-eslint-parser'),

parserOptions: {
parser: require('typescript-eslint-parser-for-extra-files')

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

@segevfiner Curiously, what problems were you running into that required this dependency?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

The rules that use type checking see the linked issues in the PR description.

ethanchristensen01 reacted with thumbs up emoji
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@ethanchristensen01ethanchristensen01ethanchristensen01 left review comments

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@segevfiner@ethanchristensen01

[8]ページ先頭

©2009-2025 Movatter.jp