Compare commits
20 Commits
1.1.0
...
47df74700e
| Author | SHA1 | Date | |
|---|---|---|---|
| 47df74700e | |||
| 294be2d06e | |||
| a3bc1ffccf | |||
| 349211df62 | |||
| 1fcbbbf99a | |||
| 22206ad017 | |||
| b56dd0d34c | |||
| df94998489 | |||
| 99b63ee76d | |||
| f78a5ff537 | |||
| 7032234561 | |||
| feee346c5c | |||
| 4a4d4c3c5d | |||
| 117ee2b7cb | |||
| 24c9e4df2c | |||
| 2bca32b537 | |||
| 714414a801 | |||
| da8ebf2936 | |||
| 37eb0ae673 | |||
|
|
71ac3682b7 |
@@ -17,23 +17,17 @@
|
||||
"extends": [
|
||||
"eslint:recommended",
|
||||
"plugin:vue/vue3-essential",
|
||||
"plugin:@typescript-eslint/recommended",
|
||||
"plugin:prettier/recommended"
|
||||
"plugin:prettier/recommended",
|
||||
"plugin:@typescript-eslint/recommended"
|
||||
],
|
||||
"plugins": [
|
||||
"jest",
|
||||
"cypress",
|
||||
"import",
|
||||
"@typescript-eslint",
|
||||
"prettier"
|
||||
"prettier",
|
||||
"@typescript-eslint"
|
||||
],
|
||||
"overrides": [
|
||||
{
|
||||
"files": ["test/**"],
|
||||
"plugins": ["jest"],
|
||||
"extends": ["plugin:jest/recommended", "plugin:jest/style"],
|
||||
"rules": { "jest/prefer-expect-assertions": "off" }
|
||||
},
|
||||
{
|
||||
"files": ["*.ts", "*.tsx"],
|
||||
"plugins": [
|
||||
@@ -60,7 +54,7 @@
|
||||
],
|
||||
"no-unused-expressions": "off",
|
||||
"@typescript-eslint/no-unused-expressions": [
|
||||
"error",
|
||||
"warn",
|
||||
{
|
||||
"allowShortCircuit": true,
|
||||
"allowTernary": true,
|
||||
@@ -79,6 +73,12 @@
|
||||
"@typescript-eslint/no-useless-constructor": ["warn"]
|
||||
}
|
||||
},
|
||||
{
|
||||
"files": ["test/**"],
|
||||
"plugins": ["jest"],
|
||||
"extends": ["plugin:jest/recommended", "plugin:jest/style"],
|
||||
"rules": { "jest/prefer-expect-assertions": "off" }
|
||||
},
|
||||
{
|
||||
"files": ["cypress/e2e/**/*.cy.ts"],
|
||||
"extends": ["plugin:cypress/recommended"],
|
||||
@@ -110,7 +110,7 @@
|
||||
"dot-notation": "warn",
|
||||
"quotes": ["error", "single"],
|
||||
"prettier/prettier": [
|
||||
"error",
|
||||
"warn",
|
||||
{
|
||||
"printWidth": 120,
|
||||
"tabWidth": 2,
|
||||
@@ -121,7 +121,8 @@
|
||||
"jsxSingleQuote": false,
|
||||
"bracketSpacing": true,
|
||||
"bracketSameLine": false,
|
||||
"arrowParens": "always"
|
||||
"arrowParens": "always",
|
||||
"trailingComma": "es5"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
10
README.md
10
README.md
@@ -14,10 +14,10 @@ Install the package:
|
||||
|
||||
```bash
|
||||
# with yarn
|
||||
yarn add -D @io-projects/eslint-config
|
||||
yarn add -D @ioprojects/eslint-config
|
||||
|
||||
# with npm
|
||||
npm install --save-dev @io-projects/eslint-config
|
||||
npm install --save-dev @ioprojects/eslint-config
|
||||
```
|
||||
|
||||
## Usage
|
||||
@@ -27,7 +27,7 @@ Add the following to your `.eslintrc.js` file:
|
||||
```js
|
||||
module.exports = {
|
||||
extends: [
|
||||
'@io-projects/eslint-config'
|
||||
'@ioprojects/eslint-config'
|
||||
]
|
||||
}
|
||||
```
|
||||
@@ -39,7 +39,7 @@ Add the following to your `.eslintrc.json` file:
|
||||
```json
|
||||
{
|
||||
"extends": [
|
||||
"@io-projects/eslint-config"
|
||||
"@ioprojects/eslint-config"
|
||||
]
|
||||
}
|
||||
```
|
||||
@@ -49,7 +49,7 @@ Add the following to your `.eslintrc.json` file:
|
||||
Add the following to your `.eslintrc.cjs` file:
|
||||
|
||||
```js
|
||||
module.exports = require('@ioprojects/ui-eslint-base');
|
||||
module.exports = require('@ioprojects/eslint-config');
|
||||
```
|
||||
|
||||
### Note for developers
|
||||
|
||||
1007
package-lock.json
generated
1007
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
22
package.json
22
package.json
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@ioprojects/eslint-config",
|
||||
"version": "1.1.0",
|
||||
"version": "1.3.0",
|
||||
"description": "NPM package for ESLINT configuration of IO-Projects TypeScript front-end projects",
|
||||
"author": "IO-Projects <contact@io-projects.com>",
|
||||
"license": "SEE LICENSE FILE",
|
||||
@@ -9,16 +9,16 @@
|
||||
".eslintrc.json"
|
||||
],
|
||||
"dependencies": {
|
||||
"@typescript-eslint/eslint-plugin": "^5.60.1",
|
||||
"@typescript-eslint/parser": "^5.60.1",
|
||||
"eslint": "^8.43.0",
|
||||
"eslint-config-prettier": "^8.8.0",
|
||||
"eslint-plugin-cypress": "^2.13.3",
|
||||
"eslint-plugin-import": "^2.26.0",
|
||||
"eslint-plugin-jest": "^27.2.2",
|
||||
"eslint-plugin-prettier": "^4.2.1",
|
||||
"eslint-plugin-vue": "^9.15.1",
|
||||
"prettier": "^2.8.8"
|
||||
"@typescript-eslint/eslint-plugin": "^7.16.1",
|
||||
"@typescript-eslint/parser": "^7.16.1",
|
||||
"eslint": "^9.7.0",
|
||||
"eslint-config-prettier": "^9.1.0",
|
||||
"eslint-plugin-cypress": "^3.3.0",
|
||||
"eslint-plugin-import": "^2.29.1",
|
||||
"eslint-plugin-jest": "^28.6.0",
|
||||
"eslint-plugin-prettier": "^5.1.3",
|
||||
"eslint-plugin-vue": "^9.26.0",
|
||||
"prettier": "^3.3.1"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
||||
8
renovate.json
Normal file
8
renovate.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"enabled": true,
|
||||
"packageRules": [{
|
||||
"packageNames": ["node"],
|
||||
"enabled": false
|
||||
}]
|
||||
}
|
||||
Reference in New Issue
Block a user