@viamrobotics/prettier-config
Advanced tools
Comparing version 0.2.1 to 0.3.0
@@ -6,5 +6,5 @@ { | ||
}, | ||
"version": "0.2.1", | ||
"version": "0.3.0", | ||
"description": "Common Prettier configuration for Viam projects.", | ||
"type": "module", | ||
"type": "commonjs", | ||
"files": [ | ||
@@ -17,8 +17,8 @@ "**/*", | ||
".": { | ||
"types": "./dist/base.d.ts", | ||
"default": "./base.js" | ||
"types": "./dist/base.d.cts", | ||
"default": "./base.cjs" | ||
}, | ||
"./svelte": { | ||
"types": "./dist/svelte.d.ts", | ||
"default": "./svelte.js" | ||
"types": "./dist/svelte.d.cts", | ||
"default": "./svelte.cjs" | ||
} | ||
@@ -25,0 +25,0 @@ }, |
@@ -17,4 +17,4 @@ # Shared Prettier Config for Viam | ||
```js | ||
// .prettierrc.js | ||
export default '@viamrobotics/prettier-config'; | ||
// .prettierrc.cjs | ||
module.exports = '@viamrobotics/prettier-config'; | ||
``` | ||
@@ -25,4 +25,4 @@ | ||
```js | ||
// .prettierrc.js | ||
import baseConfig from '@viamrobotics/prettier-config'; | ||
// .prettierrc.cjs | ||
const baseConfig = require('@viamrobotics/prettier-config'); | ||
@@ -48,4 +48,4 @@ export default { | ||
```js | ||
// .prettierrc.js | ||
export default '@viamrobotics/prettier-config/svelte'; | ||
// .prettierrc.cjs | ||
module.exports = '@viamrobotics/prettier-config/svelte'; | ||
``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3880
29
No