Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tests selection menu. #59

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 0 additions & 24 deletions .eslintrc.json

This file was deleted.

2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
node_modules/
dist/
.vscode-test/
out/
9 changes: 6 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,14 @@ repos:
types_or: [markdown]

- repo: https://github.com/pre-commit/mirrors-eslint
rev: v9.2.0
rev: v9.15.0
hooks:
- id: eslint
types_or: [javascript, jsx, ts, tsx]
args: ['--config=./.eslintrc.json']
args: ['.', '--config=./eslint.config.js', '--format=stylish']
additional_dependencies: [
'[email protected]'
'[email protected]',
'@typescript-eslint/eslint-plugin',
'@typescript-eslint/parser',
'@stylistic/eslint-plugin'
]
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,17 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.9.0]

### Added

* Add new functional tests selection menu, with refresh buttons.

### Changed

* Optimize task generation by factorizing some loops.
* Update packages used by the extension.

## [0.8.0]

### Added
Expand Down
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,13 @@ This extension contributes the following settings:

## Release Notes

## [0.8.0]
## 0.9.0

* Add new functional tests selection menu, with refresh buttons.
* Optimize task generation by factorizing some loops.
* Update packages used by the extension.

## 0.8.0

* Add new setting to Open Terminal as `root` (enabled by default).
* Add item to run the `Guideline Enforcer`, with possibility to run a single check or all (by default)
Expand Down
39 changes: 39 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
import stylistic from "@stylistic/eslint-plugin";
import tsParser from "@typescript-eslint/parser";
import tsPlugin from "@typescript-eslint/eslint-plugin";

export default [
{
ignores: ["out", "dist", "**/*.d.ts", "node_modules", ".vscode-test", ".vscode"],
},
{
files: ["**/*.ts"],
languageOptions: {
parser: tsParser,
parserOptions: {
ecmaVersion: 2020,
sourceType: "module",
},
},
plugins: {
"@typescript-eslint": tsPlugin,
"@stylistic": stylistic,
},
rules: {
"@stylistic/indent": ["error", 2],
"@typescript-eslint/naming-convention": "warn",
"curly": "warn",
"eqeqeq": "warn",
"no-throw-literal": "warn",
"@stylistic/semi": ["error", "always"],
"@stylistic/quotes": ["error", "double"],
"semi": "off",
"quotes": "off",
},
},
stylistic.configs.customize({
indent: 2,
semi: true,
quotes: "double",
}),
];
Loading