Skip to content

Commit 15eacf6

Browse files
committed
removed pre-commit linting
1 parent 86904e5 commit 15eacf6

File tree

6 files changed

+9
-48
lines changed

6 files changed

+9
-48
lines changed

.husky/pre-commit

Lines changed: 0 additions & 1 deletion
This file was deleted.

.prettierrc

Lines changed: 0 additions & 7 deletions
This file was deleted.

README.md

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,6 @@ npm run start [product]/[version] # start a versioned product docs only
103103
npm run build # Full production build
104104
npm run build [product] # Full production build
105105
npm run build [product]/[version] # Full production build
106-
npm run format:check # Check code formatting
107-
npm run format # Auto-format with Prettier
108106
# Utilities
109107
npm run clear # Clear Docusaurus cache
110108
npm run serve # Serve production build after `npm run build`
@@ -369,17 +367,9 @@ Contributing is easy:
369367
npm run start
370368
```
371369

372-
2. **Make changes** to documentation or configuration
373-
374-
3. **Format code** before committing:
375-
376-
If this isn't done, a pre-commit hook will do it for you anyways.
377-
378-
```bash
379-
npm run format
380-
```
370+
2. **Make your changes** to documentation or configuration
381371

382-
4. **Test builds**:
372+
3. **Test builds**:
383373

384374
Test a build of the docs you edited:
385375

@@ -393,7 +383,7 @@ Test a build of all docs:
393383
npm run build
394384
```
395385

396-
5. **Submit pull request**
386+
4. **Submit pull request**
397387

398388
Create a PR to the dev branch, and then main when ready for production.
399389

docusaurus.dev.config.js

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const config = {
1111
onBrokenLinks: 'warn',
1212
onBrokenMarkdownLinks: 'warn',
1313
onBrokenAnchors: 'warn',
14-
14+
1515
future: {
1616
experimental_faster: {
1717
swcJsLoader: true,
@@ -27,7 +27,7 @@ const config = {
2727
removeLegacyPostBuildHeadAttribute: true,
2828
},
2929
},
30-
30+
3131
i18n: {
3232
defaultLocale: 'en',
3333
locales: ['en'],
@@ -105,7 +105,9 @@ const config = {
105105
darkTheme: prismThemes.dracula,
106106
},
107107
},
108-
stylesheets: ['https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap'],
108+
stylesheets: [
109+
'https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap',
110+
],
109111
};
110112

111-
export default config;
113+
export default config;

package-lock.json

Lines changed: 0 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,10 @@
1616
"write-translations": "docusaurus write-translations",
1717
"write-heading-ids": "docusaurus write-heading-ids",
1818
"typecheck": "tsc",
19-
"format": "prettier --write .",
20-
"format:check": "prettier --check .",
2119
"prepare": "husky",
2220
"update-mappings": "node scripts/generate-product-mappings.js",
2321
"postinstall": "node scripts/windows-install.js"
2422
},
25-
"lint-staged": {
26-
"*.{js,jsx,ts,tsx,json,css,scss,md}": [
27-
"prettier --write"
28-
]
29-
},
3023
"dependencies": {
3124
"@docusaurus/babel": "^3.8.1",
3225
"@docusaurus/core": "^3.8.1",
@@ -51,7 +44,6 @@
5144
"cross-env": "^7.0.3",
5245
"husky": "^9.1.7",
5346
"ora": "^8.2.0",
54-
"prettier": "3.5.3",
5547
"table": "^6.9.0",
5648
"to-vfile": "^8.0.0",
5749
"vfile-reporter": "^8.1.1",

0 commit comments

Comments
 (0)