Skip to content

Commit

Permalink
Address feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
justinfagnani committed Jan 31, 2024
1 parent e6bf564 commit 5adce21
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/labs/eslint-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"clean": "if-file-deleted"
},
"test": {
"command": "node --enable-source-maps --test-reporter=dot --test test/**/*_test.js",
"command": "node --enable-source-maps --test-reporter=spec --test test/**/*_test.js",
"dependencies": [
"build"
],
Expand Down
2 changes: 1 addition & 1 deletion packages/labs/eslint-plugin/src/lib/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import ts from 'typescript';
import * as path from 'path';

export const createRule = ESLintUtils.RuleCreator(
// TODO (justinfagnani): set up rule doc publishing pipeline for lit.dev
(name: string) => `https://lit.dev/eslint-plugin/${name}`
);

Expand All @@ -29,7 +30,6 @@ export const getAnalyzer = (services: ParserServicesWithTypeInformation) => {
getProgram: () => program,
fs: ts.sys,
path,
// basePath,
});
}
return analyzer;
Expand Down
1 change: 0 additions & 1 deletion packages/labs/eslint-plugin/src/rules/attribute-names.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ export const attributeNames = createRule({
return;
}
const properties = declaration.reactiveProperties;
// const propertyMap = getPropertyMap(node);

for (const [propertyName, property] of properties.entries()) {
const attributeOptionNode = property.optionsNode?.properties.find(
Expand Down

0 comments on commit 5adce21

Please sign in to comment.