Socket
Book a DemoInstallSign in
Socket

@fidesui/config

Package Overview
Dependencies
Maintainers
2
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fidesui/config

Base config files for Fides projects

latest
npmnpm
Version
0.0.4
Version published
Maintainers
2
Created
Source

FidesUI Config

This package exports config files for the tools that are commonly used in Fides projects. Extends those files be adding this package as a devDependency following the examples listed below.

Prettier

package.json

{
  "prettier": "@fidesui/config/prettier"
}

TypeScript

tsconfig.json

{
  "extends": "@fidesui/config/tsconfig",
  "compilerOptions": {
    // Project-specific configuration
    // ...
    // Some options like support for absolute paths can't be inherited.
    "baseUrl": ".",
    "paths": {
      "~/*": [
        "src/*"
      ]
    }
  }
}

ESLint

Historically, ESLint is opinionated about the package names of shared configuration files: eslint#14034

The workaround is to require.resolve() the module, or reference the packaged file directly:

.eslintrc.js

module.exports = {
  extends: [
    require.resolve('@fidesui/config/eslint'),
  ],
};

.eslintrc.json

{
  "extends": [
    "./node_modules/@fidesui/config/.eslintrc.js"
  ]
}

FAQs

Package last updated on 25 Mar 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts