Skip to content

Commit c89d11e

Browse files
committed
chore(package): move all settings to external files [skip ci]
1 parent 3854eb1 commit c89d11e

9 files changed

+46
-49
lines changed

.commitlintrc.json

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"extends": [
3+
"@commitlint/config-conventional"
4+
]
5+
}

.eslintignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
coverage

.eslintrc.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"extends": "@eclass"
3+
}

.huskyrc.json

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"hooks": {
3+
"pre-commit": "lint-staged",
4+
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
5+
}
6+
}

.lintstagedrc.json

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"{src,test}/**/*.js": [
3+
"eslint --fix",
4+
"prettier-standard"
5+
]
6+
}

.nycrc.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"extends": "nyc-config-common"
3+
}

.releaserc.json

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"extends": "@eclass/semantic-release-npm-github-config",
3+
"plugins": [
4+
"@semantic-release/commit-analyzer",
5+
"@semantic-release/release-notes-generator",
6+
"@semantic-release/changelog",
7+
[
8+
"@semantic-release/npm",
9+
{
10+
"npmPublish": false
11+
}
12+
],
13+
"@semantic-release/git",
14+
"@semantic-release/github"
15+
]
16+
}

.renovaterc.json

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"automerge": "minor",
3+
"extends": [
4+
"config:js-lib"
5+
]
6+
}

package.json

-49
Original file line numberDiff line numberDiff line change
@@ -62,54 +62,5 @@
6262
},
6363
"peerDependencies": {
6464
"semantic-release": ">=11.0.0 <18.0.0"
65-
},
66-
"eslintConfig": {
67-
"extends": "@eclass"
68-
},
69-
"eslintIgnore": [
70-
"coverage"
71-
],
72-
"husky": {
73-
"hooks": {
74-
"pre-commit": "lint-staged",
75-
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
76-
}
77-
},
78-
"lint-staged": {
79-
"{src,test}/**/*.js": [
80-
"eslint --fix",
81-
"prettier-standard",
82-
"git add"
83-
]
84-
},
85-
"commitlint": {
86-
"extends": [
87-
"@commitlint/config-conventional"
88-
]
89-
},
90-
"renovate": {
91-
"automerge": "minor",
92-
"extends": [
93-
"config:js-lib"
94-
]
95-
},
96-
"release": {
97-
"extends": "@eclass/semantic-release-npm-github-config",
98-
"plugins": [
99-
"@semantic-release/commit-analyzer",
100-
"@semantic-release/release-notes-generator",
101-
"@semantic-release/changelog",
102-
[
103-
"@semantic-release/npm",
104-
{
105-
"npmPublish": false
106-
}
107-
],
108-
"@semantic-release/git",
109-
"@semantic-release/github"
110-
]
111-
},
112-
"nyc": {
113-
"extends": "nyc-config-common"
11465
}
11566
}

0 commit comments

Comments
 (0)