Skip to content

Commit

Permalink
fix: lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
nicksteffens committed Feb 8, 2021
1 parent 74df6a9 commit abf7dd5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
10 changes: 7 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,15 @@ module.exports = {
},
'avoid-deprecated-elements': {
rules: {
'no-forbidden-elements': ['b', 'i']
}
'no-forbidden-elements': ['b', 'i'],
},
},
base: {
extends: ['recommended', '@movable/template-lint-plugin:avoid-possible-typos', '@movable/template-lint-plugin:avoid-deprecated-elements'],
extends: [
'recommended',
'@movable/template-lint-plugin:avoid-possible-typos',
'@movable/template-lint-plugin:avoid-deprecated-elements',
],
rules: {
// Overrides to built-in "recommended" rules
'no-inline-styles': {
Expand Down
4 changes: 3 additions & 1 deletion tests/lib/rules/no-forbidden-elements.test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
'use strict';

const { ERROR_MESSAGE_FORBIDDEN_ELEMENTS } = require('ember-template-lint/lib/rules/no-forbidden-elements');
const {
ERROR_MESSAGE_FORBIDDEN_ELEMENTS,
} = require('ember-template-lint/lib/rules/no-forbidden-elements');
const generateRuleTests = require('../../helpers/rule-test-harness');

generateRuleTests({
Expand Down

0 comments on commit abf7dd5

Please sign in to comment.