eslint-config-beslogic 2.3.1 → 2.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/CHANGELOG.md +5 -2
- package/angular.js +11 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2.3.2
|
|
4
|
+
|
|
5
|
+
- Added "data-service", "interceptor" and "guard" as valid suffix for `angular-file-naming/service-filename-suffix`.
|
|
6
|
+
|
|
3
7
|
## 2.3.1
|
|
4
8
|
|
|
5
|
-
|
|
6
|
-
- Fixed the following error when parsing `typescript`` config:\
|
|
9
|
+
- Fixed the following error when parsing `typescript` config:
|
|
7
10
|
`Configuration for rule "@typescript-eslint/prefer-string-starts-ends-with" is invalid: Value true should be string.`
|
|
8
11
|
- Added `no-restricted-syntax` rules to ensure that Angular optional dependencies are marked as optional in TypeScript and vice-versa
|
|
9
12
|
- Fixed Storybook custom `.ts` configuration not being applied
|
package/angular.js
CHANGED
|
@@ -202,7 +202,17 @@ module.exports = {
|
|
|
202
202
|
"angular-file-naming/directive-filename-suffix": "error",
|
|
203
203
|
"angular-file-naming/module-filename-suffix": "error",
|
|
204
204
|
"angular-file-naming/pipe-filename-suffix": "error",
|
|
205
|
-
"angular-file-naming/service-filename-suffix":
|
|
205
|
+
"angular-file-naming/service-filename-suffix": [
|
|
206
|
+
"error",
|
|
207
|
+
{
|
|
208
|
+
"suffixes": [
|
|
209
|
+
"service",
|
|
210
|
+
"data-service",
|
|
211
|
+
"interceptor",
|
|
212
|
+
"guard"
|
|
213
|
+
]
|
|
214
|
+
}
|
|
215
|
+
],
|
|
206
216
|
|
|
207
217
|
/*
|
|
208
218
|
* rxjs-angular rules
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-beslogic",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.2",
|
|
4
4
|
"description": "ESLint rules, plugins and configs used at Beslogic",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"// dependencies": "Run for ourselves when we install dependencies w/o running npm i afterward",
|