1.1.1 • Published 10 months ago

eslint-config-latest v1.1.1

Weekly downloads
3
License
MIT
Repository
github
Last release
10 months ago

ESLint Config Latest

Build Status Known Vulnerabilities

NPM

eslint-config-latest is the complete & latest ESLint configuration imcorporating Prettier for even better code formatting & unification. It also covers React, providing linting solution for your react code out of the box.

Support for testing frameworks mocha & jest. Also, no more semi-colons & it's okay!

The installation & usage is pretty simple & it's also fully customizable.

Usage

  • Download the npm version of eslint-config-latest add it to your project.
npm i -D eslint-config-latest
  • Create a .eslintrc.js config file:
module.exports = {
  extends: ["latest"]
}
  • Then, add lint scripts to package.json:
"scripts": {
  "lint": "eslint . --ext .js, .jsx, .ts, .tsx",
  "lint:fix": "eslint --fix . --ext .js, .jsx, .ts, .tsx"
}
  1. Run npm run lint to lint your code
  2. Run npm run lint:fix to lint, format and fix the code
  3. If you want to disable any rules or create an exception, just mention it at the top of your file.
/*eslint no-undef: 0*/

Or you can configure the .eslintrc.js & add new rules.

Happy linting! 👍

1.1.1

10 months ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.2.1

7 years ago

0.2.0

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago