Ignore:
Timestamp:
12/12/24 17:06:06 (5 weeks ago)
Author:
stefan toskovski <stefantoska84@…>
Branches:
main
Parents:
d565449
Message:

Pred finalna verzija

File:
1 edited

Legend:

Unmodified
Added
Removed
  • imaps-frontend/node_modules/eslint-plugin-react/lib/rules/jsx-closing-bracket-location.js

    rd565449 r0c6b92a  
    2121};
    2222
     23/** @type {import('eslint').Rule.RuleModule} */
    2324module.exports = {
    2425  meta: {
     
    101102     * Get expected location for the closing bracket
    102103     * @param {Object} tokens Locations of the opening bracket, closing bracket and last prop
    103      * @return {String} Expected location for the closing bracket
     104     * @return {string} Expected location for the closing bracket
    104105     */
    105106    function getExpectedLocation(tokens) {
     
    122123     * expected location.
    123124     * @param {Object} tokens Locations of the opening bracket, closing bracket and last prop
    124      * @param {String} expectedLocation Expected location for the closing bracket
     125     * @param {string} expectedLocation Expected location for the closing bracket
    125126     * @return {?Number} The correct column for the closing bracket, or null
    126127     */
     
    141142     * Check if the closing bracket is correctly located
    142143     * @param {Object} tokens Locations of the opening bracket, closing bracket and last prop
    143      * @param {String} expectedLocation Expected location for the closing bracket
    144      * @return {Boolean} True if the closing bracket is correctly located, false if not
     144     * @param {string} expectedLocation Expected location for the closing bracket
     145     * @return {boolean} True if the closing bracket is correctly located, false if not
    145146     */
    146147    function hasCorrectLocation(tokens, expectedLocation) {
     
    164165     * Get the characters used for indentation on the line to be matched
    165166     * @param {Object} tokens Locations of the opening bracket, closing bracket and last prop
    166      * @param {String} expectedLocation Expected location for the closing bracket
    167      * @param {Number} [correctColumn] Expected column for the closing bracket. Default to 0
    168      * @return {String} The characters used for indentation
     167     * @param {string} expectedLocation Expected location for the closing bracket
     168     * @param {number} [correctColumn] Expected column for the closing bracket. Default to 0
     169     * @return {string} The characters used for indentation
    169170     */
    170171    function getIndentation(tokens, expectedLocation, correctColumn) {
     
    236237     *
    237238     * @param {ASTNode} node The AST node being checked.
    238      * @returns {String} Unique ID (based on its range)
     239     * @returns {string} Unique ID (based on its range)
    239240     */
    240241    function getOpeningElementId(node) {
Note: See TracChangeset for help on using the changeset viewer.