7.8.0 • Published 9 days ago
@indooorsman/typescript-eslint v7.8.0
@indooorsman/typescript-eslint
This is a bundled esm package of @typescript-eslint/eslint-plugin
& @typescript-eslint/parser
, it's super fast to be resolved & downloaded ⚡️⚡️⚡️
Installation
npm i -D @indooorsman/typescript-eslint
# or
yarn add -D @indooorsman/typescript-eslint
Usage
please use in new eslint config file (https://eslint.org/docs/latest/use/configure/configuration-files-new)
// eslint.config.js
import js from '@eslint/js';
import importPlugin from 'eslint-plugin-import';
import {
parser as tsParser,
plugin as tsPlugin,
configs as tslintConfigs
} from '@indooorsman/typescript-eslint';
export default [
js.configs.recommended,
{
files: ['**/*.ts', '**/*.tsx'],
languageOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
parser: tsParser,
parserOptions: {
ecmaFeatures: {
jsx: true
},
sourceType: 'module',
lib: ['ESNext', 'DOM', 'DOM.Iterable'],
project: ['./tsconfig.json']
}
},
plugins: {
import: importPlugin,
'@typescript-eslint': tsPlugin
},
settings: {
'import/parsers': {
espree: ['.js', '.jsx', '.cjs', '.mjs'],
// use with eslint-plugin-import
'@indooorsman/typescript-eslint/parser': ['.ts', '.tsx', '.d.ts']
}
},
rules: {
// recommended rules
...tslintConfigs.recommended.reduce((ret, item) => Object.assign(ret, item.rules ?? {}), {}),
// your own rules
'@typescript-eslint/consistent-type-exports': 'error'
}
}
];
7.8.0
9 days ago
7.7.1
16 days ago
7.6.0
1 month ago
7.5.0
1 month ago
7.3.1
2 months ago
7.2.0-pre.0
2 months ago
7.2.0
2 months ago
7.1.1
2 months ago
7.1.0
3 months ago
6.21.0
3 months ago
7.0.2
3 months ago
6.19.1
4 months ago
6.19.0
4 months ago
6.16.0
5 months ago
6.14.0
5 months ago
6.13.2
5 months ago
6.13.1
6 months ago
6.12.0
6 months ago
6.11.0
6 months ago
6.10.0
6 months ago
6.9.1
6 months ago
6.9.0
7 months ago
6.8.0
7 months ago
6.7.4
7 months ago
6.7.2
8 months ago
6.7.0
8 months ago
6.6.4
8 months ago
6.6.3
8 months ago
6.6.2
8 months ago
6.6.1
8 months ago
6.6.0
8 months ago
6.5.1
9 months ago
6.5.0-patch.4
9 months ago
6.5.0-patch.3
9 months ago
6.5.0-patch.2
9 months ago
6.5.0-patch.1
9 months ago
6.5.0
9 months ago
6.5.0-dev.1
9 months ago
6.5.0-dev.0
9 months ago