@neolution-ch/eslint-config-neolution 1.0.0 → 1.1.0
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 +10 -1
- package/LICENSE.md +21 -0
- package/README.md +6 -2
- package/index.js +1 -0
- package/package.json +1 -1
- package/rules/react-hooks.js +10 -0
package/CHANGELOG.md
CHANGED
|
@@ -7,12 +7,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [1.1.0] - 2022-10-17
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- Added MIT license
|
|
15
|
+
- Enable react-hooks rules
|
|
16
|
+
|
|
10
17
|
## [1.0.0] - 2022-10-06
|
|
11
18
|
|
|
12
19
|
### Added
|
|
13
20
|
|
|
14
21
|
- Initial release
|
|
15
22
|
|
|
16
|
-
[Unreleased]: https://github.com/neolution-ch/eslint-config-neolution/compare/1.
|
|
23
|
+
[Unreleased]: https://github.com/neolution-ch/eslint-config-neolution/compare/1.1.0...HEAD
|
|
24
|
+
|
|
25
|
+
[1.1.0]: https://github.com/neolution-ch/eslint-config-neolution/compare/1.0.0...1.1.0
|
|
17
26
|
|
|
18
27
|
[1.0.0]: https://github.com/neolution-ch/eslint-config-neolution/compare/5f308ef87fa2a779e56cb6af4510baf6e2deeb23...1.0.0
|
package/LICENSE.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2022 Neolution AG
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -13,7 +13,7 @@ yarn add -D @neolution-ch/eslint-config-neolution
|
|
|
13
13
|
|
|
14
14
|
Edit the `.eslintrc.js` of your project:
|
|
15
15
|
|
|
16
|
-
```
|
|
16
|
+
```js
|
|
17
17
|
module.exports = {
|
|
18
18
|
...
|
|
19
19
|
extends: ["@neolution-ch/eslint-config-neolution"],
|
|
@@ -25,7 +25,7 @@ module.exports = {
|
|
|
25
25
|
|
|
26
26
|
For React project you might need to adjust the "@typescript-eslint/naming-convention" rule to allow PascalCase for component names.
|
|
27
27
|
|
|
28
|
-
```
|
|
28
|
+
```js
|
|
29
29
|
module.exports = {
|
|
30
30
|
...
|
|
31
31
|
rules: {
|
|
@@ -42,3 +42,7 @@ module.exports = {
|
|
|
42
42
|
...
|
|
43
43
|
}
|
|
44
44
|
```
|
|
45
|
+
|
|
46
|
+
## License
|
|
47
|
+
|
|
48
|
+
[MIT](LICENSE.md)
|
package/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neolution-ch/eslint-config-neolution",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "This package provides Neolution's .eslintrc as an extensible shared config.",
|
|
5
5
|
"homepage": "https://github.com/neolution-ch/eslint-config-neolution",
|
|
6
6
|
"main": "index.js",
|