@spree/storefront-api-v2-sdk
Version:
Node module to easily integrate your JavaScript or TypeScript application with Spree API V2. You can create an entirely custom Storefront in JS/TS with this package including one page checkout, Single Page Apps, PWAs and so on
57 lines (56 loc) • 887 B
YAML
version: "2"
checks:
argument-count:
config:
threshold: 4
complex-logic:
config:
threshold: 4
file-lines:
config:
threshold: 250
method-complexity:
config:
threshold: 12
method-count:
config:
threshold: 20
method-lines:
config:
threshold: 50
function-lines:
config:
threshold: 100
nested-control-flow:
config:
threshold: 10
return-statements:
config:
threshold: 4
plugins:
eslint:
enabled: true
channel: "eslint-6"
config:
extensions:
- .es6
- .js
- .ts
duplication:
enabled: true
config:
languages:
javascript:
count_threshold: 3
exclude_patterns:
- config/
- db/
- dist/
- features/
- "**/node_modules/"
- script/
- "**/spec/"
- "**/test/"
- "**/tests/"
- "**/vendor/"
- "**/*.d.ts"