René's URL Explorer Experiment


Title: WIP: Eslint / Prettier integration. by LaRuaNa · Pull Request #179 · nodejs/nodejs.dev · GitHub

Open Graph Title: WIP: Eslint / Prettier integration. by LaRuaNa · Pull Request #179 · nodejs/nodejs.dev

X Title: WIP: Eslint / Prettier integration. by LaRuaNa · Pull Request #179 · nodejs/nodejs.dev

Description: Hi all, as decided in the last meeting here a experimental PR with eslint and prettier integration based on the industry standard (airbnb config). I got from couple of mates from Microsoft the info that there is a roadmap for Typescript in which they announced that "editor team will be focusing on leveraging ESLint". I think it makes sense to move official supported platforms rather than community driven ones. ( You know what I mean, don't get me wrong :] ) So I removed tslint from our config and introduced eslint. IMO It makes also sense because of all the eslint plugins like react-hooks. They're just up to date. So, please take a look in that, try to fix couple of eslint errors and play a bit around to get a feel for the config. Here my vscode config you might need :] "eslint.enable": true, "typescript.validate.enable": true, "editor.formatOnSave": true, "eslint.autoFixOnSave": true, "eslint.validate": [ "javascript", "javascriptreact", { "language": "typescript", "autoFix": true }, { "language": "typescriptreact", "autoFix": true } ], "prettier.eslintIntegration": true Note: Please don't open any PRs with that config and do not merge this PR yet refs: microsoft/TypeScript#29288 https://eslint.org/blog/2019/01/future-typescript-eslint

Open Graph Description: Hi all, as decided in the last meeting here a experimental PR with eslint and prettier integration based on the industry standard (airbnb config). I got from couple of mates from Microsoft the info...

X Description: Hi all, as decided in the last meeting here a experimental PR with eslint and prettier integration based on the industry standard (airbnb config). I got from couple of mates from Microsoft the info...

