Skip to content

Commit

Permalink
feat(eslint-config): remove eslint-plugin-security
Browse files Browse the repository at this point in the history
  • Loading branch information
dangreen committed Feb 4, 2022
1 parent 23d596a commit 93993be
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 19 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion packages/eslint-config/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ npm i -D @trigen/eslint-config

## Configure

Create `.eslintrc` with next content:
Create `.eslintrc.json` with next content:

```json
{
Expand Down
23 changes: 11 additions & 12 deletions packages/eslint-config/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@trigen/eslint-config",
"version": "8.0.0-alpha.3",
"description": "Trigen's ESLint config",
"description": "Trigen's ESLint config.",
"author": "dangreen",
"license": "MIT",
"repository": {
Expand All @@ -12,18 +12,22 @@
"bugs": {
"url": "https://github.com/TrigenSoftware/scripts/issues"
},
"keywords": [
"eslint",
"eslint-config"
],
"engines": {
"node": ">=10"
},
"main": "./src/index.js",
"exports": {
".": "./src/index.js",
"./*": "./src/*.js"
},
"engines": {
"node": ">=10"
"publishConfig": {
"access": "public",
"directory": "package"
},
"keywords": [
"eslint",
"eslint-config"
],
"scripts": {
"prepublishOnly": "del ./package && clean-publish",
"postpublish": "del ./package"
Expand All @@ -44,12 +48,7 @@
"eslint-plugin-jsdoc": "^37.0.0",
"eslint-plugin-react": "^7.27.1",
"eslint-plugin-react-hooks": "^4.3.0",
"eslint-plugin-security": "^1.4.0",
"eslint-plugin-testing-library": "^5.0.0"
},
"publishConfig": {
"access": "public",
"directory": "package"
},
"readme": ""
}
7 changes: 1 addition & 6 deletions packages/eslint-config/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,7 @@
*/

module.exports = {
plugins: ['security'],
extends: [
'eslint:recommended',
'plugin:jsdoc/recommended',
'plugin:security/recommended'
].concat([
extends: ['eslint:recommended', 'plugin:jsdoc/recommended'].concat([
'./rules/common',
'./rules/es6',
'./rules/jsdoc'
Expand Down

0 comments on commit 93993be

Please sign in to comment.