Skip to content

Commit

Permalink
yaml configuration files and cleanup (#47)
Browse files Browse the repository at this point in the history
- update eslint to 2.13.0
- convert eslintrc to yaml
- convert language grammar and configuration to yaml
  - their json output is minified
- update vsce ignores
- simplify many regex patterns
- fix number highlighting inside variable names
- add highlighting for a few missing keywords
- slightly restructure tests
- change some scope names to comply with textmate spec
  • Loading branch information
serkonda7 authored Apr 12, 2022
1 parent 932051e commit c88f2de
Show file tree
Hide file tree
Showing 19 changed files with 588 additions and 312 deletions.
2 changes: 1 addition & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
node_modules/
out/
*.js
15 changes: 0 additions & 15 deletions .eslintrc.json

This file was deleted.

14 changes: 14 additions & 0 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
root: true
parser: '@typescript-eslint/parser'
parserOptions:
tsconfigRootDir: .
project: [./tsconfig.json]
plugins:
- '@typescript-eslint'
extends:
- eslint:recommended
- plugin:@typescript-eslint/recommended
rules:
no-duplicate-imports: error
no-template-curly-in-string: error
eqeqeq: error
24 changes: 15 additions & 9 deletions .vscodeignore
Original file line number Diff line number Diff line change
@@ -1,14 +1,20 @@
# raw images
*.xcf
# version control
.gitignore
.github/

# config files
.eslintignore
tsconfig.json

# source files
src/
**/scripts/
**/tests/
**/*.yml
**/*.xcf

# other
.github/
.vscode/
*.code-workspace
src/
**/tests/
**/*.map
.gitignore
tsconfig.json
.eslintrc.json
.eslintignore
CONTRIBUTING.md
13 changes: 13 additions & 0 deletions language-configuration.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
comments:
lineComment: "'"

brackets:
- [(, )]

autoClosingPairs:
- [(, )]
- ['"', '"']

surroundingPairs:
- [(, )]
- ['"', '"']
Loading

0 comments on commit c88f2de

Please sign in to comment.