Skip to content

Commit

Permalink
chore: deprecate valid syntax rule
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron Harvey committed Nov 18, 2016
1 parent 8f355c2 commit d788c69
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/rules/validSyntax.js
Expand Up @@ -5,7 +5,7 @@ import {
quoteName
} from './../utilities';

export default iterateFunctionNodes((context) => {
const create = iterateFunctionNodes((context) => {
return (functionNode) => {
_.forEach(functionNode.params, (identifierNode) => {
const nodeType = _.get(identifierNode, 'type');
Expand All @@ -25,3 +25,11 @@ export default iterateFunctionNodes((context) => {
});
};
});

export default {
create,
meta: {
deprecated: true
}
};

0 comments on commit d788c69

Please sign in to comment.