@leancodepl/linting 8.3.6 → 8.5.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 +37 -19
- package/README.md +44 -6
- package/package.json +36 -5
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,24 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See
|
|
4
4
|
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [8.5.0](https://github.com/leancodepl/js_corelibrary/compare/v8.4.0...v8.5.0) (2025-07-11)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @leancodepl/linting
|
|
9
|
+
|
|
10
|
+
# Change Log
|
|
11
|
+
|
|
12
|
+
All notable changes to this project will be documented in this file. See
|
|
13
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
14
|
+
|
|
15
|
+
# [8.4.0](https://github.com/leancodepl/js_corelibrary/compare/v8.3.6...v8.4.0) (2025-06-20)
|
|
16
|
+
|
|
17
|
+
**Note:** Version bump only for package @leancodepl/linting
|
|
18
|
+
|
|
19
|
+
# Change Log
|
|
20
|
+
|
|
21
|
+
All notable changes to this project will be documented in this file. See
|
|
22
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
23
|
+
|
|
6
24
|
## [8.3.6](https://github.com/leancodepl/js_corelibrary/compare/v8.3.5...v8.3.6) (2025-02-14)
|
|
7
25
|
|
|
8
26
|
**Note:** Version bump only for package @leancodepl/linting
|
|
@@ -330,7 +348,7 @@ All notable changes to this project will be documented in this file. See
|
|
|
330
348
|
|
|
331
349
|
### Features
|
|
332
350
|
|
|
333
|
-
-
|
|
351
|
+
- upgrade linters deps ([0d265aa](https://github.com/projects/leancodepl/repos/js_corelibrary/commits/0d265aa))
|
|
334
352
|
|
|
335
353
|
<a name="6.3.0"></a>
|
|
336
354
|
|
|
@@ -450,51 +468,51 @@ All notable changes to this project will be documented in this file. See
|
|
|
450
468
|
|
|
451
469
|
## 4.1.0 (2020-02-06)
|
|
452
470
|
|
|
453
|
-
-
|
|
471
|
+
- v4.1.0-alpha.6 ([b8f6eb1](https://bitbucket.org/leancode-team/core-js-library/commits/b8f6eb1))
|
|
454
472
|
|
|
455
473
|
## 4.1.0-alpha.5 (2020-02-06)
|
|
456
474
|
|
|
457
|
-
-
|
|
475
|
+
- v4.1.0-alpha.5 ([981a306](https://bitbucket.org/leancode-team/core-js-library/commits/981a306))
|
|
458
476
|
|
|
459
477
|
## 4.1.0-alpha.4 (2020-02-06)
|
|
460
478
|
|
|
461
|
-
-
|
|
479
|
+
- v4.1.0-alpha.4 ([d778eb6](https://bitbucket.org/leancode-team/core-js-library/commits/d778eb6))
|
|
462
480
|
|
|
463
481
|
## 4.1.0-alpha.3 (2019-11-06)
|
|
464
482
|
|
|
465
|
-
-
|
|
483
|
+
- v4.1.0-alpha.3 ([cb0f016](https://bitbucket.org/leancode-team/core-js-library/commits/cb0f016))
|
|
466
484
|
|
|
467
485
|
## 4.1.0-alpha.2 (2019-11-06)
|
|
468
486
|
|
|
469
|
-
-
|
|
487
|
+
- v4.1.0-alpha.2 ([5ca8c93](https://bitbucket.org/leancode-team/core-js-library/commits/5ca8c93))
|
|
470
488
|
|
|
471
489
|
## 4.1.0-alpha.1 (2019-11-06)
|
|
472
490
|
|
|
473
|
-
-
|
|
491
|
+
- v4.1.0-alpha.1 ([e51eab2](https://bitbucket.org/leancode-team/core-js-library/commits/e51eab2))
|
|
474
492
|
|
|
475
493
|
## 4.1.0-alpha.0 (2019-11-06)
|
|
476
494
|
|
|
477
|
-
-
|
|
478
|
-
-
|
|
495
|
+
- Update linters dependencies ([aa28dce](https://bitbucket.org/leancode-team/core-js-library/commits/aa28dce))
|
|
496
|
+
- v4.1.0-alpha.0 ([5fd0ce1](https://bitbucket.org/leancode-team/core-js-library/commits/5fd0ce1))
|
|
479
497
|
|
|
480
498
|
## 4.0.0 (2019-10-23)
|
|
481
499
|
|
|
482
|
-
-
|
|
500
|
+
- v4.0.0 ([1d5b7a4](https://bitbucket.org/leancode-team/core-js-library/commits/1d5b7a4))
|
|
483
501
|
|
|
484
502
|
## <small>3.4.97 (2019-09-20)</small>
|
|
485
503
|
|
|
486
|
-
-
|
|
504
|
+
- v3.4.97 ([4363149](https://bitbucket.org/leancode-team/core-js-library/commits/4363149))
|
|
487
505
|
|
|
488
506
|
## <small>3.4.96 (2019-09-20)</small>
|
|
489
507
|
|
|
490
|
-
-
|
|
508
|
+
- v3.4.96 ([bd3998b](https://bitbucket.org/leancode-team/core-js-library/commits/bd3998b))
|
|
491
509
|
|
|
492
510
|
## <small>3.4.95 (2019-09-20)</small>
|
|
493
511
|
|
|
494
|
-
-
|
|
495
|
-
|
|
496
|
-
-
|
|
497
|
-
-
|
|
498
|
-
|
|
499
|
-
-
|
|
500
|
-
-
|
|
512
|
+
- Add build system and bump packages versions
|
|
513
|
+
([097d5c3](https://bitbucket.org/leancode-team/core-js-library/commits/097d5c3))
|
|
514
|
+
- Add linting configuration ([d047ffa](https://bitbucket.org/leancode-team/core-js-library/commits/d047ffa))
|
|
515
|
+
- Make linters configuration more detailed
|
|
516
|
+
([617dde4](https://bitbucket.org/leancode-team/core-js-library/commits/617dde4))
|
|
517
|
+
- Update linters dependencies ([07d26dc](https://bitbucket.org/leancode-team/core-js-library/commits/07d26dc))
|
|
518
|
+
- v3.4.95 ([c84752b](https://bitbucket.org/leancode-team/core-js-library/commits/c84752b))
|
package/README.md
CHANGED
|
@@ -1,11 +1,49 @@
|
|
|
1
|
-
# linting
|
|
1
|
+
# @leancodepl/linting
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Linting and formatting setup for TypeScript and React projects.
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## Installation
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
```bash
|
|
8
|
+
npm install --save-dev @leancodepl/linting
|
|
9
|
+
# or
|
|
10
|
+
yarn add --dev @leancodepl/linting
|
|
11
|
+
```
|
|
8
12
|
|
|
9
|
-
##
|
|
13
|
+
## Included Packages
|
|
10
14
|
|
|
11
|
-
|
|
15
|
+
- `@leancodepl/eslint-config` - ESLint rules for TypeScript and React
|
|
16
|
+
- `@leancodepl/prettier-config` - Prettier formatting configuration
|
|
17
|
+
- `@leancodepl/stylelint-config` - Stylelint rules for CSS and SCSS
|
|
18
|
+
|
|
19
|
+
## Usage Examples
|
|
20
|
+
|
|
21
|
+
### ESLint Configuration
|
|
22
|
+
|
|
23
|
+
```javascript
|
|
24
|
+
// eslint.config.js
|
|
25
|
+
import { base, baseReact, imports, a11y } from '@leancodepl/eslint-config';
|
|
26
|
+
|
|
27
|
+
export default [
|
|
28
|
+
...base,
|
|
29
|
+
...baseReact,
|
|
30
|
+
...imports,
|
|
31
|
+
...a11y,
|
|
32
|
+
];
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
### Prettier Configuration
|
|
36
|
+
|
|
37
|
+
```javascript
|
|
38
|
+
// prettier.config.js
|
|
39
|
+
module.exports = require('@leancodepl/prettier-config');
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
### Stylelint Configuration
|
|
43
|
+
|
|
44
|
+
```javascript
|
|
45
|
+
// stylelint.config.js
|
|
46
|
+
module.exports = {
|
|
47
|
+
extends: '@leancodepl/stylelint-config',
|
|
48
|
+
};
|
|
49
|
+
```
|
package/package.json
CHANGED
|
@@ -1,10 +1,41 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leancodepl/linting",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.5.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@leancodepl/eslint-config": "8.
|
|
7
|
-
"@leancodepl/prettier-config": "8.
|
|
8
|
-
"@leancodepl/stylelint-config": "8.
|
|
9
|
-
}
|
|
6
|
+
"@leancodepl/eslint-config": "8.5.0",
|
|
7
|
+
"@leancodepl/prettier-config": "8.5.0",
|
|
8
|
+
"@leancodepl/stylelint-config": "8.5.0"
|
|
9
|
+
},
|
|
10
|
+
"publishConfig": {
|
|
11
|
+
"access": "public",
|
|
12
|
+
"registry": "https://registry.npmjs.org/"
|
|
13
|
+
},
|
|
14
|
+
"engines": {
|
|
15
|
+
"node": ">=18.0.0"
|
|
16
|
+
},
|
|
17
|
+
"repository": {
|
|
18
|
+
"type": "git",
|
|
19
|
+
"url": "git+https://github.com/leancodepl/js_corelibrary.git",
|
|
20
|
+
"directory": "packages/linters/linting"
|
|
21
|
+
},
|
|
22
|
+
"homepage": "https://github.com/leancodepl/js_corelibrary",
|
|
23
|
+
"bugs": {
|
|
24
|
+
"url": "https://github.com/leancodepl/js_corelibrary/issues"
|
|
25
|
+
},
|
|
26
|
+
"description": "Meta-package for LeanCode linting configurations",
|
|
27
|
+
"keywords": [
|
|
28
|
+
"linting",
|
|
29
|
+
"eslint",
|
|
30
|
+
"prettier",
|
|
31
|
+
"stylelint",
|
|
32
|
+
"typescript",
|
|
33
|
+
"javascript",
|
|
34
|
+
"leancode"
|
|
35
|
+
],
|
|
36
|
+
"author": {
|
|
37
|
+
"name": "LeanCode",
|
|
38
|
+
"url": "https://leancode.co"
|
|
39
|
+
},
|
|
40
|
+
"sideEffects": false
|
|
10
41
|
}
|