This commit is contained in:
Kir_Antipov 2021-12-10 17:08:12 +03:00
parent 0eea0ed873
commit ba6a460468
2 changed files with 1 additions and 2 deletions

View file

@ -9,7 +9,6 @@
"eslint:recommended", "eslint:recommended",
"plugin:@typescript-eslint/recommended" "plugin:@typescript-eslint/recommended"
], ],
"ignorePatterns": ["*.json", "*.toml"],
"rules": { "rules": {
"arrow-body-style": ["error", "as-needed"], "arrow-body-style": ["error", "as-needed"],
"complexity": ["warn", { "max": 30 }], "complexity": ["warn", { "max": 30 }],

View file

@ -5,7 +5,7 @@
"main": "src/index.ts", "main": "src/index.ts",
"scripts": { "scripts": {
"build": "ncc build --source-map --license license.txt", "build": "ncc build --source-map --license license.txt",
"test:lint": "eslint src/** && eslint test/**", "test:lint": "eslint src/**/*.ts && eslint test/**/*.ts",
"test:unit": "jest", "test:unit": "jest",
"test": "npm run test:lint && npm run test:unit" "test": "npm run test:lint && npm run test:unit"
}, },