Basic StellarExpert ESLint config for JS projects
-
Install package
npm i -D github:stellar-expert/eslint-config-js
-
Create
.eslintrc.js
file in the project rootmodule.exports = { //utilize this ESLint config extends: ['@stellar-expert/eslint-config-js'], //provide paths to ignore ignorePatterns: ['distr/', 'node_modules/'], //define project-specific globals if any globals: {}, //ovveride some rules if needed rules: { 'no-console': 'off' } }
-
Have fun 🚀