build: use ignore-path for craco eslint (#6372)
* build: add caching to eslint * build: add caching to jest * build: add caching to tsc * build: add caching to actions * fix: upgrade upload-artifact to v3 * build: update craco eslint cacheLocation * build: use ignore-path for craco eslint
This commit is contained in:
parent
aed969f38d
commit
2b60961812
@ -1,5 +0,0 @@
|
||||
*.config.ts
|
||||
*.d.ts
|
||||
/src/graphql/data/__generated__/types-and-hooks.ts
|
||||
/src/graphql/thegraph/__generated__/types-and-hooks.ts
|
||||
/src/schema/schema.graphql
|
1
.github/actions/setup/action.yml
vendored
1
.github/actions/setup/action.yml
vendored
@ -10,7 +10,6 @@ runs:
|
||||
with:
|
||||
node-version: 14
|
||||
registry-url: https://registry.npmjs.org
|
||||
cache: yarn
|
||||
|
||||
# node_modules/.cache is intentionally omitted, as this is used for build tool caches.
|
||||
- uses: actions/cache@v3
|
||||
|
@ -29,6 +29,7 @@ module.exports = {
|
||||
return Object.assign(eslintConfig, {
|
||||
cache: true,
|
||||
cacheLocation: 'node_modules/.cache/eslint/',
|
||||
ignorePath: '.gitignore',
|
||||
})
|
||||
},
|
||||
},
|
||||
|
@ -8,6 +8,7 @@
|
||||
"downlevelIteration": true,
|
||||
"esModuleInterop": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"incremental": true,
|
||||
"isolatedModules": true,
|
||||
"jsx": "react-jsx",
|
||||
"lib": ["DOM", "DOM.Iterable", "ESNext"],
|
||||
|
Loading…
Reference in New Issue
Block a user