1.0.3 • Published 5 months ago

eslint-config-regiojet-typescript v1.0.3

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
5 months ago

eslint-config-regiojet-typescript

Enhances Regiojet's ESLint config with TypeScript support

Setup

1) Install dependencies

npm install eslint-config-regiojet-typescript --save-dev

2) Configure ESLint

create .eslint.config.mjs file in project root

+ import rjConfig from 'eslint-config-regiojet-typescript';
+
+ const eslintConfig = [
+   ...rjConfig,
+ ];
+
+ export default config;

5) Run ESLint

Open a terminal to the root of your project, and run the following command:

npx eslint .

or

npx eslint ./**/*.{ts,js,mjs}

ESLint will lint all .js, .ts, and .mjs files within the current folder, and output results to your terminal.

You can also get results in realtime inside most IDEs via a plugin.

Additional Documentation

Credits

Authored and maintained by Vilda Lipold (dovolena.cz)

License

Open source licensed as MIT.

1.0.3

5 months ago

1.0.2

6 months ago

1.0.1

6 months ago

1.0.0

6 months ago