ESLint
componentDidMount() { $.get('/data/hoge.json', function (result) { this.setState({ hogeList: result }); }.bind(this)); } 上記を定義したReactコンポーネントをESLintでテストすると怒られた。 error "$" is not defined no-undef これは .eslintrcの…
componentDidMount() { $.get('/data/hoge.json', function (result) { this.setState({ hogeList: result }); }.bind(this)); } 上記を定義したReactコンポーネントをESLintでテストすると怒られた。 error "$" is not defined no-undef これは .eslintrcの…