Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
next.js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex
next.js
Commits
dcad00d6
Unverified
Commit
dcad00d6
authored
Dec 12, 2022
by
Tim Neutkens
Committed by
GitHub
Dec 12, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add VSCode settings and recommended extensions for Next.js repository (#43954)
parent
45eea0a5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
67 additions
and
4 deletions
+67
-4
extensions.json
.vscode/extensions.json
+24
-0
settings.json
.vscode/settings.json
+43
-4
No files found.
.vscode/extensions.json
0 → 100644
View file @
dcad00d6
{
"recommendations"
:
[
//
Linting
/
Formatting
"rust-lang.rust-analyzer"
,
"esbenp.prettier-vscode"
,
"dbaeumer.vscode-eslint"
,
"usernamehw.errorlens"
,
//
Testing
"orta.vscode-jest"
,
//
PR
management
/
Reviewing
"github.vscode-pull-request-github"
,
//
Showing
todo
comments
"gruntfuggly.todo-tree"
,
//
Collaborating
"ms-vsliveshare.vsliveshare"
,
//
Debugging
"ms-vscode.vscode-js-profile-flame"
]
}
.vscode/settings.json
View file @
dcad00d6
{
{
//
Formatting
using
Prettier
by
default
for
all
languages
"editor.defaultFormatter"
:
"esbenp.prettier-vscode"
,
//
Formatting
using
Prettier
for
JavaScript
,
overrides
VSCode
default.
"[javascript]"
:
{
"editor.defaultFormatter"
:
"esbenp.prettier-vscode"
},
//
Formatting
using
Rust-Analyzer
for
Rust.
"[rust]"
:
{
"editor.defaultFormatter"
:
"rust-lang.rust-analyzer"
},
//
Linting
using
ESLint.
"eslint.validate"
:
[
"eslint.validate"
:
[
"javascript"
,
"javascript"
,
"javascriptreact"
,
"javascriptreact"
,
{
"language"
:
"typescript"
,
"autoFix"
:
true
}
,
"typescript"
,
{
"language"
:
"typescriptreact"
,
"autoFix"
:
true
}
"typescriptreact"
],
],
"debug.javascript.unmapMissingSources"
:
true
,
//
Disable
Jest
autoRun
as
otherwise
it
will
start
running
all
tests
the
first
time.
"jest.autoRun"
:
"off"
,
"jest.autoRun"
:
"off"
,
//
Debugging.
"debug.javascript.unmapMissingSources"
:
true
,
"files.exclude"
:
{
"files.exclude"
:
{
"**/node_modules"
:
false
,
"**/node_modules"
:
false
,
"node_modules"
:
true
,
"node_modules"
:
true
,
"*[!test]**/node_modules"
:
true
"*[!test]**/node_modules"
:
true
}
},
//
Ensure
enough
terminal
history
is
preserved
when
running
tests.
"terminal.integrated.scrollback"
:
10000
,
//
Configure
todo-tree
to
exclude
node_modules
,
dist
,
and
compiled.
"todo-tree.filtering.excludeGlobs"
:
[
"**/node_modules"
,
"**/dist"
,
"**/compiled"
],
//
Match
TODO-APP
in
addition
to
other
TODOs.
"todo-tree.general.tags"
:
[
"BUG"
,
"HACK"
,
"FIXME"
,
"TODO"
,
"XXX"
,
"[ ]"
,
"[x]"
,
"TODO-APP"
],
//
Disable
TypeScript
surveys.
"typescript.surveys.enabled"
:
false
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment