Skip to content

Commit

Permalink
Release (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
capitnflam authored Mar 21, 2024
2 parents b56b29a + ddbf60e commit 65c7bba
Show file tree
Hide file tree
Showing 4 changed files with 90 additions and 22 deletions.
98 changes: 78 additions & 20 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@
"@commitlint/cli": "19.2.0",
"@commitlint/config-conventional": "19.1.0",
"@commitlint/types": "19.0.3",
"@flaminc/semantic-release-configs": "1.0.0",
"@types/eslint": "8.56.5",
"@types/node": "20.11.28",
"husky": "9.0.11",
"lint-staged": "15.2.2",
"prettier": "3.2.5",
"rimraf": "5.0.5",
"semantic-release": "23.0.3",
"semantic-release-npm-github-publish": "1.5.5",
"syncpack": "12.3.0",
"typescript": "5.4.2"
},
Expand Down
2 changes: 1 addition & 1 deletion release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
* @type {import('semantic-release').Options}
*/
module.exports = {
extends: ['semantic-release-npm-github-publish'],
extends: ['@flaminc/semantic-release-configs/npm-github-publish'],
branches: ['main'],
}
10 changes: 10 additions & 0 deletions src/configs/recommended.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ export const recommended: ESLintConfig = {
warnOnUnassignedImports: true,
},
],
'unicorn/no-array-reduce': 'off',
'unicorn/no-null': 'off',
'unicorn/prefer-top-level-await': 'off',
'unicorn/prefer-string-replace-all': 'off',
},
overrides: [
{
Expand All @@ -63,5 +67,11 @@ export const recommended: ESLintConfig = {
},
},
},
{
files: ['*.js'],
rules: {
'unicorn/prefer-module': 'off',
},
},
],
}

0 comments on commit 65c7bba

Please sign in to comment.