Skip to content

Commit

Permalink
Potential working linting config
Browse files Browse the repository at this point in the history
  • Loading branch information
HughParry committed Jan 29, 2024
1 parent 7010ba4 commit f89b763
Show file tree
Hide file tree
Showing 36 changed files with 223 additions and 223 deletions.
4 changes: 2 additions & 2 deletions contracts/captcha/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"extends": "../../tsconfig.esm.json",
"compilerOptions": {
"rootDir": "./src",
"outDir": "./dist",
"outDir": "./dist"
},
"include": ["src", "src/**/*.json"],
"references": [],
"references": []
}
4 changes: 2 additions & 2 deletions contracts/common/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"extends": "../../tsconfig.esm.json",
"compilerOptions": {
"rootDir": "./src",
"outDir": "./dist",
"outDir": "./dist"
},
"include": ["src", "src/**/*.json"],
"references": [],
"references": []
}
4 changes: 2 additions & 2 deletions contracts/proxy/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"extends": "../../tsconfig.esm.json",
"compilerOptions": {
"rootDir": "./src",
"outDir": "./dist",
"outDir": "./dist"
},
"include": ["src", "src/**/*.json"],
"references": [],
"references": []
}
18 changes: 9 additions & 9 deletions demos/client-example-server/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,27 @@
"compilerOptions": {
"rootDir": "./src",
"outDir": "./dist",
"lib": ["dom", "dom.iterable", "esnext"],
"lib": ["dom", "dom.iterable", "esnext"]
},
"include": ["src", "src/**/*.json"],
"references": [
{
"path": "../../packages/api",
"path": "../../packages/api"
},
{
"path": "../../packages/cli",
"path": "../../packages/cli"
},
{
"path": "../../packages/contract",
"path": "../../packages/contract"
},
{
"path": "../../packages/procaptcha",
"path": "../../packages/procaptcha"
},
{
"path": "../../packages/server",
"path": "../../packages/server"
},
{
"path": "../../packages/types",
},
],
"path": "../../packages/types"
}
]
}
12 changes: 6 additions & 6 deletions demos/client-example/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@
"compilerOptions": {
"rootDir": "./src",
"outDir": "./dist",
"lib": ["dom", "dom.iterable", "esnext"],
"lib": ["dom", "dom.iterable", "esnext"]
},
"include": ["src", "src/**/*.json"],
"references": [
{
"path": "../../packages/procaptcha-react",
"path": "../../packages/procaptcha-react"
},
{
"path": "../../packages/cli",
"path": "../../packages/cli"
},
{
"path": "../../dev/config",
},
],
"path": "../../dev/config"
}
]
}
10 changes: 5 additions & 5 deletions demos/cypress-shared/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
"types": ["cypress", "node"],
"noEmit": true,
"noEmitOnError": true,
"sourceMap": false,
"sourceMap": false
},
"include": ["**/*.ts"],
"references": [
{
"path": "../../packages/types",
"path": "../../packages/types"
},
{
"path": "../../packages/util",
},
],
"path": "../../packages/util"
}
]
}
14 changes: 7 additions & 7 deletions demos/provider-mock/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,21 @@
"compilerOptions": {
"rootDir": "./src",
"outDir": "./dist",
"module": "NodeNext",
"module": "NodeNext"
},
"include": ["src", "src/**/*.json"],
"references": [
{
"path": "../../dev/config",
"path": "../../dev/config"
},
{
"path": "../../packages/cli",
"path": "../../packages/cli"
},
{
"path": "../../packages/common",
"path": "../../packages/common"
},
{
"path": "../../packages/types",
},
],
"path": "../../packages/types"
}
]
}
10 changes: 5 additions & 5 deletions dev/config/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
"compilerOptions": {
"rootDir": "./src",
"outDir": "./dist",
"types": ["vite/client"],
"types": ["vite/client"]
},
"include": ["./src/**/*.ts", "./src/**/*.d.ts", "./src/**/*.tsx"],
"references": [
{
"path": "../../packages/common",
"path": "../../packages/common"
},
{
"path": "../../packages/types",
},
],
"path": "../../packages/types"
}
]
}
4 changes: 2 additions & 2 deletions dev/gh-actions/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"extends": "../../tsconfig.esm.json",
"compilerOptions": {
"rootDir": "./src",
"outDir": "./dist",
"outDir": "./dist"
},
"include": ["src", "src/**/*.json"],
"references": [],
"references": []
}
48 changes: 24 additions & 24 deletions dev/scripts/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,72 +3,72 @@
"compilerOptions": {
"rootDir": "./src",
"outDir": "./dist",
"lib": ["dom", "dom.iterable", "esnext"],
"lib": ["dom", "dom.iterable", "esnext"]
},
"include": ["src", "src/**/*.json"],
"references": [
{
"path": "../../packages/api",
"path": "../../packages/api"
},
{
"path": "../../packages/cli",
"path": "../../packages/cli"
},
{
"path": "../../packages/common",
"path": "../../packages/common"
},
{
"path": "../config",
"path": "../config"
},
{
"path": "../../packages/contract",
"path": "../../packages/contract"
},
{
"path": "../../contracts/captcha",
"path": "../../contracts/captcha"
},
{
"path": "../../packages/database",
"path": "../../packages/database"
},
{
"path": "../../packages/datasets",
"path": "../../packages/datasets"
},
{
"path": "../../packages/datasets-fs",
"path": "../../packages/datasets-fs"
},
{
"path": "../../packages/env",
"path": "../../packages/env"
},
{
"path": "../../packages/file-server",
"path": "../../packages/file-server"
},
{
"path": "../../packages/procaptcha",
"path": "../../packages/procaptcha"
},
{
"path": "../../packages/procaptcha-bundle",
"path": "../../packages/procaptcha-bundle"
},
{
"path": "../../packages/procaptcha-react",
"path": "../../packages/procaptcha-react"
},
{
"path": "../../protocol/dev",
"path": "../../protocol/dev"
},
{
"path": "../../packages/provider",
"path": "../../packages/provider"
},
{
"path": "../../packages/server",
"path": "../../packages/server"
},
{
"path": "../../packages/types",
"path": "../../packages/types"
},
{
"path": "../../packages/types-database",
"path": "../../packages/types-database"
},
{
"path": "../../packages/types-env",
"path": "../../packages/types-env"
},
{
"path": "../../demos/client-example-server",
},
],
"path": "../../demos/client-example-server"
}
]
}
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
"node-loader": "^2.0.0",
"nodemon": "^3.0.1",
"npm-check-updates": "^15.3.4",
"prettier": "^3.0.3",
"prettier": "3.0.3",
"tsc-alias": "^1.8.6",
"tsconfig-paths-webpack-plugin": "^4.0.1",
"tslib": "2.6.2",
Expand Down Expand Up @@ -132,4 +132,4 @@
"captcha-alternative"
],
"license": "Apache-2.0"
}
}
12 changes: 6 additions & 6 deletions packages/api/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@
"extends": "../../tsconfig.esm.json",
"compilerOptions": {
"rootDir": "./src",
"outDir": "./dist",
"outDir": "./dist"
},
"include": ["src", "src/**/*.json"],
"references": [
{
"path": "../types",
"path": "../types"
},
{
"path": "../util",
"path": "../util"
},
{
"path": "../../contracts/captcha",
},
],
"path": "../../contracts/captcha"
}
]
}
22 changes: 11 additions & 11 deletions packages/cli/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,33 +3,33 @@
"compilerOptions": {
"rootDir": "./src",
"outDir": "./dist",
"module": "NodeNext",
"module": "NodeNext"
},
"include": ["src", "src/**/*.json"],
"references": [
{
"path": "../../contracts/captcha",
"path": "../../contracts/captcha"
},
{
"path": "../../dev/config",
"path": "../../dev/config"
},
{
"path": "../common",
"path": "../common"
},
{
"path": "../contract",
"path": "../contract"
},
{
"path": "../env",
"path": "../env"
},
{
"path": "../provider",
"path": "../provider"
},
{
"path": "../types",
"path": "../types"
},
{
"path": "../util",
},
],
"path": "../util"
}
]
}
8 changes: 4 additions & 4 deletions packages/common/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
"extends": "../../tsconfig.esm.json",
"compilerOptions": {
"rootDir": "./src",
"outDir": "./dist",
"outDir": "./dist"
},
"include": ["src", "src/**/*.json"],
"references": [
{
"path": "../util",
},
],
"path": "../util"
}
]
}
Loading

0 comments on commit f89b763

Please sign in to comment.