课程: Learning Full-Stack JavaScript Development: MongoDB, Node, and React
今天就学习课程吧!
今天就开通帐号,24,700 门业界名师课程任您挑!
ESLint
- [Instructor] In a previous video, we installed ESLint, but we have not configured it yet. I've included an ESLint configuration file under the copy folder, and there's also a couple of ignore files. Let's put all these files top level and talk about them. Git uses this gitignore file to ignore files and folders in the project and not include them in Git commits. For example, Node modules should not be included when we commit this source code, which I'm going to be doing soon to have a branch for our progress so far. Also, the generated Webpack bundle should be ignored as well. And similarly, eslintignore can be used to have ESLint skip files and folders. I've ignored the configuration files here as they're not TypeScript, and we're going to be using ESLint with TypeScript. If you take a look at the eslintrc.js file, you'll notice it'll be using a TypeScript parser and two plugins for React. And it activates all the…