@equinor/eslint-config-fusion
Advanced tools
Comparing version 2.0.0 to 2.1.2
@@ -6,2 +6,22 @@ # Change Log | ||
## [2.1.2](https://github.com/equinor/fusion-core/compare/@equinor/eslint-config-fusion@2.1.1...@equinor/eslint-config-fusion@2.1.2) (2023-07-11) | ||
### Bug Fixes | ||
- **eslint:** adding typescript v5 as peerDependencie ([bfcb159](https://github.com/equinor/fusion-core/commit/bfcb1594d16a3790c8e23dead61990c976133838)) | ||
- **lint:** allow module in eslint config ([6017c79](https://github.com/equinor/fusion-core/commit/6017c79c794815730972022389b2d2cee61f27f6)) | ||
## [2.1.1](https://github.com/equinor/fusion-core/compare/@equinor/eslint-config-fusion@2.1.0...@equinor/eslint-config-fusion@2.1.1) (2023-07-11) | ||
### Bug Fixes | ||
- **eslint:** adding typescript v5 as peerDependencie ([bfcb159](https://github.com/equinor/fusion-core/commit/bfcb1594d16a3790c8e23dead61990c976133838)) | ||
- **lint:** allow module in eslint config ([6017c79](https://github.com/equinor/fusion-core/commit/6017c79c794815730972022389b2d2cee61f27f6)) | ||
# [2.1.0](https://github.com/equinor/fusion-core/compare/@equinor/eslint-config-fusion@1.0.6...@equinor/eslint-config-fusion@2.1.0) (2023-01-30) | ||
### Features | ||
- remove react ([b665ba3](https://github.com/equinor/fusion-core/commit/b665ba36f5a7042c2be535c156c52149a3dc1289)) | ||
## [1.0.6](https://github.com/equinor/fusion-core/compare/@equinor/eslint-config-fusion@1.0.4...@equinor/eslint-config-fusion@1.0.6) (2022-12-12) | ||
@@ -8,0 +28,0 @@ |
28
index.js
@@ -0,20 +1,14 @@ | ||
// eslint-disable-next-line no-undef | ||
module.exports = { | ||
parser: "@typescript-eslint/parser", | ||
plugins: [ | ||
'@typescript-eslint', | ||
'prettier', | ||
], | ||
extends: [ | ||
'eslint:recommended', | ||
'plugin:@typescript-eslint/recommended', | ||
'plugin:prettier/recommended' | ||
], | ||
"rules": { | ||
"@typescript-eslint/no-unused-vars": [ | ||
"error", | ||
parser: '@typescript-eslint/parser', | ||
plugins: ['@typescript-eslint', 'prettier'], | ||
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'plugin:prettier/recommended'], | ||
rules: { | ||
'@typescript-eslint/no-unused-vars': [ | ||
'error', | ||
// allow arguments prefixed with underscore | ||
{ "argsIgnorePattern": "^_" } | ||
{ argsIgnorePattern: '^_' }, | ||
], | ||
"prettier/prettier": "warn" | ||
} | ||
} | ||
'prettier/prettier': 'warn', | ||
}, | ||
}; |
{ | ||
"name": "@equinor/eslint-config-fusion", | ||
"version": "2.0.0", | ||
"version": "2.1.2", | ||
"keywords": [ | ||
"fusion", | ||
"eslint", | ||
"config" | ||
"config", | ||
"typescript" | ||
], | ||
@@ -11,2 +13,5 @@ "author": "odin thomas rochmann <odin.rochmann@gmail.com>", | ||
"license": "ISC", | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"repository": { | ||
@@ -20,3 +25,3 @@ "type": "git", | ||
"prettier": "*", | ||
"typescript": "4.x" | ||
"typescript": "4.x || 5.x" | ||
}, | ||
@@ -30,5 +35,5 @@ "dependencies": { | ||
"devDependencies": { | ||
"eslint": "^8.32.0" | ||
"eslint": "^8.33.0" | ||
}, | ||
"gitHead": "847bcb02ea615f5fac9372ff6b891cfc8405d17e" | ||
"gitHead": "fa350f5b93facfed98affe5389a8301d857333ab" | ||
} |
4882
14