Skip to content

Commit

Permalink
chore: 🔧 update config files
Browse files Browse the repository at this point in the history
  • Loading branch information
HofmannZ committed Apr 30, 2023
1 parent a129b3f commit 195a171
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 49 deletions.
44 changes: 22 additions & 22 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,49 +1,49 @@
module.exports = {
root: true,
parser: "@typescript-eslint/parser",
parser: '@typescript-eslint/parser',
extends: [
"airbnb-base",
"plugin:@typescript-eslint/recommended",
"prettier",
"plugin:prettier/recommended",
'airbnb-base',
'plugin:@typescript-eslint/recommended',
'prettier',
'plugin:prettier/recommended',
],
parserOptions: {
ecmaVersion: 2020,
sourceType: "module",
sourceType: 'module',
},
env: {
node: true,
jest: true,
},
rules: {
"eol-last": ["error", "always"],
"no-plusplus": ["error", { allowForLoopAfterthoughts: true }],
"import/extensions": ["off"],
"import/prefer-default-export": ["off"],
"simple-import-sort/imports": "warn",
"simple-import-sort/exports": "warn",
"@typescript-eslint/no-empty-interface": ["off"],
"@typescript-eslint/explicit-function-return-type": ["off"],
'eol-last': ['error', 'always'],
'no-plusplus': ['error', { allowForLoopAfterthoughts: true }],
'import/extensions': ['off'],
'import/prefer-default-export': ['off'],
'simple-import-sort/imports': 'warn',
'simple-import-sort/exports': 'warn',
'@typescript-eslint/no-empty-interface': ['off'],
'@typescript-eslint/explicit-function-return-type': ['off'],
},
overrides: [
{
files: ["src/__mocks__/.*", "**/*.spec.ts"],
files: ['src/__mocks__/.*', '**/*.spec.ts'],
rules: {
"import/no-extraneous-dependencies": [
"error",
'import/no-extraneous-dependencies': [
'error',
{ devDependencies: true },
],
"@typescript-eslint/no-empty-function": ["off"],
"@typescript-eslint/no-non-null-assertion": ["off"],
'@typescript-eslint/no-empty-function': ['off'],
'@typescript-eslint/no-non-null-assertion': ['off'],
},
},
],
settings: {
"import/resolver": {
'import/resolver': {
node: {
extensions: [".js", ".ts"],
extensions: ['.js', '.ts'],
},
},
},
plugins: ["simple-import-sort"],
plugins: ['simple-import-sort'],
};
52 changes: 26 additions & 26 deletions .releaserc.yaml
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
branches:
- main
- name: development
prerelease: alpha
channel: alpha
- main
- name: development
prerelease: alpha
channel: alpha

plugins:
- - "@semantic-release/commit-analyzer"
- preset: angular
releaseRules:
- scope: no-release
release: false
- type: build
release: patch
- type: chore
release: patch
- type: ci
release: false
- type: docs
release: false
- type: style
release: patch
- type: refactor
release: patch
- type: test
release: patch
- - "@semantic-release/release-notes-generator"
- - "@semantic-release/npm"
- - "@semantic-release/github"
- - "@semantic-release/commit-analyzer"
- preset: angular
releaseRules:
- scope: no-release
release: false
- type: build
release: patch
- type: chore
release: patch
- type: ci
release: false
- type: docs
release: false
- type: style
release: patch
- type: refactor
release: patch
- type: test
release: patch
- - "@semantic-release/release-notes-generator"
- - "@semantic-release/npm"
- - "@semantic-release/github"
8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,13 @@
"audit-ci": "audit-ci",
"semantic-release": "semantic-release"
},
"keywords": [],
"keywords": [
"nextjs",
"runtime",
"env",
"runtime env",
"next-runtime-env"
],
"author": "Expatfile.tax LLC",
"license": "MIT",
"repository": {
Expand Down

0 comments on commit 195a171

Please sign in to comment.