Sha256: 1803875c40ac7534ce9bc5c29d1c5e1ee2379712ab8569f7e3166ea56a8a5851
Contents?: true
Size: 846 Bytes
Versions: 43
Compression:
Stored size: 846 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 exponential operators.", category: "ES2016", recommended: false, url: "http://mysticatea.github.io/eslint-plugin-es/rules/no-exponential-operators.html", }, fixable: null, schema: [], messages: { forbidden: "ES2016 exponential operators are forbidden.", }, }, create(context) { return { "AssignmentExpression[operator='**='], BinaryExpression[operator='**']"( node ) { context.report({ node, messageId: "forbidden" }) }, } }, }
Version data entries
43 entries across 43 versions & 1 rubygems