Skip to content

Commit

Permalink
Merge pull request #56 from kurone-kito/maintenance
Browse files Browse the repository at this point in the history
v0.8.0: Added support for Node.js v21, and improving ESLint and CSpell configuration
  • Loading branch information
kurone-kito authored Oct 21, 2023
2 parents 5d36bae + e85b16f commit e4c03a1
Show file tree
Hide file tree
Showing 14 changed files with 685 additions and 605 deletions.
1 change: 1 addition & 0 deletions .github/workflows/push-feature.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ jobs:
node-version:
- 18.x
- 20.x
- 21.x
platform:
- os: ubuntu-latest
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .node-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.18.0
18.18.2
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
18.18.0
18.18.2
lts/hydrogen
node
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nodejs 18.18.0 ref:v18.18.0 lts-hydrogen lts latest system
nodejs 18.18.2 ref:v18.18.2 lts-hydrogen lts latest system
2 changes: 1 addition & 1 deletion .yarn/sdks/eslint/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint",
"version": "8.50.0-sdk",
"version": "8.52.0-sdk",
"main": "./lib/api.js",
"type": "commonjs"
}
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kurone-kito/lints-config",
"version": "0.7.6",
"version": "0.8.0",
"private": true,
"description": "My configuration for the ESLint / Prettier / TypeScript",
"keywords": [
Expand Down Expand Up @@ -45,22 +45,22 @@
},
"prettier": "@kurone-kito/prettier-config",
"devDependencies": {
"@commitlint/cli": "^17.7.2",
"@commitlint/config-conventional": "^17.7.0",
"@cspell/cspell-types": "^7.3.7",
"@cspell/eslint-plugin": "^7.3.7",
"@commitlint/cli": "^18.0.0",
"@commitlint/config-conventional": "^18.0.0",
"@cspell/cspell-types": "^7.3.8",
"@cspell/eslint-plugin": "^7.3.8",
"@kurone-kito/cspell-config": "workspace:*",
"@kurone-kito/eslint-config-base": "workspace:*",
"@kurone-kito/eslint-config-react": "workspace:*",
"@kurone-kito/prettier-config": "workspace:*",
"@kurone-kito/typescript-config": "workspace:*",
"@typescript-eslint/eslint-plugin": "^6.7.4",
"@typescript-eslint/parser": "^6.7.4",
"@typescript-eslint/eslint-plugin": "^6.8.0",
"@typescript-eslint/parser": "^6.8.0",
"@yarnpkg/sdks": "^3.0.0-rc.53",
"aicommits": "^1.11.0",
"concurrently": "^8.2.1",
"cspell": "^7.3.7",
"eslint": "^8.50.0",
"concurrently": "^8.2.2",
"cspell": "^7.3.8",
"eslint": "^8.52.0",
"eslint-config-airbnb-typescript": "^17.1.0",
"eslint-config-prettier": "^9.0.0",
"eslint-formatter-codeframe": "^7.32.1",
Expand All @@ -76,7 +76,7 @@
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-yaml": "^0.5.0",
"husky": "^8.0.3",
"lint-staged": "^14.0.1",
"lint-staged": "^15.0.2",
"prettier": "^3.0.3",
"rimraf": "^5.0.5",
"typescript": "~5.2.2",
Expand Down
7 changes: 7 additions & 0 deletions packages/cspell-config/cspell.config.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
allowCompoundWords: true
dictionaries:
- bash
- companies
- cpp
- en_US
- filetypes
- git
- misc
- node
- npm
- softwareTerms
- typescript
enableGlobDot: true
features:
Expand Down
8 changes: 4 additions & 4 deletions packages/cspell-config/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kurone-kito/cspell-config",
"version": "0.7.6",
"version": "0.8.0",
"description": "My CSpell configuration for general projects",
"keywords": [
"config",
Expand Down Expand Up @@ -40,10 +40,10 @@
"prepack": "conc -m 1 \"yarn:clean\" \"yarn:build\""
},
"devDependencies": {
"@cspell/cspell-types": "^7.3.7",
"concurrently": "^8.2.1",
"@cspell/cspell-types": "^7.3.8",
"concurrently": "^8.2.2",
"cpy-cli": "^5.0.0",
"cspell": "^7.3.7",
"cspell": "^7.3.8",
"js-yaml": "^4.1.0",
"rimraf": "^5.0.5"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/eslint-config-base/.eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,14 @@ overrides:
# scope of transpiling, such as in various configuration files,
# making the `import` syntax challenging to use.
'@typescript-eslint/explicit-module-boundary-types': 'off'
parser: '@typescript-eslint/parser'
parserOptions:
ecmaFeatures:
impliedStrict: true
ecmaVersion: 2022
extraFileExtensions:
- .json
project:
- tsconfig.json
sourceType: module
rules:
# With a warning, allow use standard import syntax to import for type-
# only. The default is to enable it unconditionally. Tree shaking at
Expand Down Expand Up @@ -86,6 +85,7 @@ rules:
import/no-extraneous-dependencies:
- error
- devDependencies:
- '**/*.config.?([cm])[jt]s'
- '**/*.spec.?([cm])[jt]s'
- '**/*.test.?([cm])[jt]s'
- '**/jest.*.?([cm])[jt]s'
Expand Down
12 changes: 6 additions & 6 deletions packages/eslint-config-base/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kurone-kito/eslint-config-base",
"version": "0.7.6",
"version": "0.8.0",
"description": "My ESLint configuration for general Node.js projects",
"keywords": [
"config",
Expand Down Expand Up @@ -36,13 +36,13 @@
},
"prettier": "@kurone-kito/prettier-config",
"devDependencies": {
"@cspell/eslint-plugin": "^7.3.7",
"@cspell/eslint-plugin": "^7.3.8",
"@kurone-kito/prettier-config": "workspace:*",
"@typescript-eslint/eslint-plugin": "^6.7.4",
"@typescript-eslint/parser": "^6.7.4",
"concurrently": "^8.2.1",
"@typescript-eslint/eslint-plugin": "^6.8.0",
"@typescript-eslint/parser": "^6.8.0",
"concurrently": "^8.2.2",
"cpy-cli": "^5.0.0",
"eslint": "^8.50.0",
"eslint": "^8.52.0",
"eslint-config-airbnb-typescript": "^17.1.0",
"eslint-config-prettier": "^9.0.0",
"eslint-formatter-codeframe": "^7.32.1",
Expand Down
14 changes: 7 additions & 7 deletions packages/eslint-config-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kurone-kito/eslint-config-react",
"version": "0.7.6",
"version": "0.8.0",
"description": "My ESLint configuration for React projects",
"keywords": [
"config",
Expand Down Expand Up @@ -40,13 +40,13 @@
"@kurone-kito/eslint-config-base": "workspace:*"
},
"devDependencies": {
"@cspell/eslint-plugin": "^7.3.7",
"@cspell/eslint-plugin": "^7.3.8",
"@kurone-kito/prettier-config": "workspace:*",
"@typescript-eslint/eslint-plugin": "^6.7.4",
"@typescript-eslint/parser": "^6.7.4",
"concurrently": "^8.2.1",
"@typescript-eslint/eslint-plugin": "^6.8.0",
"@typescript-eslint/parser": "^6.8.0",
"concurrently": "^8.2.2",
"cpy-cli": "^5.0.0",
"eslint": "^8.50.0",
"eslint": "^8.52.0",
"eslint-config-airbnb-typescript": "^17.1.0",
"eslint-config-prettier": "^9.0.0",
"eslint-formatter-codeframe": "^7.32.1",
Expand All @@ -62,7 +62,7 @@
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-storybook": "^0.6.14",
"eslint-plugin-storybook": "^0.6.15",
"eslint-plugin-yaml": "^0.5.0",
"js-yaml": "^4.1.0",
"prettier": "^3.0.3",
Expand Down
4 changes: 2 additions & 2 deletions packages/prettier-config/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kurone-kito/prettier-config",
"version": "0.7.6",
"version": "0.8.0",
"description": "My Prettier configuration for general projects",
"keywords": [
"config",
Expand Down Expand Up @@ -38,7 +38,7 @@
"prettier": "prettier --cache --loglevel=warn \"$@\" \"./**/*\""
},
"devDependencies": {
"concurrently": "^8.2.1",
"concurrently": "^8.2.2",
"cpy-cli": "^5.0.0",
"js-yaml": "^4.1.0",
"prettier": "^3.0.3",
Expand Down
6 changes: 3 additions & 3 deletions packages/typescript-config/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kurone-kito/typescript-config",
"version": "0.7.6",
"version": "0.8.0",
"description": "My TypeScript configuration for general projects",
"keywords": [
"config",
Expand Down Expand Up @@ -33,9 +33,9 @@
"prettier": "@kurone-kito/prettier-config",
"devDependencies": {
"@kurone-kito/prettier-config": "workspace:*",
"@typescript-eslint/parser": "^6.7.4",
"@typescript-eslint/parser": "^6.8.0",
"cpy-cli": "^5.0.0",
"eslint": "^8.50.0",
"eslint": "^8.52.0",
"prettier": "^3.0.3",
"typescript": "~5.2.2",
"typescript-eslint-language-service": "^5.0.5"
Expand Down
Loading

0 comments on commit e4c03a1

Please sign in to comment.