mirror of
https://github.com/scratchfoundation/scratch-semantic-release-config.git
synced 2025-02-17 00:20:29 -05: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": {
|
||||
"commit": "git-cz",
|
||||
"prepare": "husky install",
|
||||
"test": ""
|
||||
"test": "eslint ."
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
|
@ -52,6 +52,8 @@
|
|||
"devDependencies": {
|
||||
"@commitlint/cli": "17.0.1",
|
||||
"@commitlint/config-conventional": "17.0.0",
|
||||
"eslint": "8.16.0",
|
||||
"eslint-config-scratch": "8.0.0",
|
||||
"husky": "8.0.1",
|
||||
"semantic-release": "19.0.2"
|
||||
}
|
||||
|
|
|
@ -1,31 +1,32 @@
|
|||
module.exports = {
|
||||
"branches": ["main"],
|
||||
"plugins": [
|
||||
"@semantic-release/commit-analyzer",
|
||||
"@semantic-release/release-notes-generator",
|
||||
branches: ['main'],
|
||||
plugins: [
|
||||
'@semantic-release/commit-analyzer',
|
||||
'@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…
Reference in a new issue