Skip to content

Commit

Permalink
Improve function-name-case rule to ignore proprietary MS filters
Browse files Browse the repository at this point in the history
Ignoring proprietary Microsoft filters `DXImageTransform.Microsoft.*`
in `function-name-case` rule. Follow-up to #3.
  • Loading branch information
Volker-E committed Jan 11, 2017
1 parent a2ff349 commit e8868e2
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions index.js
Expand Up @@ -39,7 +39,9 @@ module.exports = {
"declaration-bang-space-after": [ "never" ],
"declaration-bang-space-before": [ "always" ],

"declaration-block-no-duplicate-properties": [ true, { ignore: [ "consecutive-duplicates" ] } ],
"declaration-block-no-duplicate-properties": [ true, {
ignore: [ "consecutive-duplicates" ]
} ],
"declaration-block-no-redundant-longhand-properties": true,
"declaration-block-no-shorthand-property-overrides": true,

Expand Down Expand Up @@ -69,7 +71,9 @@ module.exports = {
"function-comma-space-before": [ "never" ],
"function-linear-gradient-no-nonstandard-direction": true,
"function-max-empty-lines": 0,
"function-name-case": [ "lower" ],
"function-name-case": [ "lower", {
ignoreFunctions: [ "/^DXImageTransform.Microsoft.*$/" ]
} ],
"function-parentheses-newline-inside": [ "never-multi-line" ],
"function-parentheses-space-inside": [ "always" ],
"function-url-no-scheme-relative": true,
Expand Down

0 comments on commit e8868e2

Please sign in to comment.