@cenk1cenk2/eslint-config 3.0.2 → 3.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/index.js +16 -0
- package/package.json +4 -4
- package/typescript.js +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [3.0.4](https://gitlab.kilic.dev/config/eslint-config/compare/v3.0.3...v3.0.4) (2024-10-18)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* update typescript plug ([7d71ffe](https://gitlab.kilic.dev/config/eslint-config/commit/7d71ffe0abc9c832aed25e10daf01cf084881e9a))
|
|
7
|
+
|
|
8
|
+
## [3.0.3](https://gitlab.kilic.dev/config/eslint-config/compare/v3.0.2...v3.0.3) (2024-10-18)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* update configuratipn ([d5c8d5d](https://gitlab.kilic.dev/config/eslint-config/commit/d5c8d5de557bf6584701ad9e4c3a48cd6e655e68))
|
|
14
|
+
|
|
1
15
|
## [3.0.2](https://gitlab.kilic.dev/config/eslint-config/compare/v3.0.1...v3.0.2) (2024-10-18)
|
|
2
16
|
|
|
3
17
|
|
package/index.js
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import ConfigBase from './base.js'
|
|
2
|
+
import ConfigImport from './import.js'
|
|
3
|
+
import ConfigImportStrict from './import-strict.js'
|
|
4
|
+
import ConfigTypescript from './typescript.js'
|
|
5
|
+
import ConfigTypescriptDynamic from './typescript-dynamic.js'
|
|
6
|
+
import * as utils from './utils.js'
|
|
7
|
+
|
|
8
|
+
export const configs = {
|
|
9
|
+
['js']: ConfigBase,
|
|
10
|
+
['import']: ConfigImport,
|
|
11
|
+
['import-strict']: ConfigImportStrict,
|
|
12
|
+
['typescript']: ConfigTypescript,
|
|
13
|
+
['typescript-dynamic']: ConfigTypescriptDynamic
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export { utils }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cenk1cenk2/eslint-config",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.4",
|
|
4
4
|
"description": "Eslint configuration for my taste.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"repository": "git@gitlab.kilic.dev:config/eslint-config.git",
|
|
@@ -8,8 +8,7 @@
|
|
|
8
8
|
"license": "MIT",
|
|
9
9
|
"type": "module",
|
|
10
10
|
"exports": {
|
|
11
|
-
".": "./
|
|
12
|
-
"./*": "./*.js"
|
|
11
|
+
".": "./index.js"
|
|
13
12
|
},
|
|
14
13
|
"scripts": {
|
|
15
14
|
"format": "prettier --log-level warn --write ./*.js && eslint --fix",
|
|
@@ -64,7 +63,8 @@
|
|
|
64
63
|
"@typescript-eslint/eslint-plugin": "^8.10.0",
|
|
65
64
|
"@typescript-eslint/parser": "^8.10.0",
|
|
66
65
|
"eslint-plugin-import": "^2.31.0",
|
|
67
|
-
"load-tsconfig": "^0.2.5"
|
|
66
|
+
"load-tsconfig": "^0.2.5",
|
|
67
|
+
"typescript-eslint": "^8.10.0"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
70
|
"@cenk1cenk2/cz-cc": "^1.7.11",
|
package/typescript.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import StylisticPlugin from '@stylistic/eslint-plugin'
|
|
2
2
|
import TypescriptEslintPlugin from '@typescript-eslint/eslint-plugin'
|
|
3
|
-
|
|
3
|
+
import TypescriptEslint from 'typescript-eslint'
|
|
4
4
|
import base from './base.js'
|
|
5
5
|
|
|
6
6
|
/** @type {import("eslint").Linter.Config[]} */
|
|
7
7
|
export default [
|
|
8
8
|
...base,
|
|
9
|
+
...TypescriptEslint.configs.recommended,
|
|
9
10
|
{
|
|
10
11
|
files: ['**/*.ts', '**/*.mjs', '**/*.cjs', '**/*.tsx', '**/*.svelte', '**/*.vue'],
|
|
11
12
|
plugins: {
|
|
12
13
|
stylestic: StylisticPlugin,
|
|
13
14
|
'@typescript-eslint': TypescriptEslintPlugin
|
|
14
15
|
},
|
|
15
|
-
extends: ['plugin:@typescript-eslint/eslint-recommended', 'plugin:@typescript-eslint/recommended'],
|
|
16
16
|
parserOptions: {},
|
|
17
17
|
rules: {
|
|
18
18
|
// this is a bit buggy at the moment
|