@leancodepl/linting 8.4.0 → 8.5.1

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/README.md +44 -6
  3. 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.1](https://github.com/leancodepl/js_corelibrary/compare/v8.5.0...v8.5.1) (2025-07-14)
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.5.0](https://github.com/leancodepl/js_corelibrary/compare/v8.4.0...v8.5.0) (2025-07-11)
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.4.0](https://github.com/leancodepl/js_corelibrary/compare/v8.3.6...v8.4.0) (2025-06-20)
7
25
 
8
26
  **Note:** Version bump only for package @leancodepl/linting
package/README.md CHANGED
@@ -1,11 +1,49 @@
1
- # linting
1
+ # @leancodepl/linting
2
2
 
3
- This library was generated with [Nx](https://nx.dev).
3
+ Linting and formatting setup for TypeScript and React projects.
4
4
 
5
- ## Building
5
+ ## Installation
6
6
 
7
- Run `nx build linting` to build the library.
7
+ ```bash
8
+ npm install --save-dev @leancodepl/linting
9
+ # or
10
+ yarn add --dev @leancodepl/linting
11
+ ```
8
12
 
9
- ## Running unit tests
13
+ ## Included Packages
10
14
 
11
- Run `nx test linting` to execute the unit tests via [Jest](https://jestjs.io).
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.4.0",
3
+ "version": "8.5.1",
4
4
  "license": "Apache-2.0",
5
5
  "dependencies": {
6
- "@leancodepl/eslint-config": "8.4.0",
7
- "@leancodepl/prettier-config": "8.4.0",
8
- "@leancodepl/stylelint-config": "8.4.0"
9
- }
6
+ "@leancodepl/eslint-config": "8.5.1",
7
+ "@leancodepl/prettier-config": "8.5.1",
8
+ "@leancodepl/stylelint-config": "8.5.1"
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
  }