sounisi5011/metalsmith-postcss2

View on GitHub
.eslintrc.yml

Summary

Maintainability
Test Coverage
env:
  es6: true
  node: true
extends:
  - eslint:recommended
  - standard
  - plugin:@typescript-eslint/recommended
  - plugin:import/typescript
  - plugin:prettier/recommended
  - prettier/@typescript-eslint
parser: "@typescript-eslint/parser"
parserOptions:
  sourceType: module
  project:
    - ./tsconfig.json
    - ./test/tsconfig.json
plugins:
  - "@typescript-eslint"
  - simple-import-sort
rules:
  no-dupe-class-members: off
  import/no-extraneous-dependencies:
    - error
    - devDependencies:
        - test/**
        - script/**
  node/no-unsupported-features/es-syntax:
    - error
    - ignores:
        - modules
  "@typescript-eslint/explicit-function-return-type":
    - warn
    - allowExpressions: true
  "@typescript-eslint/no-inferrable-types": off
  simple-import-sort/sort: error
  prettier/prettier: error
overrides:
  - files:
      - "*.d.ts"
    rules:
      no-useless-constructor: off
  - files:
      - test/**/*.ts
    rules:
      "@typescript-eslint/no-empty-function": off