Socket
Socket
Sign inDemoInstall

eslint-config-twilio-mocha

Package Overview
Dependencies
225
Maintainers
4
Versions
20
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.35.1 to 2.0.0-alpha.0

22

package.json
{
"name": "eslint-config-twilio-mocha",
"version": "1.35.1",
"version": "2.0.0-alpha.0",
"description": "Twilio's ESLint Mocha config",

@@ -40,18 +40,18 @@ "keywords": [

"eslint-config-prettier": "^8.3.0",
"eslint-config-twilio": "^1.35.1",
"eslint-config-twilio-base": "^1.35.1",
"eslint-plugin-chai-friendly": "^0.7.1",
"eslint-plugin-import": "^2.23.4",
"eslint-config-twilio": "2.0.0-alpha.0",
"eslint-config-twilio-base": "2.0.0-alpha.0",
"eslint-plugin-chai-friendly": "^0.7.2",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-no-only-tests": "^2.6.0",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-sonarjs": "^0.7.0",
"prettier": "^2.3.0"
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-sonarjs": "^0.11.0",
"prettier": "^2.5.1"
},
"devDependencies": {
"eslint": "^5.0.0 || ^6.0.0 || ^7.0.0"
"eslint": "^8"
},
"peerDependencies": {
"eslint": "^5.0.0 || ^6.0.0 || ^7.0.0"
"eslint": "^8"
},
"gitHead": "65b6b2d7e16c0b4fe6ae8f7752b10bb5d148f1aa"
"gitHead": "1632f4dba2f98b95e53031e43630be010ad64b41"
}

@@ -61,4 +61,7 @@ # eslint-config-twilio-mocha

If you want to allow your IDE to auto-format your code as you save it, then create `.prettierrc.js` and add:
This package makes use of Prettier for setting specific code formatting rules in your project.
If you want to allow your IDE to auto-format your code as you save it, then create a `.prettierrc.js`
and import the base configuration from the `eslint-config-twilio`.
```js

@@ -70,2 +73,13 @@ const baseConfig = require('./node_modules/eslint-config-twilio/rules/prettier');

};
```
```
You might also want to edit/extend those rules according to your project style-guide.
To do that, you will need to make ESLint aware of the changes.
From your `.eslintrc` file, add the following override rules:
```json
"prettier/prettier": ["warn", {}, {
"usePrettierrc": true
}],
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc