Skip to content

Commit c0c5319

Browse files
committed
Dogfooding, version bump
1 parent 8299722 commit c0c5319

File tree

4 files changed

+42
-5
lines changed

4 files changed

+42
-5
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
# Changelog
22

33
## Master
4+
5+
## 0.4.1 - Dogfooding
46
- Support for the scoped plugins (#93 by @nadiam84)
7+
- Dogfood stricter
58
- Dependencies bump
69

710
## 0.4.0 - Typescript support, for real

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "stricter",
3-
"version": "0.4.0",
3+
"version": "0.4.1",
44
"description": "A project-wide js-linting tool",
55
"files": [
66
"LICENSE",
@@ -18,10 +18,11 @@
1818
"build:main": "cross-env NODE_ENV=production rollup -c rollup.config.js",
1919
"watch": "rollup -c rollup.config.js -w",
2020
"lint": "tslint --project .",
21+
"stricter": "stricter",
2122
"typecheck": "tsc --noEmit",
2223
"build:types": "tsc --emitDeclarationOnly --declarationDir lib --declaration",
2324
"generate:schema": "typescript-json-schema tsconfig.json Config --include src/types/* --out src/config/config-schema.json --noExtraProps --required --useTypeOfKeyword",
24-
"all": "yarn generate:schema && concurrently npm:build:main npm:build:types npm:lint npm:typecheck -c green,yellow,blue,magenta",
25+
"all": "yarn generate:schema && concurrently npm:build:main npm:build:types npm:lint npm:typecheck npm:stricter -c green,yellow,blue,magenta,cyan",
2526
"test": "jest",
2627
"report-coverage": "coveralls < coverage/lcov.info"
2728
},
@@ -71,6 +72,7 @@
7172
"rollup-plugin-json": "^4.0.0",
7273
"rollup-plugin-node-resolve": "^5.2.0",
7374
"rollup-plugin-replace": "^2.2.0",
75+
"stricter": "^0.4.0",
7476
"ts-node": "^8.6.2",
7577
"tslint": "^5.20.1",
7678
"tslint-config-airbnb": "^5.11.2",

stricter.config.js

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,22 @@ module.exports = {
66
level: 'error',
77
config: {
88
entry: [
9-
/.*[\\/]src[\\/]index\.ts/,
9+
/.*[\\\/]src[\\\/]index\.ts/,
1010
/.*__snapshots__.*/,
1111
/.*__fixtures__.*/,
1212
],
1313
relatedEntry: [
1414
/.*test\.ts/,
15-
/.*[\\/]src[\\/]start-debug\.ts/,
15+
/.*[\\\/]src[\\\/]start-debug\.ts/,
1616
]
1717
}
1818
}],
19+
'stricter/circular-dependencies': [{
20+
level: 'error',
21+
exclude: [/integration-tests[\\\/].*/],
22+
config: {
23+
checkSubTreeCycle: true,
24+
}
25+
}]
1926
}
2027
}

yarn.lock

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1185,7 +1185,7 @@ acorn@^7.1.0:
11851185
resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.1.0.tgz#949d36f2c292535da602283586c2477c57eb2d6c"
11861186
integrity sha512-kL5CuoXA/dgxlBbVrflsflzQ3PAas7RYZB52NOm/6839iVYJgKMJ3cQJD+t2i5+qFa8h3MDpEOJiS64E8JLnSQ==
11871187

1188-
ajv@^6.11.0:
1188+
ajv@^6.10.2, ajv@^6.11.0:
11891189
version "6.11.0"
11901190
resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.11.0.tgz#c3607cbc8ae392d8a5a536f25b21f8e5f3f87fe9"
11911191
integrity sha512-nCprB/0syFYy9fVYU1ox1l2KN8S9I+tziH8D4zdZuLT3N6RMlGSGt5FSTpAiHB/Whv8Qs1cWHma1aMKZyaHRKA==
@@ -4662,6 +4662,31 @@ stealthy-require@^1.1.0:
46624662
resolved "https://registry.yarnpkg.com/stealthy-require/-/stealthy-require-1.1.1.tgz#35b09875b4ff49f26a777e509b3090a3226bf24b"
46634663
integrity sha1-NbCYdbT/SfJqd35QmzCQoyJr8ks=
46644664

4665+
stricter@^0.4.0:
4666+
version "0.4.0"
4667+
resolved "https://registry.yarnpkg.com/stricter/-/stricter-0.4.0.tgz#55d04f0930121c1b8f63751ac893b145fa4c6561"
4668+
integrity sha512-OJqyvdKeL0HTk0vUmguA6sKw+LcUaJT7N8SuYr38c5kP0J09WUe9TMvtobQ24In7IQlBSClPfKyQQZb6ht09PA==
4669+
dependencies:
4670+
"@babel/core" "^7.8.3"
4671+
"@babel/parser" "^7.8.3"
4672+
"@wojtekmaj/babylon-walk" "2.0.0"
4673+
ajv "^6.10.2"
4674+
app-root-path "^3.0.0"
4675+
chalk "^3.0.0"
4676+
debug "^4.1.1"
4677+
enhanced-resolve "^4.1.1"
4678+
fast-glob "^3.1.1"
4679+
file-system-cache "^1.0.5"
4680+
find-cache-dir "^3.2.0"
4681+
graphlib "^2.1.8"
4682+
graphlib-dot "^0.6.4"
4683+
is-ci "^2.0.0"
4684+
micromatch "^4.0.2"
4685+
rimraf "^3.0.0"
4686+
xml-escape "^1.1.0"
4687+
xxhashjs "^0.2.2"
4688+
yargs "^15.1.0"
4689+
46654690
string-length@^2.0.0:
46664691
version "2.0.0"
46674692
resolved "https://registry.yarnpkg.com/string-length/-/string-length-2.0.0.tgz#d40dbb686a3ace960c1cffca562bf2c45f8363ed"

0 commit comments

Comments
 (0)