Comments (9)
I may be misunderstanding, but @nuxtjs/eslint-config-typescript
does not require @nuxt/typescript-build
.
from eslint.
Could you explain?
from eslint.
Hello sir @danielroe
In my eslintrc.js
i use
extends: [
'@nuxtjs/eslint-config-typescript',
...
]
but this '@nuxtjs/eslint-config-typescript' automatically requires @nuxt/typescript-build to work.
Following the documentation on nuxt-bridge
It ask me to remove @nuxt/typescript-build because it already implements the same functionality.
How would i go about configuring my eslintrc.js without @nuxt/typescript-build
Thank you
from eslint.
Sir @danielroe I'm sorry, I tested it out again without @nuxt/typescript-build and it went through without errors.
Hmmm maybe it was a different error while I was testing it earlier.
Perhaps i forgot to remove it on my nuxt.config.js earlier.
from eslint.
@danielroe
Can you explain what's happening with this?
from eslint.
The error message says you need to install TypeScript.
from eslint.
@danielroe but doesn't it come with nuxt-bridge?
from eslint.
Bridge supports typescript syntax but doesn't install typescript
the npm package.
from eslint.
yarn add typescript did solve the problem
"typescript": "^4.6.3",
Thanks @danielroe for clarifying this.
from eslint.
Related Issues (20)
- Cannot find module '[...]/.nuxt/eslint.config.mjs' HOT 3
- Include `eslint-plugin-regexp` in `tooling` preset HOT 2
- ConfigError: Key "plugins": Cannot redefine plugin "import" in Nuxt ESLint configuration HOT 2
- Constant Error: Cannot find module 'typescript' HOT 14
- Cannot find package 'vite-plugin-eslint2' HOT 5
- feat(config): add `no-import-type-side-effects` rule of `@typescript-eslint` HOT 1
- docs: add how to use composer HOT 3
- Add Tailwindcss class sorter HOT 8
- eslint/config-inspector custom host/port when using @nuxt/eslit HOT 1
- Question: Unexpected key "typescript" found HOT 4
- Nuxt Deployment on DigitalOcean // ERROR Cannot find module '/workspace/@nuxt/eslint' HOT 1
- Allow `no-undef` also on plain JavaScript files, not just Typescript HOT 12
- Add `public` folder to the ignore list
- `vue/no-ref-as-operand` does not trigger on `useState`
- Upgrade to typescript-eslint v8 HOT 3
- Not allow multiple root elements in server component
- Request for support on failOnError Overlay when applying nuxt/eslint HOT 3
- Several built-in Nuxt globals are not defined in ESLint config, causing linter to error in JS files HOT 6
- Documentation request: Config recipes for minimal config setup HOT 5
- Using @nuxt/eslint installs eslint version 9.6.0, causing the peer dependency warnings. HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eslint.