0.2.2 • Published 8 months ago
eslint-config-postman v0.2.2
Common ESLint rules for Postman
Installation
npm install --save-dev eslint-config-postman
Configuration
Update the .eslintrc
in the project root as follows:
{
"root": true,
"extends": "postman"
}
Usage
Only make these changes if you want to remove ESLint as a direct dependency.
CLI
No changes needed!
Programmatic
Replace require('eslint')
with require('eslint-config-postman/node_modules/eslint')
More details: https://eslint.org/docs/developer-guide/nodejs-api
Cleanup
If you're not using additional plugins, prune nested config files with:
find . -name .eslintrc -type f -mindepth 2 -delete;
Optional
This is recommended to abstract plugin specifics away into one config bundle Skip this if you're using ESLint as a CLI, or if you're using other plugins in addition to those covered by this config
npm uninstall eslint eslint-plugin-jsdoc eslint-plugin-lodash eslint-plugin-mocha eslint-plugin-node eslint-plugin-security
0.2.2-beta.0
8 months ago
0.2.1
8 months ago
0.2.2
8 months ago
0.2.1-beta.0
8 months ago
0.2.1-beta.1
8 months ago
0.1.2
1 year ago
0.2.0
1 year ago
0.1.0
2 years ago
0.0.3
3 years ago
0.1.1
2 years ago
0.0.2
3 years ago
0.0.1
3 years ago