@faircopy/config 1.3.0 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -19,12 +19,16 @@ export default defineConfig({
|
|
|
19
19
|
files: ['src/**/*.astro'],
|
|
20
20
|
ignore: ['src/content/blog/**'],
|
|
21
21
|
adapters: [astro()],
|
|
22
|
+
rulesets: ['@faircopy/rules-nlp'],
|
|
22
23
|
rules: {
|
|
23
24
|
'no-em-dash': 'error',
|
|
24
25
|
'no-weasel-words': ['error', { words: ['actually', 'truly', 'really', 'literally'] }],
|
|
25
26
|
'no-rhetorical-scaffolding': 'error',
|
|
27
|
+
'no-passive-voice': 'warn',
|
|
26
28
|
},
|
|
27
29
|
})
|
|
28
30
|
```
|
|
29
31
|
|
|
32
|
+
`rulesets` loads optional rule packages so their rule IDs can be used without repeating the package name. If multiple loaded packages expose the same bare rule name, use the package-qualified ID for that rule.
|
|
33
|
+
|
|
30
34
|
All public types from `@faircopy/core` are re-exported from this package.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@faircopy/config",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"description": "defineConfig helper and type re-exports for faircopy",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"prepublishOnly": "pnpm run build"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@faircopy/core": "1.
|
|
23
|
+
"@faircopy/core": "1.4.0"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"tsup": "^8.5.1",
|