mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-27 08:30:02 +03:00
react-base16-styling
This commit is contained in:
parent
1e387d877e
commit
42a34c1342
|
@ -1 +0,0 @@
|
||||||
lib
|
|
|
@ -1,21 +0,0 @@
|
||||||
module.exports = {
|
|
||||||
extends: '../../eslintrc.js.base.json',
|
|
||||||
overrides: [
|
|
||||||
{
|
|
||||||
files: ['*.ts'],
|
|
||||||
extends: '../../eslintrc.ts.jest.base.json',
|
|
||||||
parserOptions: {
|
|
||||||
tsconfigRootDir: __dirname,
|
|
||||||
project: true,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
{
|
|
||||||
files: ['test/**/*.ts'],
|
|
||||||
extends: '../../eslintrc.ts.jest.base.json',
|
|
||||||
parserOptions: {
|
|
||||||
tsconfigRootDir: __dirname,
|
|
||||||
project: ['./tsconfig.test.json'],
|
|
||||||
},
|
|
||||||
},
|
|
||||||
],
|
|
||||||
};
|
|
14
packages/react-base16-styling/eslint.config.js
Normal file
14
packages/react-base16-styling/eslint.config.js
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
import eslintJs from '../../eslint.js.config.base.mjs';
|
||||||
|
import eslintTs from '../../eslint.ts.config.base.mjs';
|
||||||
|
import eslintTsJest from '../../eslint.ts.jest.config.base.mjs';
|
||||||
|
|
||||||
|
export default [
|
||||||
|
...eslintJs,
|
||||||
|
...eslintTs(import.meta.dirname),
|
||||||
|
...eslintTsJest(['test/**/*.ts'], import.meta.dirname, [
|
||||||
|
'./tsconfig.test.json',
|
||||||
|
]),
|
||||||
|
{
|
||||||
|
ignores: ['lib'],
|
||||||
|
},
|
||||||
|
];
|
|
@ -30,7 +30,7 @@
|
||||||
"build": "tsc",
|
"build": "tsc",
|
||||||
"clean": "rimraf lib",
|
"clean": "rimraf lib",
|
||||||
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js",
|
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js",
|
||||||
"lint": "eslint . --ext .ts",
|
"lint": "eslint .",
|
||||||
"type-check": "tsc --noEmit",
|
"type-check": "tsc --noEmit",
|
||||||
"prepack": "pnpm run clean && pnpm run build",
|
"prepack": "pnpm run clean && pnpm run build",
|
||||||
"prepublish": "pnpm run lint && pnpm run test"
|
"prepublish": "pnpm run lint && pnpm run test"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user