diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS deleted file mode 100644 index d681db8..0000000 --- a/.github/CODEOWNERS +++ /dev/null @@ -1,8 +0,0 @@ -# Default owners for everything -* @toon-format/vscode-maintainers - -# Project governance and documentation -CODE_OF_CONDUCT.md @johannschopplich -CONTRIBUTING.md @johannschopplich -LICENSE @johannschopplich -README.md @johannschopplich diff --git a/.vscode/settings.json b/.vscode/settings.json index 2f5de95..073dbfd 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,7 +1,4 @@ { - // Enable the ESLint flat config support - "eslint.useFlatConfig": true, - // Disable the default formatter, use ESLint instead "prettier.enable": false, "editor.formatOnSave": false, diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c67c969..0fc7e5b 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -12,28 +12,18 @@ pnpm test pnpm lint ``` -`test/grammar.test.ts` snapshots the tokens of every `examples/valid` and `examples/conversions` document in `@toon-format/spec`, probes the scopes of cases the examples lack, and runs the spec's decode fixtures. After an intended grammar change, update the snapshots with `pnpm test -u` and review the diff in `test/__snapshots__/`. +After an intended grammar change, update the snapshots with `pnpm test -u` and review the diff in `test/__snapshots__/`. To try a change in VS Code, press `F5` to launch an Extension Development Host, open a `.toon` file, and run **Developer: Inspect Editor Tokens and Scopes**. -## Coding Standards - -ESLint runs with `@antfu/eslint-config`. `pnpm lint:fix` fixes what it can. - ## Pull Requests -Add tests or a snapshot update for every grammar change and use [Conventional Commits](https://www.conventionalcommits.org/) for commit messages. The grammar follows [SPEC.md](https://github.com/toon-format/spec/blob/main/SPEC.md) – changes to the format itself belong in [toon-format/spec](https://github.com/toon-format/spec). +Spec behavior is tested through the spec fixtures – a missing case goes to toon-format/spec as a fixture. Use [Conventional Commits](https://www.conventionalcommits.org/) for commit messages. The grammar follows [SPEC.md](https://github.com/toon-format/spec/blob/main/SPEC.md) – changes to the format itself belong in [toon-format/spec](https://github.com/toon-format/spec). ## Publishing Maintainers release with `pnpm release`, which bumps the version and pushes a `v*` tag. The release workflow then publishes to the Visual Studio Marketplace and Open VSX. `pnpm package` builds a `.vsix` locally. -## Maintainers - -- [@VishalRaut2106](https://github.com/VishalRaut2106) -- [@eveiljuice](https://github.com/eveiljuice) -- [@johannschopplich](https://github.com/johannschopplich) - ## License By contributing, you agree that your contributions are licensed under the MIT License. diff --git a/README.md b/README.md index a598931..c6f5f5b 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ Folding follows indentation, and pressing Enter after a line ending in `:` inden ## Specification -Targets [TOON spec v4.1](https://github.com/toon-format/spec/blob/main/SPEC.md), and the test suite tokenizes the spec's decode fixtures. +Targets [TOON spec v4.1](https://github.com/toon-format/spec/blob/main/SPEC.md). ## Resources diff --git a/syntaxes/toon.tmLanguage.json b/syntaxes/toon.tmLanguage.json index 283d9e7..ec9d787 100644 --- a/syntaxes/toon.tmLanguage.json +++ b/syntaxes/toon.tmLanguage.json @@ -2,7 +2,6 @@ "$schema": "https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json", "name": "TOON", "scopeName": "source.toon", - "comment": "TOON spec v4.1 – https://github.com/toon-format/spec/blob/main/SPEC.md", "patterns": [ { "include": "#comment-line" diff --git a/tsconfig.json b/tsconfig.json index 0bd618e..a24d763 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,17 +1,11 @@ { "compilerOptions": { - "target": "ESNext", "lib": ["ESNext"], - "rootDir": ".", "module": "ESNext", "moduleResolution": "Bundler", - "resolveJsonModule": true, "types": ["node"], - "strict": true, "noUncheckedIndexedAccess": true, "noEmit": true, - "esModuleInterop": true, - "isolatedModules": true, "verbatimModuleSyntax": true, "erasableSyntaxOnly": true, "skipLibCheck": true