eslint-config-es
Advanced tools
Comparing version 1.0.0 to 2.0.0
{ | ||
"extends": "./2015/server.js" | ||
"extends": "./node.js" | ||
} |
{ | ||
"name": "eslint-config-es", | ||
"version": "1.0.0", | ||
"version": "2.0.0", | ||
"description": "eslint-config-es contains a strict ESLint configuration for ES2015+.", | ||
@@ -17,9 +17,23 @@ "contributors": [ | ||
"email": "stefan.heine@microfocus.com" | ||
}, | ||
{ | ||
"name": "Jan-Hendrik Grundhöfer", | ||
"email": "jan-hendrik.grundhoefer@thenativeweb.io" | ||
} | ||
], | ||
"main": "2015/server.js", | ||
"main": "node.js", | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"roboter": "4.0.2" | ||
"eslint": "5.16.0", | ||
"eslint-plugin-extended": "0.2.0", | ||
"eslint-plugin-mocha": "5.3.0", | ||
"eslint-plugin-react": "7.13.0", | ||
"react": "16.8.6" | ||
}, | ||
"scripts": { | ||
"analyse": "npx eslint --config node.js *.js", | ||
"publish-patch": "npm run analyse && npm version patch && git push --tags && git push && npm publish", | ||
"publish-minor": "npm run analyse && npm version minor && git push --tags && git push && npm publish", | ||
"publish-major": "npm run analyse && npm version major && git push --tags && git push && npm publish" | ||
}, | ||
"repository": { | ||
@@ -36,2 +50,3 @@ "type": "git", | ||
"es2018", | ||
"es2019", | ||
"eslint", | ||
@@ -38,0 +53,0 @@ "eslint-config" |
@@ -20,3 +20,3 @@ # eslint-config-es | ||
This module contains a very strict ESLint configuration for ES2015 and above, both for server and client development. Its aims to eradicate _any_ variation in code style. If you can not tell any more, based on little individual manners, who of your co-workers wrote a piece of code, this module succeeded. This helps you to narrow down your focus to pure functionality, as you do not have to think about code styling any more at all. | ||
This module contains a very strict ESLint configuration for ES2015 and above, both for Node.js and browser development. Its aims to eradicate _any_ variation in code style. If you can not tell any more, based on little individual manners, who of your co-workers wrote a piece of code, this module succeeded. This helps you to narrow down your focus to pure functionality, as you do not have to think about code styling any more at all. | ||
@@ -27,7 +27,7 @@ To use one of those configurations, create a `.eslintrc.json` file in your project and use the `extends` keyword. | ||
{ | ||
"extends": "es/2015/server" | ||
"extends": "es/node" | ||
} | ||
``` | ||
Alternatively, you may also use `es/2015/client`. | ||
Alternatively, you may also use `es/browser`. | ||
@@ -38,8 +38,18 @@ If you want to override any rules, you can do so in your configuration file. | ||
To build this module use [roboter](https://www.npmjs.com/package/roboter). | ||
Since this module is required by [roboter](https://www.npmjs.com/package/roboter), it can not use roboter to build itself. Hence you have to use `npm` for that. | ||
To analyse the source code run the following command: | ||
```shell | ||
$ npx roboter | ||
$ npm run analyse | ||
``` | ||
To release a new version run the following command: | ||
```shell | ||
$ npm run publish-patch | ||
``` | ||
Alternatively you may also use `publish-minor` and `publish-major`, depending on the changes you have made. | ||
## License | ||
@@ -46,0 +56,0 @@ |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Potential vulnerability
Supply chain riskInitial human review suggests the presence of a vulnerability in this package. It is pending further analysis and confirmation.
Found 1 instance in 1 package
25645
604
62
5