1.0.1 • Published 6 months ago
eslint-config-regiojet-vanilla v1.0.1
eslint-config-regiojet-vanilla
Enhances Regiojet's ESLint config for Vanilla Javascript
Setup
1. Install dependencies
npm install eslint-config-regiojet-vanilla --save-dev
2. Configure ESLint
create eslint.config.mjs
file in project root
+ import rjConfig from 'eslint-config-regiojet-vanilla';
+
+ const eslintConfig = [
+ ...rjConfig,
+ ];
+
+ export default eslintConfig;
3. Run ESLint
Open a terminal to the root of your project, and run the following command:
npx eslint .
or
npx eslint ./src/
ESLint will lint all .js, .cjs, 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.