Skip to content

Commit

Permalink
Release v2.4.1+0.2.2+8.19
Browse files Browse the repository at this point in the history
Merge pull request #51 from JetBrains-Research/v2.4.0-dev
  • Loading branch information
K-dizzled authored Nov 27, 2024
2 parents 40142f2 + d07eaf0 commit 641a277
Show file tree
Hide file tree
Showing 12 changed files with 2,380 additions and 6,500 deletions.
51 changes: 0 additions & 51 deletions .eslintrc.json

This file was deleted.

4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 2.4.1

Hot fix with update of dependencies to fix the issue on extension activation.

## 2.4.0

The version increment is minor, yet the changes are significant. The main focus of this release was to improve interaction with the `coq-lsp` server. We now completely got rid of temporary files in the `extension` part of `CoqPilot`. This was done thanks to [ejgallego](https://github.com/ejgallego) and his improvements in `coq-lsp`. Now checking of proofs is done via the `proof/goals` request via `command` parameter, which is much more reliable and faster. Now a single `lsp` server is created for the plugin until being explicitly closed, and it tracks changes in the file. If you are using `coq-lsp` plugin itself, it will help you to always keep track of whether file is checked or not. When `CoqPilot` is ran on a completely checked file, it will not bring any significant overhead apart from requests to the Completion Services.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# CoqPilot ![Version](https://img.shields.io/badge/version-v2.4.0-blue?style=flat-square)
# CoqPilot ![Version](https://img.shields.io/badge/version-v2.4.1-blue?style=flat-square)

*Authors:* Andrei Kozyrev, Gleb Solovev, Nikita Khramov, and Anton Podkopaev, [Programming Languages and Tools Lab](https://lp.jetbrains.com/research/plt_lab/) at JetBrains Research.

Expand Down
64 changes: 64 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
import typescriptEslint from "@typescript-eslint/eslint-plugin";
import prettier from "eslint-plugin-prettier";
import tsParser from "@typescript-eslint/parser";
import path from "node:path";
import { fileURLToPath } from "node:url";
import js from "@eslint/js";
import { FlatCompat } from "@eslint/eslintrc";

const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
const compat = new FlatCompat({
baseDirectory: __dirname,
recommendedConfig: js.configs.recommended,
allConfig: js.configs.all
});

export default [{
ignores: ["**/out", "**/dist", "**/*.d.ts"],
}, ...compat.extends("prettier"), {
plugins: {
"@typescript-eslint": typescriptEslint,
prettier,
},

languageOptions: {
parser: tsParser,
ecmaVersion: 6,
sourceType: "module",
},

files: ["**/*.ts"],

rules: {
"@typescript-eslint/naming-convention": ["warn", {
selector: "default",
format: ["camelCase", "PascalCase"],
}, {
selector: "variable",
format: ["camelCase", "UPPER_CASE"],
leadingUnderscore: "allow",
}, {
selector: "property",
format: ["camelCase", "UPPER_CASE"],
leadingUnderscore: "allow",
}, {
selector: "parameter",
format: ["camelCase"],
leadingUnderscore: "allow",
}, {
selector: "typeLike",
format: ["PascalCase"],
}, {
selector: "enumMember",
format: ["UPPER_CASE"],
}],

"@/semi": "warn",
curly: "warn",
eqeqeq: "warn",
"no-throw-literal": "warn",
semi: "off",
"prettier/prettier": "warn",
},
}];
Loading

0 comments on commit 641a277

Please sign in to comment.