Scaffold VS Code extension
This commit is contained in:
1 parent
0b7ce024a9
commit
5e1d53a2f5
18 files changed
+3419
-1
No files matched your search
@@ -0,0 +1,33 @@
|
||||
import typescriptEslint from 'typescript-eslint';
|
||||
|
||||
export default [
|
||||
{
|
||||
files: ['**/*.ts']
|
||||
},
|
||||
{
|
||||
plugins: {
|
||||
'@typescript-eslint': typescriptEslint.plugin
|
||||
},
|
||||
|
||||
languageOptions: {
|
||||
parser: typescriptEslint.parser,
|
||||
ecmaVersion: 2022,
|
||||
sourceType: 'module'
|
||||
},
|
||||
|
||||
rules: {
|
||||
'@typescript-eslint/naming-convention': [
|
||||
'warn',
|
||||
{
|
||||
selector: 'import',
|
||||
format: ['camelCase', 'PascalCase']
|
||||
}
|
||||
],
|
||||
|
||||
curly: 'warn',
|
||||
eqeqeq: 'warn',
|
||||
'no-throw-literal': 'warn',
|
||||
semi: 'warn'
|
||||
}
|
||||
}
|
||||
];
|
||||
Reference in new issue
Block a user