mirror of
https://github.com/mblanke/ThreatHunt.git
synced 2026-03-01 22:00:22 -05:00
CLAUDE branch
i made have screwed the pooch with this
This commit is contained in:
11
frontend/node_modules/eslint-plugin-react/lib/rules/no-did-update-set-state.js
generated
vendored
Normal file
11
frontend/node_modules/eslint-plugin-react/lib/rules/no-did-update-set-state.js
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
/**
|
||||
* @fileoverview Prevent usage of setState in componentDidUpdate
|
||||
* @author Yannick Croissant
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
const makeNoMethodSetStateRule = require('../util/makeNoMethodSetStateRule');
|
||||
|
||||
/** @type {import('eslint').Rule.RuleModule} */
|
||||
module.exports = makeNoMethodSetStateRule('componentDidUpdate');
|
||||
Reference in New Issue
Block a user