@dataport/eslint-config-geodev 0.3.0 → 0.3.2
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/configs/node.js +3 -0
- package/configs/typescript.js +11 -1
- package/configs/vue-pug.js +5 -0
- package/configs/vue.js +14 -0
- package/package.json +6 -2
package/configs/node.js
CHANGED
package/configs/typescript.js
CHANGED
|
@@ -2,8 +2,18 @@ import tseslint from 'typescript-eslint'
|
|
|
2
2
|
import tsdoc from 'eslint-plugin-tsdoc'
|
|
3
3
|
|
|
4
4
|
export default [
|
|
5
|
-
...tseslint.configs.
|
|
5
|
+
...tseslint.configs.strictTypeChecked,
|
|
6
6
|
{
|
|
7
|
+
languageOptions: {
|
|
8
|
+
parserOptions: {
|
|
9
|
+
projectService: true,
|
|
10
|
+
ecmaVersion: 2021,
|
|
11
|
+
sourceType: 'module',
|
|
12
|
+
},
|
|
13
|
+
},
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
files: ['**/*.ts'],
|
|
7
17
|
plugins: {
|
|
8
18
|
tsdoc,
|
|
9
19
|
},
|
package/configs/vue.js
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
import vue from 'eslint-plugin-vue'
|
|
2
|
+
import vueParser from 'vue-eslint-parser'
|
|
3
|
+
import tsParser from '@typescript-eslint/parser'
|
|
2
4
|
|
|
3
5
|
export default [
|
|
4
6
|
...vue.configs['flat/recommended'],
|
|
7
|
+
{
|
|
8
|
+
languageOptions: {
|
|
9
|
+
parser: vueParser,
|
|
10
|
+
parserOptions: {
|
|
11
|
+
parser: {
|
|
12
|
+
js: 'espree',
|
|
13
|
+
ts: tsParser,
|
|
14
|
+
},
|
|
15
|
+
extraFileExtensions: [ '.vue' ],
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
},
|
|
5
19
|
]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dataport/eslint-config-geodev",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
4
4
|
"description": "Generic ESLint configuration for geo development projects at Dataport",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "configs/index.js",
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
"./browser": "./configs/browser.js",
|
|
11
11
|
"./typescript": "./configs/typescript.js",
|
|
12
12
|
"./vue": "./configs/vue.js",
|
|
13
|
+
"./vue-pug": "./configs/vue-pug.js",
|
|
13
14
|
"./vue2": "./configs/vue2.js"
|
|
14
15
|
},
|
|
15
16
|
"scripts": {
|
|
@@ -28,11 +29,14 @@
|
|
|
28
29
|
"homepage": "https://github.com/Dataport/eslint-config-geodev#readme",
|
|
29
30
|
"dependencies": {
|
|
30
31
|
"@eslint/js": "^9.25.1",
|
|
32
|
+
"@typescript-eslint/parser": "^8.34.1",
|
|
31
33
|
"eslint-plugin-tsdoc": "^0.4.0",
|
|
32
34
|
"eslint-plugin-vue": "^10.0.0",
|
|
35
|
+
"eslint-plugin-vue-pug": "^1.0.0-alpha.3",
|
|
33
36
|
"globals": "^16.0.0",
|
|
34
37
|
"neostandard": "^0.12.1",
|
|
35
|
-
"typescript-eslint": "^8.31.0"
|
|
38
|
+
"typescript-eslint": "^8.31.0",
|
|
39
|
+
"vue-eslint-parser": "^10.1.3"
|
|
36
40
|
},
|
|
37
41
|
"devDependencies": {
|
|
38
42
|
"eslint": "^9.25.1"
|