mirror of
https://github.com/scratchfoundation/scratch-semantic-release-config.git
synced 2025-06-04 01:05:47 -04:00
style: use eslint-config-scratch
This commit is contained in:
parent
3f577db491
commit
6c29ff243e
4 changed files with 3343 additions and 14 deletions
3
.eslintrc.js
Normal file
3
.eslintrc.js
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
module.exports = {
|
||||||
|
extends: ['scratch', 'scratch/es6']
|
||||||
|
};
|
3323
package-lock.json
generated
3323
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -9,7 +9,7 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"commit": "git-cz",
|
"commit": "git-cz",
|
||||||
"prepare": "husky install",
|
"prepare": "husky install",
|
||||||
"test": ""
|
"test": "eslint ."
|
||||||
},
|
},
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"access": "public"
|
"access": "public"
|
||||||
|
@ -52,6 +52,8 @@
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@commitlint/cli": "17.0.1",
|
"@commitlint/cli": "17.0.1",
|
||||||
"@commitlint/config-conventional": "17.0.0",
|
"@commitlint/config-conventional": "17.0.0",
|
||||||
|
"eslint": "8.16.0",
|
||||||
|
"eslint-config-scratch": "8.0.0",
|
||||||
"husky": "8.0.1",
|
"husky": "8.0.1",
|
||||||
"semantic-release": "19.0.2"
|
"semantic-release": "19.0.2"
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,31 +1,32 @@
|
||||||
module.exports = {
|
module.exports = {
|
||||||
"branches": ["main"],
|
branches: ['main'],
|
||||||
"plugins": [
|
plugins: [
|
||||||
"@semantic-release/commit-analyzer",
|
'@semantic-release/commit-analyzer',
|
||||||
"@semantic-release/release-notes-generator",
|
'@semantic-release/release-notes-generator',
|
||||||
[
|
[
|
||||||
"@semantic-release/changelog",
|
'@semantic-release/changelog',
|
||||||
{
|
{
|
||||||
"changelogTitle": "# Changelog\n\nAll notable changes to this project will be documented in this file. See\n[Conventional Commits](https://conventionalcommits.org) for commit guidelines."
|
changelogTitle: '# Changelog\n\nAll notable changes to this project will be documented in this file. See\n[Conventional Commits](https://conventionalcommits.org) for commit guidelines.'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"@semantic-release/git",
|
'@semantic-release/git',
|
||||||
{
|
{
|
||||||
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
|
// eslint-disable-next-line no-template-curly-in-string
|
||||||
|
message: 'chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"@semantic-release/npm",
|
'@semantic-release/npm',
|
||||||
{
|
{
|
||||||
"tarballDir": "pack"
|
tarballDir: 'pack'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"@semantic-release/github",
|
'@semantic-release/github',
|
||||||
{
|
{
|
||||||
"assets": "pack/*.tgz"
|
assets: 'pack/*.tgz'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
],
|
]
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue