@ethang/eslint-config 15.0.0 → 15.0.1

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/README.md CHANGED
@@ -11,7 +11,7 @@
11
11
 
12
12
  # Install
13
13
 
14
- `pnpm|yarn|npm install eslint-config-ethang`
14
+ `{your package manager install} @ethang/eslint-config`
15
15
 
16
16
  **Requires TypesScript and tsconfig.json at root directory.**
17
17
 
package/build.mjs CHANGED
@@ -1,10 +1,7 @@
1
1
  // @ts-check
2
- /* eslint-disable @typescript-eslint/no-unsafe-call,@typescript-eslint/no-unsafe-member-access */
3
- import * as fs from "node:fs";
2
+ /* eslint-disable @typescript-eslint/no-unsafe-call */
4
3
  import { projectBuilder } from "@ethang/project-builder/project-builder.js";
5
4
 
6
- fs.copyFileSync("index.js", "eslint.config.js");
7
-
8
5
  await projectBuilder("eslint-config-ethang", "master", {
9
6
  isLibrary: true,
10
7
  postVersionBumpScripts: ["DEDUPE", "LINT"],
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@ethang/eslint-config",
3
- "version": "15.0.0",
3
+ "version": "15.0.1",
4
4
  "repository": {
5
5
  "url": "git+https://github.com/eglove/eslint-config-ethang.git"
6
6
  },
7
- "main": "index.js",
7
+ "main": "eslint.config.js",
8
8
  "scripts": {
9
9
  "lint": "eslint --fix",
10
10
  "build": "node build.mjs"
package/index.js DELETED
@@ -1,23 +0,0 @@
1
- /* eslint-disable @typescript-eslint/no-unsafe-assignment,@typescript-eslint/no-unsafe-member-access,@typescript-eslint/no-unsafe-call */
2
- import eslint from "@eslint/js";
3
- import eslintConfigPrettier from "eslint-config-prettier";
4
- import eslintPluginPrettier from "eslint-plugin-prettier/recommended";
5
- import eslintPluginUnicorn from "eslint-plugin-unicorn";
6
- import tseslint from "typescript-eslint";
7
-
8
- export default tseslint.config(
9
- eslint.configs.all,
10
- ...tseslint.configs.strictTypeChecked,
11
- ...tseslint.configs.stylisticTypeChecked,
12
- eslintPluginUnicorn.configs["flat/all"],
13
- eslintConfigPrettier,
14
- eslintPluginPrettier,
15
- {
16
- languageOptions: {
17
- parserOptions: {
18
- project: true,
19
- tsconfigRootDir: import.meta.dirname,
20
- },
21
- },
22
- },
23
- );