JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 203
  • Score
    100M100P100Q95052F
  • License ISC

ESlint configuration for Flitto projects

Package Exports

  • eslint-config-flitto-typescript
  • eslint-config-flitto-typescript/index.js

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 (eslint-config-flitto-typescript) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

eslint-config-flitto-typescript

Flitto Typescript Style Guide

Get Started

1. Installing packages

npm install --save-dev eslint-config-flitto-typescript@latest

2. Create Eslint configuration file

Create eslint.config.mjs file at the top of the project directory like below. (Packages with "type": "module" can also use eslint.config.js)

import { defineConfig } from 'eslint/config'
import eslintConfigFlittoTypescript from 'eslint-config-flitto-typescript'

export default defineConfig([
  {
    extends: [eslintConfigFlittoTypescript],
    rules: {
      // Define custom rules for each project here.
    }
  },
])

Configuration On WebStorm

  1. Open Preferences ( + ,)
  2. Language & Frameworksjavascript CodeQuality toolsEslint
  3. Select Manual ESLint Configuration (or you can also choose Automatic ESLint Configuration)
    • ESLint package: /{project_path}/node_modules/eslint
    • Configuration file: /{project_path}/eslint.config.mjs
  4. (Optional) check Run eslint --fix on save
  5. Click OK

Rules

Flags