Skip to content

Commit 01a4ae7

Browse files
committed
## 1.9.0 - March 2022
* Closes #15, Allowing mixing different error level. * This bug required that the same rule can be defined with different error levels, that is not possible at the moment on eslint. Error level is not available at plugin level (as indicate by ESLint official documentation: "Keep in mind that the error level is not part of context.options, as the error level cannot be known or modified from inside a rule"). So I came up a different approach, which not only **allows to use "the same" rule with different error levels**, but also **allows Mixing custom set of regex rules**, this is useful for creating package/libraries/plugins with your own set of rules and sharing it with others. * Improves project configuration. * Now uses [`any-eslint-parser`](https://www.npmjs.com/package/any-eslint-parser) * Improves documentation. * Mixing.
1 parent 7427e21 commit 01a4ae7

26 files changed

+4484
-1010
lines changed

.eslintrc-any.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"extends": [ "plugin:base-style-config/common-rules" ],
3+
"plugins": [ "base-style-config" ],
4+
"parser": "any-eslint-parser"
5+
}

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# ESLint Plugin Regex Change Log
22

3+
## 1.9.0 - March 2022
4+
5+
* Closes #15, Allowing mixing different error level.
6+
* This bug required that the same rule can be defined with different error levels, that is not possible at the moment on eslint. Error level is not available at plugin level (as indicate by ESLint official documentation: "Keep in mind that the error level is not part of context.options, as the error level cannot be known or modified from inside a rule"). So I came up a different approach, which not only **allows to use "the same" rule with different error levels**, but also **allows Mixing custom set of regex rules**, this is useful for creating package/libraries/plugins with your own set of rules and sharing it with others.
7+
* Improves project configuration.
8+
* Now uses [`any-eslint-parser`](https://www.npmjs.com/package/any-eslint-parser)
9+
* Improves documentation.
10+
* Mixing
11+
312
## 1.8.0 - August 2021
413

514
* Closes #11, Improves the specification of the number of the line of the found error for the final report, Thanks to Maxim-Mazurok for His collaboration.

0 commit comments

Comments
 (0)