JSPM

@stanfordspezi/spezi-web-configurations

0.3.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 46
  • Score
    100M100P100Q80957F
  • License MIT

Stanford Biodesign Digital Health Spezi Web Configurations

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@stanfordspezi/spezi-web-configurations) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    Biodesign Digital Health Spezi Web Configurations

    Build and Test Deployment DOI

    Getting Started

    A shared linting and formatter configurations. Uses Prettier and ESLint. Pre-configured for you to easily plug into your codebases.

    Configurations are opinionated and strict. We aim to catch as many possible mistakes or elements we consider harmful practices early. Some rules are meant to be broken once in a while, with an explanation comment around them.

    Installation

    Install dependencies:

    npm install --save-dev prettier eslint @stanfordspezi/spezi-web-configurations

    Create eslint.config.js file:

    const { getEslintConfig } = require('@stanfordspezi/spezi-web-configurations')
    
    module.exports = getEslintConfig({ tsconfigRootDir: __dirname })

    Create .prettierrc.js file:

    const { prettierConfig } = require("@stanfordspezi/spezi-web-configurations");
    
    module.exports = prettierConfig;

    Now, when you run eslint . --fix, code is going to be linted and formatted.

    License

    This project is licensed under the MIT License. See Licenses for more information.

    Contributors

    This project is developed as part of the Stanford Byers Center for Biodesign at Stanford University. See CONTRIBUTORS.md for a full list of all Next.js Template contributors.

    Stanford Byers Center for Biodesign Logo Stanford Byers Center for Biodesign Logo