eslint-config-skyux 12.14.1 → 12.14.3

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 (2) hide show
  1. package/README.md +16 -9
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -1,19 +1,26 @@
1
- # eslint-config-skyux (Developer Preview)
1
+ # eslint-config-skyux
2
2
 
3
- This library was generated with [Nx](https://nx.dev).
3
+ ## Prerequisites
4
4
 
5
- ## Running unit tests
5
+ - An Angular project using version 19 or higher
6
+ - The [`angular-eslint`](https://github.com/angular-eslint/angular-eslint/tree/main) package must be set up before installing `eslint-config-skyux`
6
7
 
7
- Run `nx test eslint-config-skyux` to execute the unit tests via [Jest](https://jestjs.io).
8
+ ## Install
8
9
 
9
- ## Implement in eslint.config.js
10
+ After setting up `angular-eslint`, run:
11
+
12
+ ```
13
+ ng add eslint-config-skyux
14
+ ```
15
+
16
+ ## Implement in eslint.config.mjs
10
17
 
11
18
  ```
12
19
  // @ts-check
13
- const skyux = require('eslint-config-skyux');
14
- const tseslint = require('typescript-eslint');
20
+ import skyux from 'eslint-config-skyux';
21
+ import tseslint from 'typescript-eslint';
15
22
 
16
- module.exports = tseslint.config(
23
+ export default tseslint.config(
17
24
  ...skyux,
18
25
  {
19
26
  languageOptions: {
@@ -24,7 +31,7 @@ module.exports = tseslint.config(
24
31
  },
25
32
  },
26
33
  {
27
- files: ['**/*.ts],
34
+ files: ['**/*.ts'],
28
35
  rules: {
29
36
  '@angular-eslint/directive-selector': [
30
37
  'error',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-skyux",
3
- "version": "12.14.1",
3
+ "version": "12.14.3",
4
4
  "author": "Blackbaud, Inc.",
5
5
  "description": "Recommended ESLint configuration for SKY UX projects",
6
6
  "keywords": [
@@ -24,17 +24,17 @@
24
24
  "packageGroupName": "skyux-eslint",
25
25
  "migrations": "@skyux-sdk/eslint-schematics/migrations.json",
26
26
  "packageGroup": {
27
- "@skyux-sdk/eslint-schematics": "12.14.1"
27
+ "@skyux-sdk/eslint-schematics": "12.14.3"
28
28
  }
29
29
  },
30
30
  "peerDependencies": {
31
31
  "@eslint/js": "^9.24.0",
32
32
  "angular-eslint": "^19.3.0",
33
- "skyux-eslint": "12.14.1",
33
+ "skyux-eslint": "12.14.3",
34
34
  "typescript-eslint": "^8.30.1"
35
35
  },
36
36
  "dependencies": {
37
- "@skyux-sdk/eslint-schematics": "12.14.1",
37
+ "@skyux-sdk/eslint-schematics": "12.14.3",
38
38
  "tslib": "^2.8.1"
39
39
  },
40
40
  "types": "./src/index.d.ts",