@chris.araneo/eslint-config 0.0.3 → 0.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/README.md ADDED
@@ -0,0 +1 @@
1
+ # @chris.araneo/eslint-config
package/package.json CHANGED
@@ -1,41 +1,30 @@
1
1
  {
2
2
  "name": "@chris.araneo/eslint-config",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "description": "",
5
- "keywords": [],
5
+ "keywords": [
6
+ "eslint",
7
+ "typescript",
8
+ "angular"
9
+ ],
10
+ "homepage": "https://github.com/ChrisAraneo/eslint-config",
11
+ "bugs": {
12
+ "url": "https://github.com/ChrisAraneo/eslint-config/issues"
13
+ },
6
14
  "license": "MIT",
7
15
  "author": "Krzysztof Pająk (Chris Araneo) <chris.araneo@gmail.com>",
8
- "main": "./dist/index.js",
9
- "module": "./dist/index.mjs",
10
- "types": "./dist/index.d.ts",
16
+ "main": "./index.js",
11
17
  "files": [
12
18
  "dist/**"
13
19
  ],
14
20
  "scripts": {
15
- "build": "tsc --build tsconfig.json",
16
- "typecheck": "tsc"
21
+ "format": "npx sort-package-json"
17
22
  },
18
- "devDependencies": {
19
- "@eslint/js": "^9.27.0",
20
- "@humanwhocodes/momoa": "^3.3.8",
23
+ "dependencies": {
21
24
  "angular-eslint": "^19.4.0",
22
25
  "eslint": "^9.27.0",
23
- "eslint-plugin-jsonc": "^2.20.1",
24
- "eslint-plugin-simple-import-sort": "^12.1.1",
25
- "eslint-plugin-unicorn": "^59.0.1",
26
- "jsonc-eslint-parser": "^2.4.0",
27
- "typescript": "^5.8.3",
28
26
  "typescript-eslint": "^8.32.1"
29
27
  },
30
- "peerDependencies": {
31
- "angular-eslint": "^19.4.0",
32
- "eslint": ">= 9.0.0",
33
- "eslint-plugin-jsonc": ">= 2.20.0",
34
- "eslint-plugin-simple-import-sort": ">= 12.0.0",
35
- "eslint-plugin-unicorn": ">= 59.0.0",
36
- "jsonc-eslint-parser": ">= 2.4.0",
37
- "typescript-eslint": ">= 8.0.0"
38
- },
39
28
  "publishConfig": {
40
29
  "access": "public"
41
30
  }
package/dist/index.js DELETED
@@ -1,68 +0,0 @@
1
- import eslint from "@eslint/js";
2
- import tseslint from "typescript-eslint";
3
- import angular from "angular-eslint";
4
- import simpleImportSort from "eslint-plugin-simple-import-sort";
5
- import unicorn from "eslint-plugin-unicorn";
6
- import jsonc from "eslint-plugin-jsonc";
7
- export default tseslint.config({
8
- files: ["**/*.json"],
9
- extends: [...jsonc.configs["flat/recommended-with-jsonc"]],
10
- rules: {
11
- "jsonc/no-comments": "error",
12
- "jsonc/sort-keys": "error",
13
- },
14
- }, {
15
- files: ["src/**/*.{ts,js,mjs,cjs}"],
16
- extends: [
17
- eslint.configs.recommended,
18
- ...tseslint.configs.strictTypeChecked,
19
- ...tseslint.configs.stylistic,
20
- ...angular.configs.tsRecommended,
21
- unicorn.configs.all,
22
- ],
23
- processor: angular.processInlineTemplates,
24
- rules: {
25
- "@angular-eslint/directive-selector": [
26
- "error",
27
- {
28
- type: "attribute",
29
- prefix: "app",
30
- style: "camelCase",
31
- },
32
- ],
33
- "@angular-eslint/component-selector": [
34
- "error",
35
- {
36
- type: "element",
37
- prefix: "app",
38
- style: "kebab-case",
39
- },
40
- ],
41
- "@typescript-eslint/no-extraneous-class": "off",
42
- "unicorn/no-null": "off",
43
- },
44
- }, {
45
- files: ["src/**/*.{ts,js,mjs,cjs}"],
46
- plugins: {
47
- "simple-import-sort": simpleImportSort,
48
- },
49
- rules: {
50
- "simple-import-sort/imports": "error",
51
- "simple-import-sort/exports": "error",
52
- },
53
- }, {
54
- files: ["src/**/*.html"],
55
- extends: [...angular.configs.templateAll],
56
- rules: {},
57
- }, {
58
- ignores: [
59
- "node_modules",
60
- "reports/",
61
- ".stryker-tmp/",
62
- ".angular",
63
- "package.json",
64
- "package-lock.json",
65
- ".nx/workspace-data",
66
- ],
67
- });
68
- //# sourceMappingURL=index.js.map
package/dist/index.js.map D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