Skip to content

Commit aa40571

Browse files
committed
refactor: remove default configurations from various convention files
1 parent 5bbe99a commit aa40571

File tree

10 files changed

+0
-113
lines changed

10 files changed

+0
-113
lines changed

conventions/angular.json

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,6 @@
11
{
22
"id": "angular",
33
"structureRelevant": ["src", "components", "tests", "apps"],
4-
"defaults": {
5-
"tooling": "angular-cli",
6-
"language": "typescript-strict",
7-
"fileStructure": "standalone-first",
8-
"styling": "scss",
9-
"stateManagement": "ngrx-store",
10-
"apiLayer": "httpclient",
11-
"dataFetching": "httpclient",
12-
"reactPerf": "memoHooks"
13-
},
144
"rules": [
155
{
166
"if": { "toolingIncludes": ["nx"] },

conventions/astro.json

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
11
{
22
"id": "astro",
3-
"defaults": {
4-
"tooling": "react",
5-
"dataFetching": "ssg",
6-
"folders": "content-collections",
7-
"collaboration": "vercel",
8-
"reactPerf": "memoHooks"
9-
},
103
"rules": [
114
{
125
"if": { "toolingIncludes": ["vue"] },

conventions/default.json

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -2,30 +2,5 @@
22
"id": "default",
33
"applyToGlob": "**/*.{ts,tsx,js,jsx,md}",
44
"structureRelevant": ["src", "components", "tests", "apps", "packages"],
5-
"defaults": {
6-
"projectPriority": "maintainability",
7-
"codeStyle": "airbnb",
8-
"variableNaming": "camelCase",
9-
"fileNaming": "kebab-case",
10-
"componentNaming": "PascalCase",
11-
"exports": "named",
12-
"comments": "docblocks",
13-
"collaboration": "async",
14-
"fileStructure": "flat",
15-
"styling": "cssmodules",
16-
"stateManagement": "context-hooks",
17-
"apiLayer": "http-client",
18-
"folders": "by-feature",
19-
"dataFetching": "swr",
20-
"reactPerf": "memoHooks",
21-
"auth": "env",
22-
"validation": "zod",
23-
"logging": "structured",
24-
"commitStyle": "conventional",
25-
"prRules": "reviewRequired",
26-
"testingUT": null,
27-
"testingE2E": null,
28-
"tooling": "custom-config"
29-
},
305
"rules": []
316
}

conventions/nextjs.json

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,6 @@
11
{
22
"id": "nextjs",
33
"structureRelevant": ["src", "tests", "apps"],
4-
"defaults": {
5-
"tooling": "create-next-app",
6-
"fileStructure": "app-directory",
7-
"styling": "tailwind",
8-
"stateManagement": "zustand",
9-
"apiLayer": "server-actions",
10-
"dataFetching": "server-components",
11-
"reactPerf": "memoHooks",
12-
"auth": "next-auth"
13-
},
144
"rules": [
155
{
166
"if": { "routingIs": ["pages"] },

conventions/nuxt.json

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,5 @@
11
{
22
"id": "nuxt",
3-
"defaults": {
4-
"tooling": "nuxi",
5-
"dataFetching": "server-side",
6-
"apiLayer": "use-fetch",
7-
"styling": "tailwind",
8-
"folders": "vercel",
9-
"stateManagement": "pinia",
10-
"reactPerf": "memoHooks"
11-
},
123
"rules": [
134
{
145
"if": { "toolingIncludes": ["tailwind"] },

conventions/python.json

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -2,28 +2,6 @@
22
"id": "python",
33
"applyToGlob": "**/*.{py,pyi,md}",
44
"structureRelevant": ["src", "tests", "packages"],
5-
"defaults": {
6-
"tooling": "pip",
7-
"language": "Python",
8-
"variableNaming": "snake_case",
9-
"fileNaming": "snake_case",
10-
"componentNaming": "Not applicable",
11-
"exports": "module exports",
12-
"comments": "docstrings",
13-
"fileStructure": "top-level modules",
14-
"styling": "Not applicable",
15-
"stateManagement": "Not applicable",
16-
"apiLayer": "TODO: document primary framework (FastAPI, Django, Flask, etc.)",
17-
"folders": "by-module",
18-
"dataFetching": "Not applicable",
19-
"reactPerf": "Not applicable",
20-
"testingUT": "pytest",
21-
"testingE2E": "TODO: outline integration / end-to-end coverage",
22-
"auth": "TODO: document auth/session strategy",
23-
"validation": "TODO: specify validation library (Pydantic, Marshmallow, etc.)",
24-
"logging": "TODO: describe logging approach (structlog, stdlib logging)",
25-
"codeStyle": "pep8"
26-
},
275
"rules": [
286
{
297
"if": { "toolingIncludes": ["poetry"] },

conventions/react.json

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
11
{
22
"id": "react",
3-
"defaults": {
4-
"tooling": "vite",
5-
"styling": "cssmodules",
6-
"stateManagement": "context-hooks",
7-
"dataFetching": "swr",
8-
"reactPerf": "memoHooks"
9-
},
103
"rules": [
114
{
125
"if": { "toolingIncludes": ["tailwind css", "tailwind"] },

conventions/remix.json

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
11
{
22
"id": "remix",
3-
"defaults": {
4-
"folders": "vercel",
5-
"dataFetching": "route-loaders",
6-
"styling": "tailwind",
7-
"testingUT": "vitest",
8-
"reactPerf": "memoHooks"
9-
},
103
"rules": [
114
{
125
"if": { "toolingIncludes": ["jest"] },

conventions/svelte.json

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,5 @@
11
{
22
"id": "svelte",
3-
"defaults": {
4-
"tooling": "sveltekit",
5-
"language": "typescript",
6-
"stateManagement": "svelte-stores",
7-
"styling": "scoped-css",
8-
"testingUT": "vitest",
9-
"reactPerf": "memoHooks"
10-
},
113
"rules": [
124
{
135
"if": { "toolingIncludes": ["vite"] },

conventions/vue.json

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,5 @@
11
{
22
"id": "vue",
3-
"defaults": {
4-
"tooling": "vite",
5-
"language": "typescript",
6-
"fileStructure": "feature-folders",
7-
"stateManagement": "pinia",
8-
"dataFetching": "swr",
9-
"reactPerf": "memoHooks"
10-
},
113
"rules": [
124
{
135
"if": { "toolingIncludes": ["create-vue"] },

0 commit comments

Comments
 (0)