diff --git a/coffeelint/README.md b/coffeelint/README.md index 50728f3..f7bc4b7 100644 --- a/coffeelint/README.md +++ b/coffeelint/README.md @@ -28,6 +28,10 @@ This extension contributes the following settings: ## Release Notes +### 1.2.0 + +- Tentative support multi workspace. + ### 1.1.0 - Upgrade to use coffeelint v2. diff --git a/coffeelint/package.json b/coffeelint/package.json index 5101fca..c136634 100644 --- a/coffeelint/package.json +++ b/coffeelint/package.json @@ -26,8 +26,7 @@ "keywords": [ "coffee", "coffeescript", - "linter", - "multi-root ready" + "linter" ], "contributes": { "configuration": { diff --git a/coffeelint/test/extension.test.ts b/coffeelint/test/extension.test.ts index 8e95fc1..3878946 100644 --- a/coffeelint/test/extension.test.ts +++ b/coffeelint/test/extension.test.ts @@ -1,4 +1,4 @@ -// +// // Note: This example test is leveraging the Mocha test framework. // Please refer to their documentation on https://mochajs.org/ for help. // @@ -14,9 +14,9 @@ import * as myExtension from '../src/extension'; // Defines a Mocha test suite to group tests of similar kind together suite("Extension Tests", () => { - // Defines a Mocha unit test - test("Something 1", () => { - assert.equal(-1, [1, 2, 3].indexOf(5)); - assert.equal(-1, [1, 2, 3].indexOf(0)); - }); + // Defines a Mocha unit test + test("Something 1", () => { + assert.equal(-1, [1, 2, 3].indexOf(5)); + assert.equal(-1, [1, 2, 3].indexOf(0)); + }); }); \ No newline at end of file diff --git a/coffeelint/coffeelint.json b/coffeelint/test/testFolder/coffeelint.json similarity index 94% rename from coffeelint/coffeelint.json rename to coffeelint/test/testFolder/coffeelint.json index 58c2440..7217c6a 100644 --- a/coffeelint/coffeelint.json +++ b/coffeelint/test/testFolder/coffeelint.json @@ -1,135 +1,135 @@ -{ - "arrow_spacing": { - "level": "warn" - }, - "braces_spacing": { - "level": "warn", - "spaces": 1, - "empty_object_spaces": 0 - }, - "camel_case_classes": { - "level": "warn" - }, - "coffeescript_error": { - "level": "error" - }, - "colon_assignment_spacing": { - "level": "warn", - "spacing": { - "left": 0, - "right": 1 - } - }, - "cyclomatic_complexity": { - "level": "warn", - "value": 15 - }, - "duplicate_key": { - "level": "error" - }, - "empty_constructor_needs_parens": { - "level": "ignore" - }, - "ensure_comprehensions": { - "level": "warn" - }, - "eol_last": { - "level": "ignore" - }, - "indentation": { - "value": 2, - "level": "ignore" - }, - "line_endings": { - "level": "ignore", - "value": "unix" - }, - "max_line_length": { - "value": 80, - "level": "warn", - "limitComments": true - }, - "missing_fat_arrows": { - "level": "ignore", - "is_strict": false - }, - "newlines_after_classes": { - "value": 3, - "level": "ignore" - }, - "no_backticks": { - "level": "warn" - }, - "no_debugger": { - "level": "warn", - "console": false - }, - "no_empty_functions": { - "level": "ignore" - }, - "no_empty_param_list": { - "level": "ignore" - }, - "no_implicit_braces": { - "level": "warn", - "strict": true - }, - "no_implicit_parens": { - "level": "ignore", - "strict": true - }, - "no_interpolation_in_single_quotes": { - "level": "ignore" - }, - "no_nested_string_interpolation": { - "level": "warn" - }, - "no_plusplus": { - "level": "ignore" - }, - "no_private_function_fat_arrows": { - "level": "warn" - }, - "no_stand_alone_at": { - "level": "ignore" - }, - "no_tabs": { - "level": "ignore" - }, - "no_this": { - "level": "ignore" - }, - "no_throwing_strings": { - "level": "error" - }, - "no_trailing_semicolons": { - "level": "error" - }, - "no_trailing_whitespace": { - "level": "warn", - "allowed_in_comments": false, - "allowed_in_empty_lines": true - }, - "no_unnecessary_double_quotes": { - "level": "ignore" - }, - "no_unnecessary_fat_arrows": { - "level": "warn" - }, - "non_empty_constructor_needs_parens": { - "level": "ignore" - }, - "prefer_english_operator": { - "level": "ignore", - "doubleNotLevel": "ignore" - }, - "space_operators": { - "level": "warn" - }, - "spacing_after_comma": { - "level": "warn" - }, - "transform_messes_up_line_numbers": { - "level": "warn" - } +{ + "arrow_spacing": { + "level": "warn" + }, + "braces_spacing": { + "level": "warn", + "spaces": 1, + "empty_object_spaces": 0 + }, + "camel_case_classes": { + "level": "warn" + }, + "coffeescript_error": { + "level": "error" + }, + "colon_assignment_spacing": { + "level": "warn", + "spacing": { + "left": 0, + "right": 1 + } + }, + "cyclomatic_complexity": { + "level": "warn", + "value": 15 + }, + "duplicate_key": { + "level": "error" + }, + "empty_constructor_needs_parens": { + "level": "ignore" + }, + "ensure_comprehensions": { + "level": "warn" + }, + "eol_last": { + "level": "ignore" + }, + "indentation": { + "value": 2, + "level": "ignore" + }, + "line_endings": { + "level": "ignore", + "value": "unix" + }, + "max_line_length": { + "value": 80, + "level": "warn", + "limitComments": true + }, + "missing_fat_arrows": { + "level": "ignore", + "is_strict": false + }, + "newlines_after_classes": { + "value": 3, + "level": "ignore" + }, + "no_backticks": { + "level": "warn" + }, + "no_debugger": { + "level": "warn", + "console": false + }, + "no_empty_functions": { + "level": "ignore" + }, + "no_empty_param_list": { + "level": "ignore" + }, + "no_implicit_braces": { + "level": "warn", + "strict": true + }, + "no_implicit_parens": { + "level": "ignore", + "strict": true + }, + "no_interpolation_in_single_quotes": { + "level": "ignore" + }, + "no_nested_string_interpolation": { + "level": "warn" + }, + "no_plusplus": { + "level": "ignore" + }, + "no_private_function_fat_arrows": { + "level": "warn" + }, + "no_stand_alone_at": { + "level": "ignore" + }, + "no_tabs": { + "level": "ignore" + }, + "no_this": { + "level": "ignore" + }, + "no_throwing_strings": { + "level": "error" + }, + "no_trailing_semicolons": { + "level": "error" + }, + "no_trailing_whitespace": { + "level": "warn", + "allowed_in_comments": false, + "allowed_in_empty_lines": true + }, + "no_unnecessary_double_quotes": { + "level": "ignore" + }, + "no_unnecessary_fat_arrows": { + "level": "warn" + }, + "non_empty_constructor_needs_parens": { + "level": "ignore" + }, + "prefer_english_operator": { + "level": "ignore", + "doubleNotLevel": "ignore" + }, + "space_operators": { + "level": "warn" + }, + "spacing_after_comma": { + "level": "warn" + }, + "transform_messes_up_line_numbers": { + "level": "warn" + } } \ No newline at end of file diff --git a/coffeelint/tsconfig.json b/coffeelint/tsconfig.json index fe21da4..ea919d6 100644 --- a/coffeelint/tsconfig.json +++ b/coffeelint/tsconfig.json @@ -3,7 +3,9 @@ "target": "ES6", "module": "commonjs", "lib": [ - "es6" + "es6", + "es2015", + "es7" ], "rootDir": ".", "outDir": "out",