eslint-plugin-turmag-special-rules 1.0.32 → 1.0.33
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/lib/rules/index.ts +15 -0
- package/package.json +3 -2
- package/lib/index.ts +0 -15
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import addVueExtension from './add-vue-extension.js';
|
|
2
|
+
import importEntitesByColumnOrLine from './import-entities-by-column-or-line.js';
|
|
3
|
+
import preferTrueAttributeShorthand from './prefer-true-attribute-shorthand.js';
|
|
4
|
+
import useShortestAlias from './use-shortest-alias.js';
|
|
5
|
+
import variableEntitiesByColumnOrLine from './variable-entities-by-column-or-line.js';
|
|
6
|
+
|
|
7
|
+
export const rules = {
|
|
8
|
+
'add-vue-extension': addVueExtension,
|
|
9
|
+
'import-entities-by-column-or-line': importEntitesByColumnOrLine,
|
|
10
|
+
'prefer-true-attribute-shorthand': preferTrueAttributeShorthand,
|
|
11
|
+
'use-shortest-alias': useShortestAlias,
|
|
12
|
+
'variable-entities-by-column-or-line': variableEntitiesByColumnOrLine,
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
export default { rules };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-plugin-turmag-special-rules",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.33",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Special eslint rules for your awesome projects",
|
|
6
6
|
"keywords": [
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
],
|
|
11
11
|
"author": "Pavel",
|
|
12
12
|
"main": "./lib/index.ts",
|
|
13
|
-
"exports": "./
|
|
13
|
+
"exports": "./dist/index.js",
|
|
14
14
|
"files": [
|
|
15
15
|
"lib"
|
|
16
16
|
],
|
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
"eslint-doc-generator": "^1.0.0",
|
|
33
33
|
"eslint-plugin-eslint-plugin": "^6.0.0",
|
|
34
34
|
"eslint-plugin-n": "^17.0.0",
|
|
35
|
+
"eslint-scope": "^9.1.0",
|
|
35
36
|
"jest": "^30.2.0",
|
|
36
37
|
"mocha": "^10.0.0",
|
|
37
38
|
"npm-run-all2": "^6.1.2",
|
package/lib/index.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import addVueExtension from './rules/add-vue-extension.js';
|
|
2
|
-
import importEntitesByColumnOrLine from './rules/import-entities-by-column-or-line';
|
|
3
|
-
import preferTrueAttributeShorthand from './rules/prefer-true-attribute-shorthand';
|
|
4
|
-
import useShortestAlias from './rules/use-shortest-alias';
|
|
5
|
-
import variableEntitiesByColumnOrLine from './rules/variable-entities-by-column-or-line';
|
|
6
|
-
|
|
7
|
-
export const rules = {
|
|
8
|
-
'add-vue-extension': addVueExtension,
|
|
9
|
-
'import-entities-by-column-or-line': importEntitesByColumnOrLine,
|
|
10
|
-
'prefer-true-attribute-shorthand': preferTrueAttributeShorthand,
|
|
11
|
-
'use-shortest-alias': useShortestAlias,
|
|
12
|
-
'variable-entities-by-column-or-line': variableEntitiesByColumnOrLine,
|
|
13
|
-
};
|
|
14
|
-
|
|
15
|
-
export default { rules };
|