Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v0.16.0: Removed the legacy configuration files #91

Merged
merged 4 commits into from
Aug 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,6 @@ $RECYCLE.BIN/
# Built files
packages/commitlint-config/.commitlintrc.json
packages/cspell-config/cspell.config.json
packages/eslint-config-*/.eslintrc.json
packages/lint-staged-config/lint-staged.config.json
packages/markdownlint-config/.markdownlint.json
packages/prettier-config/.prettierrc.json
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kurone-kito/lints-config",
"version": "0.15.0",
"version": "0.16.0",
"private": true,
"description": "My configuration for the ESLint / Prettier / TypeScript",
"keywords": [
Expand Down Expand Up @@ -52,7 +52,7 @@
"devDependencies": {
"@commitlint/cli": "^19.4.0",
"@commitlint/config-conventional": "^19.2.2",
"@cspell/cspell-types": "^8.13.3",
"@cspell/cspell-types": "^8.14.1",
"@kurone-kito/commitlint-config": "workspace:^",
"@kurone-kito/cspell-config": "workspace:^",
"@kurone-kito/eslint-config-base": "workspace:^",
Expand All @@ -62,10 +62,10 @@
"@kurone-kito/prettier-config": "workspace:^",
"@kurone-kito/typescript-config": "workspace:^",
"@types/eslint": "^9.6.0",
"@typescript-eslint/parser": "^8.1.0",
"@typescript-eslint/parser": "^8.2.0",
"@yarnpkg/sdks": "^3.2.0",
"concurrently": "^8.2.2",
"cspell": "^8.13.3",
"cspell": "^8.14.1",
"eslint": "^9.9.0",
"eslint-formatter-codeframe": "^7.32.1",
"husky": "^9.1.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/commitlint-config/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kurone-kito/commitlint-config",
"version": "0.15.0",
"version": "0.16.0",
"description": "My commitlint configuration for general projects",
"keywords": [
"commitlint",
Expand Down
2 changes: 1 addition & 1 deletion 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.15.0",
"version": "0.16.0",
"description": "My CSpell configuration for general projects",
"keywords": [
"config",
Expand Down
143 changes: 0 additions & 143 deletions packages/eslint-config-base/.eslintrc.yml

This file was deleted.

15 changes: 3 additions & 12 deletions packages/eslint-config-base/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,14 @@ export { default } from '@kurone-kito/eslint-config-base';

### for legacy configuration (deprecated)

⚠️ **DEPRECATED**: The legacy configuration is no longer maintained.
⚠️ **DEPRECATED**: The legacy configuration is removed.
When you prefer to use the legacy configuration, please use the previous version.

First, install this package and its peer dependencies:

```sh
npm install --save-dev \
@kurone-kito/eslint-config-base \
@kurone-kito/eslint-config-base@~0.15.0 \
@cspell/eslint-plugin \
eslint \
eslint-config-airbnb-typescript \
Expand All @@ -48,16 +49,6 @@ extends:
root: true
```

### ⚠️ Migration warning

Starting with the next version, the default export file will move to the
**Flat Config** format. Therefore, you can still use the existing
configuration by explicitly specifying `.eslintrc.yml` or `.eslintrc.json`
for import. (See the above example)

Also, from 0.16.0 onwards, we'll support only the Flat Config format and
remove the traditional configuration files.

## License

MIT
100 changes: 9 additions & 91 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.15.0",
"version": "0.16.0",
"description": "My ESLint configuration for general Node.js projects",
"keywords": [
"config",
Expand All @@ -18,34 +18,26 @@
"license": "MIT",
"author": "kurone-kito <[email protected]> (https://kit.black/)",
"type": "module",
"exports": {
".": "./dist/index.mjs",
"./index.d.mts": "./dist/index.d.mts",
"./.eslintrc.json": "./.eslintrc.json",
"./.eslintrc.yml": "./.eslintrc.yml"
},
"main": "./dist/index.mjs",
"types": "./dist/index.d.mts",
"files": [
".eslintrc.*",
"dist"
],
"scripts": {
"build": "conc \"yarn:build:*\"",
"build:json": "js-yaml .eslintrc.yml > .eslintrc.json",
"build:license": "cpy --flat ../../LICENSE .",
"build:ts": "tsc",
"clean": "rimraf -g \"*.tgz\" \"*.tsbuildinfo\" .eslintcache .eslintrc.json dist LICENSE",
"clean": "rimraf -g \"*.tgz\" \"*.tsbuildinfo\" dist LICENSE",
"prepack": "conc -m 1 \"yarn:clean\" \"yarn:build\"",
"start": "tsc --watch"
},
"dependencies": {
"@cspell/eslint-plugin": "^8.13.3",
"@cspell/eslint-plugin": "^8.14.1",
"@eslint/compat": "^1.1.1",
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.9.0",
"@typescript-eslint/eslint-plugin": "^8.1.0",
"@typescript-eslint/parser": "^8.1.0",
"@typescript-eslint/eslint-plugin": "^8.2.0",
"@typescript-eslint/parser": "^8.2.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^18.0.0",
"eslint-config-prettier": "^9.1.0",
Expand All @@ -61,7 +53,7 @@
"eslint-plugin-oxlint": "^0.7.2",
"eslint-plugin-yaml": "^1.0.3",
"globals": "^15.9.0",
"typescript-eslint": "^8.1.0"
"typescript-eslint": "^8.2.0"
},
"devDependencies": {
"@kurone-kito/typescript-config": "workspace:^",
Expand All @@ -70,90 +62,16 @@
"@types/eslint-plugin-markdown": "^2.0.2",
"@types/eslint__eslintrc": "^2.1.2",
"@types/eslint__js": "^8.42.3",
"@types/node": "^22.4.0",
"@typescript-eslint/utils": "^8.1.0",
"@types/node": "^22.4.1",
"@typescript-eslint/utils": "^8.2.0",
"concurrently": "^8.2.2",
"cpy-cli": "^5.0.0",
"eslint": "^9.9.0",
"eslint-formatter-codeframe": "^7.32.1",
"js-yaml": "^4.1.0",
"rimraf": "^5.0.10",
"typescript": "~5.5.4"
},
"peerDependencies": {
"@cspell/eslint-plugin": ">=8.13.1",
"@typescript-eslint/eslint-plugin": ">=8.x.x",
"@typescript-eslint/parser": ">=8.x.x",
"eslint": ">=9.x.x",
"eslint-config-airbnb-typescript": ">=18.x.x",
"eslint-config-prettier": ">=9.1.x",
"eslint-import-resolver-node": ">=0.3.9",
"eslint-import-resolver-typescript": ">=3.6.1",
"eslint-plugin-editorconfig": ">=4.0.3",
"eslint-plugin-import": ">=2.29.1",
"eslint-plugin-jsdoc": ">=48.11.x",
"eslint-plugin-json": ">=4.x.x",
"eslint-plugin-markdown": ">=5.1.x",
"eslint-plugin-markdownlint": ">=0.6.x",
"eslint-plugin-n": ">=17.10.1",
"eslint-plugin-oxlint": ">=0.5.x",
"eslint-plugin-yaml": ">=1.0.3"
},
"peerDependenciesMeta": {
"@cspell/eslint-plugin": {
"optional": true
},
"@typescript-eslint/eslint-plugin": {
"optional": true
},
"@typescript-eslint/parser": {
"optional": true
},
"eslint": {
"optional": true
},
"eslint-config-airbnb-typescript": {
"optional": true
},
"eslint-config-prettier": {
"optional": true
},
"eslint-formatter-codeframe": {
"optional": true
},
"eslint-import-resolver-node": {
"optional": true
},
"eslint-import-resolver-typescript": {
"optional": true
},
"eslint-plugin-editorconfig": {
"optional": true
},
"eslint-plugin-import": {
"optional": true
},
"eslint-plugin-jsdoc": {
"optional": true
},
"eslint-plugin-json": {
"optional": true
},
"eslint-plugin-markdown": {
"optional": true
},
"eslint-plugin-markdownlint": {
"optional": true
},
"eslint-plugin-n": {
"optional": true
},
"eslint-plugin-oxlint": {
"optional": true
},
"eslint-plugin-yaml": {
"optional": true
}
"eslint": ">=9.x.x"
},
"engines": {
"node": ">=18"
Expand Down
Loading
Loading