Opengraph URL: https://github.com/nodejs/nodejs.dev/pull/179

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:4b210937-4b90-1739-8a26-b775c75e3f1c
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC28E:8196C:7C0CEC:A6E351:6B00DC28
html-safe-nonce2a50c653c6a4a30f11c8d73d8a91c21cdb3778eed315a763836adaab19c1ce0d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMjhFOjgxOTZDOjdDMENFQzpBNkUzNTE6NkIwMERDMjgiLCJ2aXNpdG9yX2lkIjoiMzY2MzE3NjQzMTczMjU3OTM2OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmaccd1e24c3514b255659e0a673e5dccf9daec41a104b7136b84fb72ae491ae03da
hovercard-subject-tagpull_request:259431107
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/nodejs/nodejs.dev/pull/179/files
twitter:imagehttps://avatars.githubusercontent.com/u/2481234?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/2481234?s=400&v=4
og:image:altHi all, as decided in the last meeting here a experimental PR with eslint and prettier integration based on the industry standard (airbnb config). I got from couple of mates from Microsoft the info...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None043c3f30fbcbe2c6c8e729e10cbbbc90c406546f9fbbb67c648d38f6b7d16daf
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/nodejs/nodejs.dev git https://github.com/nodejs/nodejs.dev.git
octolytics-dimension-user_id9950313
octolytics-dimension-user_loginnodejs
octolytics-dimension-repository_id168201675
octolytics-dimension-repository_nwonodejs/nodejs.dev
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id168201675
octolytics-dimension-repository_network_root_nwonodejs/nodejs.dev
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release5425dc24e8bd8d6fca9641a12afc984825a43875
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/nodejs/nodejs.dev/pull/179/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnodejs.dev%2Fpull%2F179%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnodejs.dev%2Fpull%2F179%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=nodejs%2Fnodejs.dev
Reloadhttps://github.com/nodejs/nodejs.dev/pull/179/files
Reloadhttps://github.com/nodejs/nodejs.dev/pull/179/files
Reloadhttps://github.com/nodejs/nodejs.dev/pull/179/files
nodejshttps://github.com/nodejs
nodejs.devhttps://github.com/nodejs/nodejs.dev
Codehttps://github.com/nodejs/nodejs.dev
Pull requestshttps://github.com/nodejs/nodejs.dev/pulls
Actionshttps://github.com/nodejs/nodejs.dev/actions
Security and qualityhttps://github.com/nodejs/nodejs.dev/security
Insightshttps://github.com/nodejs/nodejs.dev/insights
LaRuaNahttps://github.com/LaRuaNa
nodejs:masterhttps://github.com/nodejs/nodejs.dev/tree/master
LaRuaNa:linter-prettier-integrationhttps://github.com/LaRuaNa/website-prototype/tree/linter-prettier-integration
Conversation 15 https://github.com/nodejs/nodejs.dev/pull/179
Commits 10 https://github.com/nodejs/nodejs.dev/pull/179/commits
Checks 0 https://github.com/nodejs/nodejs.dev/pull/179/checks
Files changed https://github.com/nodejs/nodejs.dev/pull/179/files
Please reload this pagehttps://github.com/nodejs/nodejs.dev/pull/179/files
WIP: Eslint / Prettier integration. https://github.com/nodejs/nodejs.dev/pull/179/files#top
Show all changes 10 commits https://github.com/nodejs/nodejs.dev/pull/179/files
dd18987 chore: Eslint / Prettier integration. Mar 2, 2019 https://github.com/nodejs/nodejs.dev/pull/179/commits/dd18987f22a7c02ea84a9571a80b2b313c987dce
793f15e chore: Change ext order to overwrite eslint rules Aug 23, 2019 https://github.com/nodejs/nodejs.dev/pull/179/commits/793f15eedd7d844a6b2984dbdda2e5c2b969ce36
7b44e37 chore: Add build to gitignore Aug 23, 2019 https://github.com/nodejs/nodejs.dev/pull/179/commits/7b44e37fa696015a4bc4831421c9a66793ac86ef
b7d3161 chore: Eslint fixes after config change Aug 23, 2019 https://github.com/nodejs/nodejs.dev/pull/179/commits/b7d316136d262bae7169c81a620e146e4c4f62bd
22be1df chore: Update yarn.lock after rebase jonchurch Sep 9, 2019 https://github.com/nodejs/nodejs.dev/pull/179/commits/22be1df28d548ef84c7f18fe668ab64c90b0820f
66a6b07 chore: Add eslint-plugin-jest and extend w/ reccs jonchurch Sep 9, 2019 https://github.com/nodejs/nodejs.dev/pull/179/commits/66a6b07562bc592d8b8c4ed1863ff095f3d03250
71c218b chore: Disable no-var-requires for .js files jonchurch Sep 9, 2019 https://github.com/nodejs/nodejs.dev/pull/179/commits/71c218b6b3a23ccf945893e9b3566028d4a029ad
b4457ae chore: Remove format-check from test script jonchurch Sep 9, 2019 https://github.com/nodejs/nodejs.dev/pull/179/commits/b4457aee68460ca50f22ada2028a3209feac3d37
6a90367 chore: Fix eslint errors in js files jonchurch Sep 9, 2019 https://github.com/nodejs/nodejs.dev/pull/179/commits/6a9036776a528b50703eeff984e11f7a53dadf7b
c69d6bb chore: Update husky pre-push to use lint script jonchurch Sep 9, 2019 https://github.com/nodejs/nodejs.dev/pull/179/commits/c69d6bb81883c70e94e0e520999ccc39055a0c25
Clear filters https://github.com/nodejs/nodejs.dev/pull/179/files
Please reload this pagehttps://github.com/nodejs/nodejs.dev/pull/179/files
Please reload this pagehttps://github.com/nodejs/nodejs.dev/pull/179/files
.eslintrc https://github.com/nodejs/nodejs.dev/pull/179/files#diff-e7e195d3d8fa5b82fa51ed952f3a179d429cbc46c0432ce1f7b357c54c162822
.gitignore https://github.com/nodejs/nodejs.dev/pull/179/files#diff-bc37d034bad564583790a46f19d807abfe519c5671395fd494d8cce506c42947
.prettierrc https://github.com/nodejs/nodejs.dev/pull/179/files#diff-663ade211b3a1552162de21c4031fcd16be99407aae5ceecbb491a2efc43d5d2
gatsby-config.js https://github.com/nodejs/nodejs.dev/pull/179/files#diff-b5e305780d9d473da97c61beab8bc36e5e8871b360942e4686c9b20d8c5d4cfa
gatsby-node.js https://github.com/nodejs/nodejs.dev/pull/179/files#diff-a6f3904c41211be170d9b0eb87e49ea8d02d0fd5a7224d6772174b425dacf90f
package.json https://github.com/nodejs/nodejs.dev/pull/179/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519
article.tsx https://github.com/nodejs/nodejs.dev/pull/179/files#diff-48a504261a27966c87eb8282953a8e1d2b8e19c0fd0eabf97eeac2df13beaefd
edit-link.tsx https://github.com/nodejs/nodejs.dev/pull/179/files#diff-9d6e1999ddfaa3087c4679880f487ad1bd17975253f2945aa35ae7eea9756185
header.tsx https://github.com/nodejs/nodejs.dev/pull/179/files#diff-8387d64f5b5e50e1e386a42e75a377d0d8bf6d40a149697aca42cfeda4c8c206
hero.tsx https://github.com/nodejs/nodejs.dev/pull/179/files#diff-404be1cd070ef138f9697ce2f0d185e84cc11c4d4b0586db43eeb39219c52327
layout.css https://github.com/nodejs/nodejs.dev/pull/179/files#diff-96adc80a93133b41a9f213b926474e218ccd06b04697fc0f64084920d3790420
layout.tsx https://github.com/nodejs/nodejs.dev/pull/179/files#diff-0b75a532e530ce749a966d77dffeea3593e67560e5894213143637ee1d84aef5
mobile.css https://github.com/nodejs/nodejs.dev/pull/179/files#diff-4568e4c83a68d53496f941e4ee84211af79107eb585be49ad3e924778d0ff01f
navigation-item.tsx https://github.com/nodejs/nodejs.dev/pull/179/files#diff-a7ae0ccc9c21963119dadad6e2ecfeb4184a1bd562309b73138011e46819eff2
navigation-section.tsx https://github.com/nodejs/nodejs.dev/pull/179/files#diff-a428f9724ab36907e13d264b509e54d5de6c972adf1ddd76eb9ea4c47ae45b86
navigation.tsx https://github.com/nodejs/nodejs.dev/pull/179/files#diff-d9fcccb82e22d45c50029699d79f97851782bbf5a470a6802036498af5158394
pagination.tsx https://github.com/nodejs/nodejs.dev/pull/179/files#diff-d47654c05657a1898f4b507865b4a8de6d93ccebe72c6ea9479df570f42e25dc
seo.tsx https://github.com/nodejs/nodejs.dev/pull/179/files#diff-b8a827bfbfef7844d32559395e00b7592ec8058156056ada7391ab7851cae51a
config.js https://github.com/nodejs/nodejs.dev/pull/179/files#diff-23821ae067a9c7dfb6227774aefb39fa3951a5874ea953b9401dfc80175c026c
404.tsx https://github.com/nodejs/nodejs.dev/pull/179/files#diff-110bf7aeaec15b891ec9baa706e692fe509bfb1367a8150fe3e4f5871145379c
learn.tsx https://github.com/nodejs/nodejs.dev/pull/179/files#diff-84912c355dec07dd6260dd99dadcd1de714eaeaabdf34fd3547bbde2166e2617
createSlug.js https://github.com/nodejs/nodejs.dev/pull/179/files#diff-1941da289602538e1fd26bd440e666cfd85fa47a0464d00d0229f29482f4eab3
scrollTo.tsx https://github.com/nodejs/nodejs.dev/pull/179/files#diff-ef19468187bb442cc15971354f837223c2e63dfffd090c97115a8693302b7c4a
test-setup.js https://github.com/nodejs/nodejs.dev/pull/179/files#diff-ed8af66ebcd3e127ed6a11464ec61b349be8e343419b1eb675067bd5a8e5c5f5
gatsby.js https://github.com/nodejs/nodejs.dev/pull/179/files#diff-67ca76ac63b4bbc98df98df53f5f2f2b06d575306178946650e062ee6e862d46
outlineOnKeyboardNav.test.js https://github.com/nodejs/nodejs.dev/pull/179/files#diff-2fa44ed4add784c89eeecead9246794a1d6b3c179b4db2270bd18d26224ace1a
tslint.json https://github.com/nodejs/nodejs.dev/pull/179/files#diff-9db81b3f77968b3ad243c25f280c4e80dd20b2e5770bf5606ccdb4ecb8af9ce8
yarn.lock https://github.com/nodejs/nodejs.dev/pull/179/files#diff-51e4f558fae534656963876761c95b83b6ef5da5103c4adef6768219ed76c2de
.eslintrchttps://github.com/nodejs/nodejs.dev/pull/179/files#diff-e7e195d3d8fa5b82fa51ed952f3a179d429cbc46c0432ce1f7b357c54c162822
View file https://github.com/LaRuaNa/website-prototype/blob/c69d6bb81883c70e94e0e520999ccc39055a0c25/.eslintrc
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/nodejs/nodejs.dev/pull/179/{{ revealButtonHref }}
.gitignorehttps://github.com/nodejs/nodejs.dev/pull/179/files#diff-bc37d034bad564583790a46f19d807abfe519c5671395fd494d8cce506c42947
View file https://github.com/LaRuaNa/website-prototype/blob/c69d6bb81883c70e94e0e520999ccc39055a0c25/.gitignore
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/nodejs/nodejs.dev/pull/179/{{ revealButtonHref }}
https://github.com/nodejs/nodejs.dev/pull/179/files#diff-bc37d034bad564583790a46f19d807abfe519c5671395fd494d8cce506c42947
https://github.com/nodejs/nodejs.dev/pull/179/files#diff-bc37d034bad564583790a46f19d807abfe519c5671395fd494d8cce506c42947
.prettierrchttps://github.com/nodejs/nodejs.dev/pull/179/files#diff-663ade211b3a1552162de21c4031fcd16be99407aae5ceecbb491a2efc43d5d2
View file https://github.com/nodejs/nodejs.dev/blob/2a806ef0520cba90e9f23f45fffcba4298186c26/.prettierrc
Open in desktop https://desktop.github.com
Please reload this pagehttps://github.com/nodejs/nodejs.dev/pull/179/files
gatsby-config.jshttps://github.com/nodejs/nodejs.dev/pull/179/files#diff-b5e305780d9d473da97c61beab8bc36e5e8871b360942e4686c9b20d8c5d4cfa
View file https://github.com/LaRuaNa/website-prototype/blob/c69d6bb81883c70e94e0e520999ccc39055a0c25/gatsby-config.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/nodejs/nodejs.dev/pull/179/{{ revealButtonHref }}
https://github.com/nodejs/nodejs.dev/pull/179/files#diff-b5e305780d9d473da97c61beab8bc36e5e8871b360942e4686c9b20d8c5d4cfa
https://github.com/nodejs/nodejs.dev/pull/179/files#diff-b5e305780d9d473da97c61beab8bc36e5e8871b360942e4686c9b20d8c5d4cfa
https://github.com/nodejs/nodejs.dev/pull/179/files#diff-b5e305780d9d473da97c61beab8bc36e5e8871b360942e4686c9b20d8c5d4cfa
https://github.com/nodejs/nodejs.dev/pull/179/files#diff-b5e305780d9d473da97c61beab8bc36e5e8871b360942e4686c9b20d8c5d4cfa
gatsby-node.jshttps://github.com/nodejs/nodejs.dev/pull/179/files#diff-a6f3904c41211be170d9b0eb87e49ea8d02d0fd5a7224d6772174b425dacf90f
View file https://github.com/LaRuaNa/website-prototype/blob/c69d6bb81883c70e94e0e520999ccc39055a0c25/gatsby-node.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/nodejs/nodejs.dev/pull/179/{{ revealButtonHref }}
https://github.com/nodejs/nodejs.dev/pull/179/files#diff-a6f3904c41211be170d9b0eb87e49ea8d02d0fd5a7224d6772174b425dacf90f
https://github.com/nodejs/nodejs.dev/pull/179/files#diff-a6f3904c41211be170d9b0eb87e49ea8d02d0fd5a7224d6772174b425dacf90f
https://github.com/nodejs/nodejs.dev/pull/179/files#diff-a6f3904c41211be170d9b0eb87e49ea8d02d0fd5a7224d6772174b425dacf90f
https://github.com/nodejs/nodejs.dev/pull/179/files#diff-a6f3904c41211be170d9b0eb87e49ea8d02d0fd5a7224d6772174b425dacf90f
https://github.com/nodejs/nodejs.dev/pull/179/files#diff-a6f3904c41211be170d9b0eb87e49ea8d02d0fd5a7224d6772174b425dacf90f
https://github.com/nodejs/nodejs.dev/pull/179/files#diff-a6f3904c41211be170d9b0eb87e49ea8d02d0fd5a7224d6772174b425dacf90f
https://github.com/nodejs/nodejs.dev/pull/179/files#diff-a6f3904c41211be170d9b0eb87e49ea8d02d0fd5a7224d6772174b425dacf90f
package.jsonhttps://github.com/nodejs/nodejs.dev/pull/179/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519
View file https://github.com/LaRuaNa/website-prototype/blob/c69d6bb81883c70e94e0e520999ccc39055a0c25/package.json
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/nodejs/nodejs.dev/pull/179/{{ revealButtonHref }}
https://github.com/nodejs/nodejs.dev/pull/179/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519
https://github.com/nodejs/nodejs.dev/pull/179/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519
https://github.com/nodejs/nodejs.dev/pull/179/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519
https://github.com/nodejs/nodejs.dev/pull/179/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519
https://github.com/nodejs/nodejs.dev/pull/179/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519
https://github.com/nodejs/nodejs.dev/pull/179/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519
Please reload this pagehttps://github.com/nodejs/nodejs.dev/pull/179/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.