1.0.2 • Published 2 years ago

eslint-config-standard-ng v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

ESLint (and Prettier) configuration

npm version NPM downloads GitHub issues Code Style Prettier MIT License

ESLint configuration based on recommended best practices for an Angular project

What it does

This setup lints your JavaScript code based on practices. Check the .eslintrc.js file to see what is included. Feel free to override the rules that make sense for you.

Installing

  1. In your project folder, run:
npm i -D eslint-config-standard-ng # or yarn install --dev eslint-config-standard-ng
npx install-peerdeps --dev eslint-config-standard-ng
  1. You will see several dependencies were installed. Now, create (or update) a .eslintrc file with the following content:
{
  'extends': [
    'standard-ng'
  ]
}
  1. Copy the .prettierrc.js file from this repository into your project folder
1.0.2

2 years ago

1.0.0

2 years ago