@lbenie/linting 1.7.2 → 1.7.4
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/eslint/eslint.config.js +4 -2
- package/package.json +2 -2
package/eslint/eslint.config.js
CHANGED
|
@@ -90,6 +90,8 @@ const defaultRules = {
|
|
|
90
90
|
...litA11y.configs.recommended.rules,
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
+
const defaultTsProjects = ['./tsconfig.json', './tsconfig.spec.json']
|
|
94
|
+
|
|
93
95
|
/**
|
|
94
96
|
* @type {import('eslint').Linter.FlatConfig[]}
|
|
95
97
|
*/
|
|
@@ -121,7 +123,7 @@ const config = [
|
|
|
121
123
|
parserOptions: {
|
|
122
124
|
...defaultOptions.languageOptions.parserOptions,
|
|
123
125
|
parser: typescriptParser,
|
|
124
|
-
project: [
|
|
126
|
+
project: [...defaultTsProjects],
|
|
125
127
|
},
|
|
126
128
|
},
|
|
127
129
|
plugins: {
|
|
@@ -141,7 +143,7 @@ const config = [
|
|
|
141
143
|
parserOptions: {
|
|
142
144
|
...defaultOptions.languageOptions.parserOptions,
|
|
143
145
|
parser: typescriptParser,
|
|
144
|
-
project: [
|
|
146
|
+
project: [...defaultTsProjects],
|
|
145
147
|
},
|
|
146
148
|
},
|
|
147
149
|
rules: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lbenie/linting",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.4",
|
|
4
4
|
"description": "my opiniated rules",
|
|
5
5
|
"repository": {
|
|
6
6
|
"url": "https://github.com/lbenie/linting"
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"@typescript-eslint/parser": "7.4.0",
|
|
57
57
|
"eslint": "8.57.0",
|
|
58
58
|
"eslint-plugin-astro": "0.33.1",
|
|
59
|
-
"eslint-plugin-functional": "6.
|
|
59
|
+
"eslint-plugin-functional": "6.3.0",
|
|
60
60
|
"eslint-plugin-jsdoc": "48.2.2",
|
|
61
61
|
"eslint-plugin-jsx-a11y": "6.8.0",
|
|
62
62
|
"eslint-plugin-lit-a11y": "4.1.2",
|