Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,9 @@

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Started some offline discussion with @jattasNI if we want to track this in styleguide packages.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Related, we should probably have the selectors be narrowly scoped, i.e. ok-fv-card[interaction-mode]

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

brainstorming, other potential locations could be an @ni-labs package in this repo or in a separate repo

# These owners will be the default owners for everything in the repo.
* @jattasNI @rajsite

# Specific content owners
/**/fv/** @jattasNI @fredvisser

# Change files don't need explicit reviewers
/change
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "fv attribute list config",
"packageName": "@ni/eslint-config-angular",
"email": "1588923+rajsite@users.noreply.github.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// Fv angular attributes that SHOULD NOT be localized in production (i.e. enums)

export const fvIgnoreAttributes = [
];
7 changes: 7 additions & 0 deletions packages/eslint-config-angular/lib/template-options.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
// CSS selector style element[attribute] ignore entries
// which can be used to scope attribute ignores to specific
// elements.

import { fvIgnoreAttributes } from './ok/fv/ignore-attributes.js';

const ignoreAttributeSets = {
web: [
'accept',
Expand Down Expand Up @@ -111,6 +114,10 @@ const ignoreAttributeSets = {
// chat
'message-type'
],
ok: [
// fv
...fvIgnoreAttributes
],
systemlink: [
// gainsights telemetry
'data-telemetry',
Expand Down
Loading