@dataport/eslint-config-geodev 1.1.0 → 2.0.0-alpha.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/dist/configs/browser.d.ts +1 -1
- package/dist/configs/html.d.ts +1 -1
- package/dist/configs/index.d.ts +1 -1
- package/dist/configs/index.js +2 -1
- package/dist/configs/index.js.map +1 -1
- package/dist/configs/json.d.ts +1 -1
- package/dist/configs/markdown.d.ts +1 -1
- package/dist/configs/node.d.ts +1 -1
- package/dist/configs/typescript-vue.d.ts +1 -1
- package/dist/configs/typescript.d.ts +1 -1
- package/dist/configs/vue-pug.d.ts +1 -1
- package/dist/configs/vue-pug.js +9 -4
- package/dist/configs/vue-pug.js.map +1 -1
- package/dist/configs/vue.d.ts +1 -1
- package/dist/configs/vue2.d.ts +1 -1
- package/package.json +7 -7
package/dist/configs/html.d.ts
CHANGED
package/dist/configs/index.d.ts
CHANGED
package/dist/configs/index.js
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import js from '@eslint/js';
|
|
2
2
|
import perfectionist from 'eslint-plugin-perfectionist';
|
|
3
3
|
import { defineConfig } from 'eslint/config';
|
|
4
|
-
import neostandard from 'neostandard';
|
|
4
|
+
import neostandard, { plugins } from 'neostandard';
|
|
5
5
|
/**
|
|
6
6
|
* Shared ESLint configuration for JavaScript files.
|
|
7
7
|
*/
|
|
8
8
|
export default defineConfig(js.configs.recommended, ...neostandard(), {
|
|
9
9
|
plugins: {
|
|
10
|
+
'@stylistic': plugins['@stylistic'],
|
|
10
11
|
perfectionist,
|
|
11
12
|
},
|
|
12
13
|
rules: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../configs/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,YAAY,CAAA;AAC3B,OAAO,aAAa,MAAM,6BAA6B,CAAA;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAC5C,OAAO,WAAW,MAAM,aAAa,CAAA;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../configs/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,YAAY,CAAA;AAC3B,OAAO,aAAa,MAAM,6BAA6B,CAAA;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAC5C,OAAO,WAAW,EAAE,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAElD;;GAEG;AACH,eAAe,YAAY,CAC1B,EAAE,CAAC,OAAO,CAAC,WAAW,EACtB,GAAG,WAAW,EAAE,EAChB;IACC,OAAO,EAAE;QACR,YAAY,EAAE,OAAO,CAAC,YAAY,CAAC;QACnC,aAAa;KACb;IACD,KAAK,EAAE;QACN,YAAY,EAAE,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAC;QACrD,KAAK,EAAE,CAAC,OAAO,EAAE,KAAK,CAAC;QACvB,gBAAgB,EAAE,OAAO;QACzB,YAAY,EAAE,CAAC,OAAO,EAAE,aAAa,EAAE,EAAE,mBAAmB,EAAE,IAAI,EAAE,CAAC;QACrE,UAAU,EAAE,MAAM;QAClB,WAAW,EAAE,MAAM;QAEnB,yBAAyB,EAAE,CAAC,OAAO,EAAE,kBAAkB,CAAC;QACxD,mBAAmB,EAAE,CAAC,OAAO,EAAE,KAAK,CAAC;QACrC,oBAAoB,EAAE,KAAK;QAE3B,4BAA4B,EAAE,OAAO;KACrC;CACD,CACD,CAAA"}
|
package/dist/configs/json.d.ts
CHANGED
package/dist/configs/node.d.ts
CHANGED
package/dist/configs/vue-pug.js
CHANGED
|
@@ -1,9 +1,14 @@
|
|
|
1
|
-
import
|
|
1
|
+
import vuePugPlugin from 'eslint-plugin-vue-pug';
|
|
2
2
|
import { defineConfig } from 'eslint/config';
|
|
3
|
+
/*
|
|
4
|
+
* `eslint-plugin-vue-pug` is published as CommonJS but ships ESM style type
|
|
5
|
+
* declarations. TypeScript therefore models the default import as the module
|
|
6
|
+
* namespace object, while at runtime the default import already is the plugin
|
|
7
|
+
* itself.
|
|
8
|
+
*/
|
|
9
|
+
const vuePug = vuePugPlugin;
|
|
3
10
|
/**
|
|
4
11
|
* Shared ESLint configuration for Vue files using Pug templates.
|
|
5
12
|
*/
|
|
6
|
-
export default defineConfig(
|
|
7
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access
|
|
8
|
-
...vuePug.configs['flat/recommended']);
|
|
13
|
+
export default defineConfig(...vuePug.configs['flat/recommended']);
|
|
9
14
|
//# sourceMappingURL=vue-pug.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vue-pug.js","sourceRoot":"","sources":["../../configs/vue-pug.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"vue-pug.js","sourceRoot":"","sources":["../../configs/vue-pug.ts"],"names":[],"mappings":"AAEA,OAAO,YAAY,MAAM,uBAAuB,CAAA;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAE5C;;;;;GAKG;AACH,MAAM,MAAM,GAAG,YAAsD,CAAA;AAErE;;GAEG;AACH,eAAe,YAAY,CAC1B,GAAI,MAAM,CAAC,OAAO,CAAC,kBAAkB,CAAqB,CAC1D,CAAA"}
|
package/dist/configs/vue.d.ts
CHANGED
package/dist/configs/vue2.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dataport/eslint-config-geodev",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0-alpha.1",
|
|
4
4
|
"description": "Generic ESLint configuration for geo development projects at Dataport",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -40,17 +40,17 @@
|
|
|
40
40
|
"LICENSE"
|
|
41
41
|
],
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@eslint/js": "^
|
|
44
|
-
"@eslint/json": "^
|
|
45
|
-
"@eslint/markdown": "^
|
|
46
|
-
"@html-eslint/eslint-plugin": "^0.
|
|
43
|
+
"@eslint/js": "^10.0.1",
|
|
44
|
+
"@eslint/json": "^2.0.1",
|
|
45
|
+
"@eslint/markdown": "^8.0.3",
|
|
46
|
+
"@html-eslint/eslint-plugin": "^0.64.0",
|
|
47
47
|
"@typescript-eslint/parser": "^8.34.1",
|
|
48
48
|
"eslint-plugin-perfectionist": "^5.7.0",
|
|
49
49
|
"eslint-plugin-tsdoc": "^0.5.0",
|
|
50
50
|
"eslint-plugin-vue": "^10.0.0",
|
|
51
51
|
"eslint-plugin-vue-pug": "^1.0.0-alpha.3",
|
|
52
52
|
"globals": "^17.4.0",
|
|
53
|
-
"neostandard": "^0.
|
|
53
|
+
"neostandard": "^0.14.0-next.1",
|
|
54
54
|
"typescript-eslint": "^8.31.0",
|
|
55
55
|
"vue-eslint-parser": "^10.1.3"
|
|
56
56
|
},
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"conventional-changelog-conventionalcommits": "^10.2.0",
|
|
64
64
|
"conventional-commits-filter": "^6.0.0",
|
|
65
65
|
"conventional-commits-parser": "^7.0.0",
|
|
66
|
-
"eslint": "^
|
|
66
|
+
"eslint": "^10.8.1",
|
|
67
67
|
"husky": "^9.1.7",
|
|
68
68
|
"jiti": "^2.6.1",
|
|
69
69
|
"type-fest": "^5.0.1"
|