Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@fauna/typescript

Package Overview
Dependencies
Maintainers
0
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fauna/typescript - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

6

config/eslint.config.js

@@ -0,1 +1,3 @@

const eslintConfigPrettier = require("eslint-config-prettier");
// borrowed from fauna-shell

@@ -35,4 +37,6 @@ const config = [

},
// this disables eslint's formatting rules that collide with prettier's
eslintConfigPrettier,
];
module.exports = config;
module.exports = { config };

17

config/prettierrc.js
/**
* @see https://prettier.io/docs/en/configuration.html
* @see https://prettier.io/docs/en/options
* @type {import("prettier").Config}
*/
const config = {
trailingComma: "es5",
tabWidth: 4,
semi: false,
singleQuote: true,
tabWidth: 2,
semi: true,
singleQuote: false,
quoteProps: "as-needed",
trailingComma: "all",
bracketSpacing: true,
bracketSameLine: false,
arrowParens: "always",
proseWrap: "preserve",
endOfLine: "lf",
embeddedLanguageFormatting: "auto",
singleAttributePerLine: false,
};
module.exports = config;
{
"name": "@fauna/typescript",
"version": "0.0.6",
"version": "0.0.7",
"description": "A collection of lint, format, and build configs used at Fauna for TypeScript projects.",

@@ -25,2 +25,3 @@ "main": "index.js",

"dependencies": {
"eslint-config-prettier": "^9.1.0",
"mentions-regex": "^2.0.3",

@@ -27,0 +28,0 @@ "parse-commit-message": "^5.0.4"

@@ -7,2 +7,2 @@ # TypeScript

- `.gitignore`, a minimal placeholder .gitignore file.
- `prettierrc.js`, a minimal placeholder prettier config.
- `prettierrc.js`, a minimal placeholder prettier config. this is a _stand-alone_ prettier config, and is used as a stand-alone; it's not integrated into eslint ([by choice](https://prettier.io/docs/en/integrating-with-linters.html)). run it before running eslint. we use [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) to remove eslint rules that collide with prettier, so prettier is authoritative on stylistic formatting.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc