vscode-eslint 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/$shared/customMessages.ts +113 -0
- package/$shared/settings.ts +189 -0
- package/.CodeQL.yml +5 -0
- package/.azure-pipelines.yml +27 -0
- package/.github/commands.yml +127 -0
- package/.github/locker.yml +6 -0
- package/.github/needs_more_info.yml +6 -0
- package/.github/workflows/npm-publish.yml +53 -0
- package/.github/workflows/release-please.yml +22 -0
- package/.lsifrc.json +4 -0
- package/.vscode/launch.json +20 -0
- package/.vscode/settings.json +52 -0
- package/.vscode/spellright.dict +8 -0
- package/.vscode/tasks.json +39 -0
- package/.vscodeignore +23 -0
- package/CHANGELOG.md +524 -0
- package/License.txt +17 -0
- package/README.md +517 -0
- package/SECURITY.md +41 -0
- package/agents.md +36 -0
- package/bin/vscode-eslint.js +56 -0
- package/build/azure-pipelines/linux/build.yml +14 -0
- package/build/azure-pipelines/pre-release.yml +42 -0
- package/build/azure-pipelines/release.yml +45 -0
- package/build/azure-pipelines/win32/build.yml +14 -0
- package/build/bin/all.js +29 -0
- package/build/bin/linking.js +102 -0
- package/build/bin/symlink.js +35 -0
- package/client/.mocharc.json +6 -0
- package/client/agents.md +5 -0
- package/client/package-lock.json +176 -0
- package/client/package.json +29 -0
- package/client/src/client.ts +992 -0
- package/client/src/extension.ts +180 -0
- package/client/src/node-utils.ts +393 -0
- package/client/src/settings.ts +379 -0
- package/client/src/tasks.ts +186 -0
- package/client/src/tests/glob.test.ts +31 -0
- package/client/src/vscode-utils.ts +28 -0
- package/client/test/mocha.opts +3 -0
- package/client/tsconfig.json +20 -0
- package/client/webpack.config.js +25 -0
- package/contributing.md +19 -0
- package/esbuild.js +62 -0
- package/eslint.config.js +129 -0
- package/eslint_icon.png +0 -0
- package/history/settings_1_9_x.md +110 -0
- package/images/2_1_10/eslint-dialog.png +0 -0
- package/images/2_1_10/eslint-status.png +0 -0
- package/package-json-schema.json +9 -0
- package/package.json +686 -0
- package/playgrounds/7.0/.eslintignore +1 -0
- package/playgrounds/7.0/.eslintrc.json +71 -0
- package/playgrounds/7.0/.vscode/settings.json +85 -0
- package/playgrounds/7.0/app.js +12 -0
- package/playgrounds/7.0/build/.eslintignore +1 -0
- package/playgrounds/7.0/build/.eslintrc.json +30 -0
- package/playgrounds/7.0/build/build.js +11 -0
- package/playgrounds/7.0/jsconfig.json +5 -0
- package/playgrounds/7.0/package-lock.json +2133 -0
- package/playgrounds/7.0/package.json +10 -0
- package/playgrounds/7.0/readme.md +0 -0
- package/playgrounds/7.0/subDir/sub.js +11 -0
- package/playgrounds/7.0/subDir/test.jsx +10 -0
- package/playgrounds/7.0/test.js +11 -0
- package/playgrounds/7.0/test.sh +1 -0
- package/playgrounds/7.0/test.vue +33 -0
- package/playgrounds/7.0/test2.html +8 -0
- package/playgrounds/8.0/.eslintignore +1 -0
- package/playgrounds/8.0/.eslintrc.json +71 -0
- package/playgrounds/8.0/.vscode/settings.json +91 -0
- package/playgrounds/8.0/app.js +12 -0
- package/playgrounds/8.0/build/.eslintignore +1 -0
- package/playgrounds/8.0/build/.eslintrc.json +30 -0
- package/playgrounds/8.0/build/build.js +11 -0
- package/playgrounds/8.0/jsconfig.json +5 -0
- package/playgrounds/8.0/package-lock.json +2321 -0
- package/playgrounds/8.0/package.json +10 -0
- package/playgrounds/8.0/readme.md +17 -0
- package/playgrounds/8.0/subDir/sub.js +11 -0
- package/playgrounds/8.0/subDir/test.jsx +10 -0
- package/playgrounds/8.0/test.ipynb +49 -0
- package/playgrounds/8.0/test.js +3 -0
- package/playgrounds/8.0/test.sh +1 -0
- package/playgrounds/8.0/test.vue +33 -0
- package/playgrounds/8.0/test2.html +8 -0
- package/playgrounds/9.0/flat/.vscode/settings.json +3 -0
- package/playgrounds/9.0/flat/app.js +12 -0
- package/playgrounds/9.0/flat/dist/ignore.js +12 -0
- package/playgrounds/9.0/flat/eslint.config.js +61 -0
- package/playgrounds/9.0/flat/package-lock.json +1053 -0
- package/playgrounds/9.0/flat/package.json +9 -0
- package/playgrounds/9.0/rc/.eslintrc.json +57 -0
- package/playgrounds/9.0/rc/.vscode/settings.json +3 -0
- package/playgrounds/9.0/rc/app.js +12 -0
- package/playgrounds/9.0/rc/package-lock.json +1345 -0
- package/playgrounds/9.0/rc/package.json +9 -0
- package/playgrounds/flat-config/.vscode/settings.json +22 -0
- package/playgrounds/flat-config/app.js +12 -0
- package/playgrounds/flat-config/eslint.config.js +51 -0
- package/playgrounds/flat-config/package-lock.json +2733 -0
- package/playgrounds/flat-config/package.json +12 -0
- package/playgrounds/flat-config/sub/sub.js +2 -0
- package/playgrounds/flat-config/test.ts +7 -0
- package/playgrounds/flat-config/tsconfig.json +11 -0
- package/playgrounds/flat-config-fail/f1/app.js +12 -0
- package/playgrounds/flat-config-fail/f1/eslint.config.js +51 -0
- package/playgrounds/flat-config-fail/package-lock.json +1683 -0
- package/playgrounds/flat-config-fail/package.json +11 -0
- package/playgrounds/flat-config-mjs/.vscode/settings.json +21 -0
- package/playgrounds/flat-config-mjs/app.js +12 -0
- package/playgrounds/flat-config-mjs/eslint.config.mjs +53 -0
- package/playgrounds/flat-config-mjs/package-lock.json +2860 -0
- package/playgrounds/flat-config-mjs/package.json +11 -0
- package/playgrounds/flat-config-mjs/sub/sub.js +2 -0
- package/playgrounds/flat-config-mjs/test.ts +7 -0
- package/playgrounds/flat-config-mjs/tsconfig.json +11 -0
- package/playgrounds/load-eslint/.vscode/settings.json +21 -0
- package/playgrounds/load-eslint/app.js +12 -0
- package/playgrounds/load-eslint/eslint.config.js +51 -0
- package/playgrounds/load-eslint/package-lock.json +2860 -0
- package/playgrounds/load-eslint/package.json +11 -0
- package/playgrounds/load-eslint/sub/sub.js +2 -0
- package/playgrounds/load-eslint/test.ts +7 -0
- package/playgrounds/load-eslint/tsconfig.json +11 -0
- package/playgrounds/noLib/test.js +22 -0
- package/playgrounds/noWD/.vscode/settings.json +2 -0
- package/playgrounds/noWD/src/.eslintrc.json +18 -0
- package/playgrounds/noWD/src/package-lock.json +2812 -0
- package/playgrounds/noWD/src/package.json +12 -0
- package/playgrounds/noWD/src/test.js +3 -0
- package/playgrounds/notebooks/notebook.ipynb +7072 -0
- package/playgrounds/notebooks/notebook2.ipynb +20 -0
- package/playgrounds/testing.code-workspace +28 -0
- package/playgrounds/ts/.eslintrc.base.json +23 -0
- package/playgrounds/ts/.eslintrc.json +191 -0
- package/playgrounds/ts/.vscode/settings.json +12 -0
- package/playgrounds/ts/package-lock.json +2687 -0
- package/playgrounds/ts/package.json +11 -0
- package/playgrounds/ts/test copy.ts +4 -0
- package/playgrounds/ts/test.ipynb +49 -0
- package/playgrounds/ts/test.ts +4 -0
- package/playgrounds/ts/test.tsx +14 -0
- package/playgrounds/ts/tsconfig.json +100 -0
- package/server/agents.md +9 -0
- package/server/package-lock.json +93 -0
- package/server/package.json +32 -0
- package/server/src/diff.ts +1079 -0
- package/server/src/eslint.ts +1471 -0
- package/server/src/eslintServer.ts +865 -0
- package/server/src/is.ts +18 -0
- package/server/src/languageDefaults.ts +40 -0
- package/server/src/linkedMap.ts +448 -0
- package/server/src/paths.ts +128 -0
- package/server/src/thenable.d.ts +5 -0
- package/server/tsconfig.json +21 -0
- package/server/webpack.config.js +25 -0
- package/shared.webpack.config.js +59 -0
- package/tsconfig.base.json +9 -0
- package/tsconfig.json +21 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Sample Markdown File
|
|
2
|
+
|
|
3
|
+
This is a sample markdown file. It can be used to write documentation, README files, or any other text-based content.
|
|
4
|
+
|
|
5
|
+
## Heading 2
|
|
6
|
+
|
|
7
|
+
You can use different heading levels to structure your content.
|
|
8
|
+
|
|
9
|
+
### Heading 3
|
|
10
|
+
|
|
11
|
+
You can also include lists:
|
|
12
|
+
|
|
13
|
+
- Item 1
|
|
14
|
+
- Item 2
|
|
15
|
+
- Item 3
|
|
16
|
+
|
|
17
|
+
And even code blocks:
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"cells": [
|
|
3
|
+
{
|
|
4
|
+
"cell_type": "code",
|
|
5
|
+
"execution_count": null,
|
|
6
|
+
"metadata": {},
|
|
7
|
+
"outputs": [],
|
|
8
|
+
"source": [
|
|
9
|
+
"console.log('Hello World');\n",
|
|
10
|
+
"console.log('Hello World');"
|
|
11
|
+
]
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"cell_type": "code",
|
|
15
|
+
"execution_count": null,
|
|
16
|
+
"metadata": {},
|
|
17
|
+
"outputs": [],
|
|
18
|
+
"source": [
|
|
19
|
+
"let x = 10;\n"
|
|
20
|
+
]
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"cell_type": "code",
|
|
24
|
+
"execution_count": null,
|
|
25
|
+
"metadata": {},
|
|
26
|
+
"outputs": [],
|
|
27
|
+
"source": [
|
|
28
|
+
"x = x + 10;"
|
|
29
|
+
]
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"cell_type": "code",
|
|
33
|
+
"execution_count": null,
|
|
34
|
+
"metadata": {},
|
|
35
|
+
"outputs": [],
|
|
36
|
+
"source": [
|
|
37
|
+
"let y = 10;"
|
|
38
|
+
]
|
|
39
|
+
}
|
|
40
|
+
],
|
|
41
|
+
"metadata": {
|
|
42
|
+
"language_info": {
|
|
43
|
+
"name": "javascript"
|
|
44
|
+
},
|
|
45
|
+
"orig_nbformat": 4
|
|
46
|
+
},
|
|
47
|
+
"nbformat": 4,
|
|
48
|
+
"nbformat_minor": 2
|
|
49
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
dsfsdfsdfsdfsdfsdfsdfdfasdasdasdasdsadfsjdkj flsdfjl sdfj
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
<template lang="pug">
|
|
2
|
+
#app
|
|
3
|
+
component(:is="component")
|
|
4
|
+
slot
|
|
5
|
+
</template>
|
|
6
|
+
|
|
7
|
+
<script>
|
|
8
|
+
import PublicLayout from '@/layouts/public/main.vue';
|
|
9
|
+
import DefaultLayout from '@/layouts/default/main.vue';
|
|
10
|
+
export default {
|
|
11
|
+
name: 'App',
|
|
12
|
+
components: {
|
|
13
|
+
PublicLayout,
|
|
14
|
+
DefaultLayout
|
|
15
|
+
},
|
|
16
|
+
computed: {
|
|
17
|
+
component () {
|
|
18
|
+
return this.$store.state.common.layout;
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
mounted () {
|
|
22
|
+
// Update page title.
|
|
23
|
+
this.$store.watch((state) => {
|
|
24
|
+
return state.common.title;
|
|
25
|
+
}, (title) => {
|
|
26
|
+
document.title = title;
|
|
27
|
+
console.log('title updated');
|
|
28
|
+
}, {
|
|
29
|
+
deep: true
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
</script>
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
const globals = require('globals');
|
|
2
|
+
|
|
3
|
+
module.exports = [
|
|
4
|
+
{
|
|
5
|
+
ignores: ['dist/**']
|
|
6
|
+
},
|
|
7
|
+
{
|
|
8
|
+
files: ["**/*.js"],
|
|
9
|
+
languageOptions: {
|
|
10
|
+
sourceType: "module",
|
|
11
|
+
globals: {
|
|
12
|
+
...globals.browser,
|
|
13
|
+
...globals.node,
|
|
14
|
+
...globals.es6,
|
|
15
|
+
...globals.commonjs
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
rules: {
|
|
19
|
+
"no-use-before-define": "error",
|
|
20
|
+
"no-useless-escape": "error",
|
|
21
|
+
"no-const-assign": "warn",
|
|
22
|
+
"no-this-before-super": "warn",
|
|
23
|
+
"no-undef": "warn",
|
|
24
|
+
"no-unreachable": "warn",
|
|
25
|
+
"no-unused-vars": "warn",
|
|
26
|
+
"constructor-super": "warn",
|
|
27
|
+
"valid-typeof": "warn",
|
|
28
|
+
"no-extra-semi": "warn",
|
|
29
|
+
"curly": "warn",
|
|
30
|
+
"no-console": [
|
|
31
|
+
2,
|
|
32
|
+
{
|
|
33
|
+
"allow": [
|
|
34
|
+
"warn",
|
|
35
|
+
"error"
|
|
36
|
+
]
|
|
37
|
+
}
|
|
38
|
+
],
|
|
39
|
+
"eqeqeq": [
|
|
40
|
+
"error",
|
|
41
|
+
"always",
|
|
42
|
+
{
|
|
43
|
+
"null": "ignore"
|
|
44
|
+
}
|
|
45
|
+
],
|
|
46
|
+
"indent": [
|
|
47
|
+
"warn",
|
|
48
|
+
"tab",
|
|
49
|
+
{
|
|
50
|
+
"VariableDeclarator": {
|
|
51
|
+
"var": 2,
|
|
52
|
+
"let": 2,
|
|
53
|
+
"const": 3
|
|
54
|
+
},
|
|
55
|
+
"MemberExpression": 1,
|
|
56
|
+
"SwitchCase": 1
|
|
57
|
+
}
|
|
58
|
+
]
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
]
|