Sha256: 52f03e748a0ac94e3f6a4a55ad83c1c7887cafb5892855d83b6f6b9ebba0d637
Contents?: true
Size: 767 Bytes
Versions: 43
Compression:
Stored size: 767 Bytes
Contents
/** * @author Toru Nagashima <https://github.com/mysticatea> * See LICENSE file in root directory for full license. */ "use strict" module.exports = { meta: { docs: { description: "disallow default parameters.", category: "ES2015", recommended: false, url: "http://mysticatea.github.io/eslint-plugin-es/rules/no-default-parameters.html", }, fixable: null, schema: [], messages: { forbidden: "ES2015 default parameters are forbidden.", }, }, create(context) { return { ":function > AssignmentPattern"(node) { context.report({ node, messageId: "forbidden" }) }, } }, }
Version data entries
43 entries across 43 versions & 1 rubygems