This library was generated with Nx.
Run nx test skyux-eslint
to execute the unit tests via Jest.
// @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: {},
},
);
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