メンチカツ

ロースカツが好きです

2016-04-11から1日間の記事一覧

ESLintに「"$" is not defined no-undef」と怒られた

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