mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-05 19:20:12 +08:00
Turn off eslint import/extension
This commit is contained in:
1 parent
df12fee39c
commit
de637f3cf6
3 files changed
+4
-7
No files matched your search
@@ -17,5 +17,6 @@ module.exports = {
|
||||
'prettier/prettier': ['error', { endOfLine: 'auto', semi: false }], // We added this
|
||||
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
|
||||
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
|
||||
'import/extensions': 'off',
|
||||
},
|
||||
}
|
||||
Vendored
+3
-3
@@ -1,4 +1,4 @@
|
||||
{
|
||||
"editor.tabSize": 2,
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||
}
|
||||
"editor.tabSize": 2,
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||
}
|
||||
@@ -1,10 +1,6 @@
|
||||
import { stdin, stdout, exit } from 'process'
|
||||
import { io } from 'socket.io-client'
|
||||
import { Writable } from 'stream'
|
||||
import { pipeline } from 'stream/promises'
|
||||
|
||||
console.log(stdin)
|
||||
console.log(process.stdin.isTTY)
|
||||
stdin.setRawMode(true)
|
||||
stdin.resume()
|
||||
stdin.setEncoding('utf8')
|
||||
|
||||
Reference in new issue
Block a user