Skip to content

Commit 97c3272

Browse files
committed
fix: Type lint issues in broccoli-css-blocks.
1 parent 3b3e8f7 commit 97c3272

File tree

3 files changed

+6
-10
lines changed

3 files changed

+6
-10
lines changed

packages/broccoli-css-blocks/package.json

+5-8
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,14 @@
77
"license": "MIT",
88
"keywords": ["css-blocks", "css blocks", "broccoli-plugin"],
99
"scripts": {
10-
"test": "../../node_modules/.bin/mocha --opts test/mocha.opts dist/test",
11-
"compile": "rm -rf dist && ../../node_modules/.bin/tsc -p tsconfig.json",
10+
"test": "mocha --opts test/mocha.opts dist/test",
11+
"compile": "rm -rf dist && tsc -p tsconfig.json",
1212
"pretest": "yarn run compile",
1313
"posttest": "yarn run lint",
1414
"prepublish": "yarn run compile && yarn run lintall",
15-
"lint":
16-
"../../node_modules/.bin/tslint -t msbuild --project . -c tslint.cli.json",
17-
"lintall":
18-
"../../node_modules/.bin/tslint -t msbuild --project . -c tslint.release.json",
19-
"lintfix":
20-
"../../node_modules/.bin/tslint -t msbuild --project . -c tslint.cli.json --fix",
15+
"lint": "tslint -t msbuild --project . -c tslint.cli.json",
16+
"lintall": "tslint -t msbuild --project . -c tslint.release.json",
17+
"lintfix": "tslint -t msbuild --project . -c tslint.cli.json --fix",
2118
"coverage":
2219
"istanbul cover -i dist/src/**/*.js --dir ./build/coverage node_modules/mocha/bin/_mocha -- dist/test --opts test/mocha.opts",
2320
"remap":

packages/broccoli-css-blocks/src/index.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import * as fs from "fs-extra";
22
import * as path from "path";
33

4-
// import { TemplateTypes } from "@opticss/template-api";
54
import { Analyzer, BlockCompiler, StyleMapping } from "css-blocks";
65
import { Optimizer } from "opticss";
76
import * as postcss from "postcss";

packages/broccoli-css-blocks/test/plugin-test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { GlimmerAnalyzer } from "@css-blocks/glimmer-templates";
22
import * as assert from "assert";
3-
import { buildOutput, createTempDir, TempDir } from "broccoli-test-helper";
3+
import { TempDir, buildOutput, createTempDir } from "broccoli-test-helper";
44

55
import { BroccoliCSSBlocks } from "../src/index";
66

0 commit comments

Comments
 (0)