packages: remove eslint-define-config
This commit is contained in:
parent
208cb9f414
commit
2420c4c3a7
@ -1,6 +1,4 @@
|
|||||||
const { defineConfig } = require('eslint-define-config');
|
module.exports = {
|
||||||
|
|
||||||
module.exports = defineConfig({
|
|
||||||
env: {
|
env: {
|
||||||
browser: true,
|
browser: true,
|
||||||
es2022: true,
|
es2022: true,
|
||||||
@ -44,4 +42,4 @@ module.exports = defineConfig({
|
|||||||
'prettier',
|
'prettier',
|
||||||
// 'testing-library',
|
// 'testing-library',
|
||||||
],
|
],
|
||||||
});
|
};
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
const { defineConfig } = require('eslint-define-config');
|
module.exports = {
|
||||||
|
|
||||||
module.exports = defineConfig({
|
|
||||||
env: {
|
env: {
|
||||||
browser: true,
|
browser: true,
|
||||||
es2022: true,
|
es2022: true,
|
||||||
@ -34,4 +32,4 @@ module.exports = defineConfig({
|
|||||||
'prettier',
|
'prettier',
|
||||||
// 'testing-library',
|
// 'testing-library',
|
||||||
],
|
],
|
||||||
});
|
};
|
||||||
|
|||||||
11
package.json
11
package.json
@ -1,17 +1,18 @@
|
|||||||
{
|
{
|
||||||
"name": "@vchikalkin/eslint-config-awesome",
|
"name": "@vchikalkin/eslint-config-awesome",
|
||||||
"version": "1.1.0",
|
"version": "1.1.1",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"devDependencies": {
|
"dependencies": {
|
||||||
"@typescript-eslint/parser": "^6.2.1",
|
"@typescript-eslint/parser": "^6.2.1",
|
||||||
"eslint": "^8.46.0",
|
|
||||||
"eslint-config-canonical": "^41.1.7",
|
"eslint-config-canonical": "^41.1.7",
|
||||||
"eslint-config-prettier": "^8.9.0",
|
"eslint-config-prettier": "^8.9.0",
|
||||||
"eslint-define-config": "^1.22.0",
|
|
||||||
"eslint-plugin-canonical": "^4.9.0",
|
"eslint-plugin-canonical": "^4.9.0",
|
||||||
"eslint-plugin-prettier": "^5.0.0",
|
"eslint-plugin-prettier": "^5.0.0",
|
||||||
"eslint-plugin-sonarjs": "^0.19.0",
|
"eslint-plugin-sonarjs": "^0.19.0"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"eslint": "^8.46.0",
|
||||||
"typescript": "^5.1.6"
|
"typescript": "^5.1.6"
|
||||||
},
|
},
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
|
|||||||
6
react-typescript/config.js
vendored
6
react-typescript/config.js
vendored
@ -1,6 +1,4 @@
|
|||||||
const { defineConfig } = require('eslint-define-config');
|
module.exports = {
|
||||||
|
|
||||||
module.exports = defineConfig({
|
|
||||||
env: {
|
env: {
|
||||||
browser: true,
|
browser: true,
|
||||||
es2022: true,
|
es2022: true,
|
||||||
@ -26,4 +24,4 @@ module.exports = defineConfig({
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
plugins: ['sonarjs', '@typescript-eslint', 'prettier'],
|
plugins: ['sonarjs', '@typescript-eslint', 'prettier'],
|
||||||
});
|
};
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
const { defineConfig } = require('eslint-define-config');
|
module.exports = {
|
||||||
|
|
||||||
module.exports = defineConfig({
|
|
||||||
env: {
|
env: {
|
||||||
browser: true,
|
browser: true,
|
||||||
es2022: true,
|
es2022: true,
|
||||||
@ -18,4 +16,4 @@ module.exports = defineConfig({
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
plugins: ['sonarjs', '@typescript-eslint', 'prettier'],
|
plugins: ['sonarjs', '@typescript-eslint', 'prettier'],
|
||||||
});
|
};
|
||||||
|
|||||||
@ -1497,11 +1497,6 @@ eslint-config-prettier@^8.8.0, eslint-config-prettier@^8.9.0:
|
|||||||
resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-8.9.0.tgz#094b6254b2804b0544f7cee535f802b6d29ee10b"
|
resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-8.9.0.tgz#094b6254b2804b0544f7cee535f802b6d29ee10b"
|
||||||
integrity sha512-+sbni7NfVXnOpnRadUA8S28AUlsZt9GjgFvABIRL9Hkn8KqNzOp+7Lw4QWtrwn20KzU3wqu1QoOj2m+7rKRqkA==
|
integrity sha512-+sbni7NfVXnOpnRadUA8S28AUlsZt9GjgFvABIRL9Hkn8KqNzOp+7Lw4QWtrwn20KzU3wqu1QoOj2m+7rKRqkA==
|
||||||
|
|
||||||
eslint-define-config@^1.22.0:
|
|
||||||
version "1.22.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/eslint-define-config/-/eslint-define-config-1.22.0.tgz#fa791048e8ef0017d2896e4feb9f683818b8ccb6"
|
|
||||||
integrity sha512-pckNJppFwC4AX+AGK63aa4sX5BluPwWwHES3fq/ER0jDR2U2czwlngg38B4EQ2ibvofufc+R5QfmdPKI6+74vQ==
|
|
||||||
|
|
||||||
eslint-import-resolver-node@^0.3.7:
|
eslint-import-resolver-node@^0.3.7:
|
||||||
version "0.3.7"
|
version "0.3.7"
|
||||||
resolved "https://registry.yarnpkg.com/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.7.tgz#83b375187d412324a1963d84fa664377a23eb4d7"
|
resolved "https://registry.yarnpkg.com/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.7.tgz#83b375187d412324a1963d84fa664377a23eb4d7"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user