Skip to content

ts-all/eslint-config

Repository files navigation

@ts-all/eslint-config

eslint-config for TypeScript projects

Usage

  • get the package from npm
$ npm install @ts-all/eslint-config -D
  • just extends it in your eslint config file eg. eslint.config.mjs
import { default as config } from '@ts-all/eslint-config';
export default config;
  • specify a tsconfig json file
import { default as config } from '@ts-all/eslint-config';

export default [...config, {
    name: '@ts-all/eslint-config',
    languageOptions: {
        parserOptions: {
            project: './tsconfig.lint.json',
            projectService: false,
            tsconfigRootDir: import.meta.dirname,
        },
    },
}];
  • linting
$ npx eslint

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors