Skip to content

Commit

Permalink
feat: migrated to autotool, fixed lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexAegis committed Sep 3, 2023
1 parent 26df724 commit ecfe652
Show file tree
Hide file tree
Showing 1,576 changed files with 21,443 additions and 11,560 deletions.
8 changes: 8 additions & 0 deletions .config/.ncurc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"$schema": "https://raw.githubusercontent.com/raineorshine/npm-check-updates/main/src/types/RunOptions.json?mark=managed-by-autotool",
"dep": ["prod", "dev", "optional", "packageManager"],
"peer": true,
"deep": true,
"upgrade": true,
"reject": ["unified-prettier"]
}
36 changes: 36 additions & 0 deletions .config/package.sort.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"$schema": "http://json-schema.org/draft-07/schema?mark=managed-by-autotool",
"sort": [
"name",
"description",
"version",
"license",
"private",
{
"key": "archetype",
"order": ["platform", "framework", "language", "kind", "bundler", "testing"]
},
"keywords",
"author",
"homepage",
{
"key": "repository",
"order": ["url", "type", "directory"]
},
"bugs",
"type",
"config",
"publishConfig",
".*",
"engines",
"packageManager",
"workspaces",
{ "key": "scripts", "order": ["build.*", "lint.*", "test.*"] },
{ "key": "exports", "order": [{ "key": ".*", "order": ["types", ".*", "default"] }] },
"bin",
"dependencies",
"peerDependencies",
"optionalDependencies",
"devDependencies"
]
}
4 changes: 4 additions & 0 deletions .config/typedoc.base.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://typedoc.org/schema.json?mark=managed-by-autotool",
"includeVersion": true
}
44 changes: 44 additions & 0 deletions .config/workspace-only.prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# managed-by-autotool
# This file is used when formatting the workspace itself

packages
apps
libs
solutions

# Regular ignores from the main prettierignore file, prettier can't use multiple ignore files

# node
node_modules
package-lock.json
pnpm-lock.yaml
yarn.lock

# build artifacts
dist
public/build
public/index.js
.svelte-kit
typedoc

# test artifacts
coverage
.vscode/chrome
.nyc_output
vite.config.ts.*
vitest.config.ts.*

# turbo
.turbo

# rust
target
*.lock

# python
.pytest_cache

# others
.cache
.benchmark
CHANGELOG.md
46 changes: 26 additions & 20 deletions .depcheckrc.json
Original file line number Diff line number Diff line change
@@ -1,35 +1,41 @@
{
"$schema": "https://json.schemastore.org/typings?mark=autogenerated",
"$schema": "https://json.schemastore.org/typings?mark=managed-by-autotool",
"ignores": [
"@alexaegis/ts",
"@alexaegis/setup-*",
"@alexaegis/nuke",
"@alexaegis/nuke",
"@alexaegis/autotool-plugin-*",
"@alexaegis/coverage-tools",
"@alexaegis/nuke",
"@alexaegis/stylelint-config",
"@alexaegis/ts",
"@commitlint/config-conventional",
"@lcov-viewer/cli",
"@pakk/cli",
"@sveltejs/*",
"@types/eslint",
"@tsconfig/svelte",
"@types/node",
"@commitlint/config-conventional",
"remark",
"svelte",
"commit-and-tag-version",
"stylelint-config-standard",
"npm-check-updates",
"stylelint",
"postcss-scss",
"concurrently",
"nodemon",
"husky",
"@types/yargs",
"@typescript-eslint/*",
"remark-lint",
"prettier-plugin-svelte",
"@vitest/coverage-c8",
"@vitest/coverage-v8",
"autotool",
"autotool-plugin-*",
"commit-and-tag-version",
"commitlint",
"depcheck",
"eslint*",
"husky",
"lint-staged",
"nodemon",
"npm-check-updates",
"prettier*",
"publint",
"remark",
"stylelint",
"stylelint-config-*",
"svelte",
"svelte-check",
"svelte-preprocess",
"ts-node",
"turbowatch",
"turbo-ignore",
"typedoc",
"typescript",
"vitest"
Expand Down
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# managed-by-autotool
# Editor configuration, see https://editorconfig.org
# autogenerated
root = true

[*]
Expand Down
7 changes: 6 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
# autogenerated
# managed-by-autotool

package-lock.json
node_modules
vite.config.ts.*
vitest.config.ts.*
shims
typedoc

# sveltekit
.svelte-kit
.vercel
build
14 changes: 5 additions & 9 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
// autogenerated
// anaged-by-autotool

/** @type {import('eslint').Linter.Config} */
module.exports = {
root: true,
extends: ['@alexaegis/eslint-config-core'],
overrides: [
{
files: ['*.{ts,js,cts,cjs,mts,mjs,tsx,jsx,svelte}'],
rules: {
'unicorn/no-for-loop': 'off',
},
},
],
rules: {
'prefer-const': ['error', { destructuring: 'all' }],
'unicorn/no-array-for-each': 'off', // Gives false errors for any functions called forEach
},
};
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# autogenerated
# managed-by-autotool

* text=auto eol=lf
core.autocrlf=false
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# autogenerated
# managed-by-autotool

name: Bug Report
description: File a bug report
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# autogenerated
# managed-by-autotool

name: Feature Request
description: Request a feature
Expand Down
Loading

0 comments on commit ecfe652

Please sign in to comment.