skyux-eslint
TypeScript icon, indicating that this package has built-in type declarations

11.22.0 • Public • Published

skyux-eslint (Developer Preview)

This library was generated with Nx.

Running unit tests

Run nx test skyux-eslint to execute the unit tests via Jest.

Implement in eslint.config.js

// @ts-check
const eslint = require('@eslint/js');
const angular = require('angular-eslint');
const skyux = require('skyux-eslint');
const tseslint = require('typescript-eslint');

module.exports = tseslint.config(
  {
    files: ['**/*.ts'],
    extends: [
      eslint.configs.recommended,
      ...tseslint.configs.recommended,
      ...tseslint.configs.stylistic,
      ...angular.configs.tsRecommended,
      ...skyux.configs.tsRecommended,
    ],
    processor: angular.processInlineTemplates,
    rules: {
      // ...
    },
  },
  {
    files: ['**/*.html'],
    extends: [
      ...angular.configs.templateRecommended,
      ...angular.configs.templateAccessibility,
      ...skyux.configs.templateRecommended,
    ],
    rules: {},
  },
);

Refresh deprecations summary for skyux-eslint-template/no-deprecated-directives rule

Note: Only do this for prerelease versions since updating the deprecations summary could result in a breaking change for our consumers.

npm run dev:refresh-skyux-eslint-deprecations-summary

Readme

Keywords

Package Sidebar

Install

npm i skyux-eslint

Weekly Downloads

177

Version

11.22.0

License

MIT

Unpacked Size

96.2 kB

Total Files

60

Last publish

Collaborators

  • blackbaud