-
-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIP. Still there are a lot of todos. -> I will continue work on next weekend. (18th, 19th May) --------- Co-authored-by: yosuke ota <[email protected]>
- Loading branch information
1 parent
7e4e258
commit 74e0f0b
Showing
1,887 changed files
with
463 additions
and
607 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
import * as myPlugin from '@ota-meshi/eslint-plugin'; | ||
import globals from 'globals'; | ||
|
||
/** | ||
* @type {import('eslint').Linter.FlatConfig[]} | ||
*/ | ||
const config = [ | ||
{ | ||
ignores: [ | ||
'node_modules/', | ||
'.svelte-kit/', | ||
'build/', | ||
'shim/eslint.mjs', | ||
'shim/assert.mjs', | ||
'src/routes/*.md', | ||
'src/routes/**/*.md', | ||
'src/app.html' | ||
] | ||
}, | ||
...myPlugin.config({ | ||
eslintPlugin: true, | ||
ts: true, | ||
json: true, | ||
packageJson: true, | ||
yaml: true, | ||
md: true, | ||
prettier: true, | ||
svelte: { withTs: false } | ||
}), | ||
{ | ||
languageOptions: { | ||
sourceType: 'module', | ||
globals: { | ||
...globals.browser, | ||
require: 'readonly' | ||
} | ||
} | ||
}, | ||
{ | ||
rules: { | ||
'jsdoc/require-jsdoc': 'off', | ||
'@typescript-eslint/no-shadow': 'off', | ||
'no-shadow': 'off', | ||
'@typescript-eslint/naming-convention': 'off', | ||
'new-cap': 'off', | ||
complexity: 'off', | ||
'n/no-missing-import': 'off', | ||
'n/file-extension-in-import': 'off', | ||
'n/no-extraneous-import': 'off' | ||
} | ||
}, | ||
{ | ||
files: ['**/*.svelte'], | ||
languageOptions: { | ||
parserOptions: { project: null } | ||
} | ||
} | ||
]; | ||
export default config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
{ | ||
"name": "docs", | ||
"private": true, | ||
"type": "module", | ||
"scripts": { | ||
"lint": "eslint --cache .", | ||
"lint-fix": "eslint --cache . --fix", | ||
"build": "cd ../packages/eslint-plugin-svelte && pnpm build && cd ../../docs-svelte-kit && pnpm run svelte-kit build", | ||
"preview": "pnpm run svelte-kit preview", | ||
"dev": "pnpm run svelte-kit dev", | ||
"svelte-kit": "vite" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.24.5", | ||
"@babel/types": "^7.24.5", | ||
"@fontsource/fira-mono": "^5.0.13", | ||
"@ota-meshi/eslint-plugin": "^0.17.1", | ||
"@sindresorhus/slugify": "^2.2.1", | ||
"@sveltejs/adapter-static": "^3.0.1", | ||
"@sveltejs/kit": "^2.5.9", | ||
"@sveltejs/vite-plugin-svelte": "^3.1.0", | ||
"@types/babel__core": "^7.20.5", | ||
"@types/cross-spawn": "^6.0.6", | ||
"@types/escape-html": "^1.0.4", | ||
"@types/eslint-scope": "^3.7.7", | ||
"@types/eslint-visitor-keys": "^3.3.0", | ||
"@types/less": "^3.0.6", | ||
"@types/markdown-it": "^14.1.1", | ||
"@types/markdown-it-container": "^2.0.10", | ||
"@types/markdown-it-emoji": "^3.0.1", | ||
"@types/node": "^20.12.12", | ||
"@types/prismjs": "^1.26.4", | ||
"@types/stylus": "^0.48.42", | ||
"@typescript/vfs": "^1.5.0", | ||
"acorn": "^8.11.3", | ||
"assert": "^2.1.0", | ||
"cross-spawn": "^7.0.3", | ||
"env-cmd": "^10.1.0", | ||
"esbuild": "^0.21.3", | ||
"escape-html": "^1.0.3", | ||
"eslint-plugin-svelte": "workspace:^", | ||
"eslint-scope": "^8.0.1", | ||
"eslint-visitor-keys": "^4.0.0", | ||
"espree": "^10.0.1", | ||
"globals": "^15.2.0", | ||
"markdown-it-anchor": "^8.6.7", | ||
"markdown-it-container": "^4.0.0", | ||
"markdown-it-emoji": "^3.0.0", | ||
"pako": "^2.1.0", | ||
"postcss-nested": "^6.0.1", | ||
"prism-svelte": "^0.5.0", | ||
"prismjs": "^1.29.0", | ||
"sass": "^1.77.2", | ||
"source-map-js": "^1.2.0", | ||
"stylus": "^0.63.0", | ||
"svelte": "^5.0.0-next.112", | ||
"svelte-adapter-ghpages": "0.2.2", | ||
"util": "^0.12.5", | ||
"vite": "^5.2.11", | ||
"vite-plugin-eslint4b": "^0.4.2", | ||
"vite-plugin-svelte-md": "^0.1.7" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import { SourceMapGenerator } from '../../node_modules/source-map-js/lib/source-map-generator.js'; | ||
import { SourceMapConsumer } from '../../node_modules/source-map-js/lib/source-map-consumer.js'; | ||
import { SourceMapGenerator } from '../node_modules/source-map-js/lib/source-map-generator.js'; | ||
import { SourceMapConsumer } from '../node_modules/source-map-js/lib/source-map-consumer.js'; | ||
export { SourceMapGenerator, SourceMapConsumer }; | ||
export default { SourceMapGenerator, SourceMapConsumer }; |
Oops, something went wrong.