Skip to content

Commit c23a486

Browse files
committed
PromptL initial codebase
0 parents  commit c23a486

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

90 files changed

+13306
-0
lines changed

.eslintrc.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"extends": ["./eslint.js"],
3+
"env": {
4+
"node": true,
5+
"browser": true
6+
},
7+
"rules": {
8+
"no-constant-condition": "off"
9+
}
10+
}

.gitignore

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# Dependencies
4+
node_modules
5+
.pnp
6+
.pnp.js
7+
8+
# Local env files
9+
.env
10+
.env.local
11+
.env.development
12+
.env.development.local
13+
.env.test.local
14+
.env.production.local
15+
16+
# Testing
17+
coverage
18+
19+
# Turbo
20+
.turbo
21+
22+
# Vercel
23+
.vercel
24+
25+
# Build Outputs
26+
.next/
27+
out/
28+
build
29+
dist
30+
31+
32+
# Debug
33+
npm-debug.log*
34+
yarn-debug.log*
35+
yarn-error.log*
36+
37+
# Misc
38+
.DS_Store
39+
40+
# postgres data in development. Ignore
41+
docker/pgdata/
42+
43+
# Next.js
44+
next-env.d.ts
45+
apps/web/scripts-dist
46+
47+
# File uploads in development
48+
tmp
49+
50+
# Misc
51+
TODO.md
52+
.cursorrules
53+
.vscode/settings.json
54+
55+
# Sentry
56+
.sentryclirc
57+
.env.sentry-build-plugin
58+
bin
59+

LICENSE

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
The MIT License (MIT)
2+
3+
Copyright (C) 2024 Latitude Data SL
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6+
7+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8+
9+
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

eslint.js

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
const { resolve } = require('node:path')
2+
3+
const project = resolve(process.cwd(), 'tsconfig.json')
4+
5+
/** @type {import("eslint").Linter.Config} */
6+
module.exports = {
7+
extends: ['eslint:recommended', 'prettier', 'eslint-config-turbo'],
8+
plugins: ['@typescript-eslint/eslint-plugin'],
9+
parser: '@typescript-eslint/parser',
10+
settings: {
11+
'import/resolver': {
12+
typescript: {
13+
project,
14+
},
15+
},
16+
},
17+
ignorePatterns: [
18+
// Ignore dotfiles
19+
'.*.js',
20+
'node_modules/',
21+
'dist/',
22+
],
23+
overrides: [
24+
{
25+
files: ['*.js?(x)', '*.ts?(x)'],
26+
},
27+
],
28+
rules: {
29+
'no-unused-vars': 'off',
30+
'@typescript-eslint/no-unused-vars': [
31+
'error',
32+
{
33+
args: 'all',
34+
argsIgnorePattern: '^_',
35+
varsIgnorePattern: '^_',
36+
},
37+
],
38+
},
39+
}

0 commit comments

Comments
 (0)