- Updated all component headers and documentation
- Changed navbar and footer branding
- Updated homepage hero badge
- Modified page title in index.html
- Simplified footer text to 'Built with ❤️'
- Consistent V2 capitalization across all references
9 lines
266 B
JavaScript
9 lines
266 B
JavaScript
'use strict';
|
|
|
|
const semver = require('semver');
|
|
const eslintPkg = require('eslint/package.json');
|
|
|
|
module.exports = function getMessageData(messageId, message) {
|
|
return messageId && semver.satisfies(eslintPkg.version, '>= 4.15') ? { messageId } : { message };
|
|
};
|