A shareable ESLint configuration for Trails.js projects. Version 3.1.0 is the latest stable release, last updated in 2018. It provides default ES6 linting rules, plus optional presets for React.js, test files, and config folders. Differentiators: designed specifically for Trails.js framework, minimal and opinionated, includes test and config-specific configs. No recent updates, low maintenance.
npm install eslint-config-trailsVerified import paths — ran on the pinned version, not inferred.
Shows how to set up eslint-config-trails in .eslintrc.json and run ESLint.
Consider migrating to a more modern ESLint config like eslint-config-standard or eslint-config-airbnb.
Install it with npm install --save-dev eslint-plugin-react
Check rule compatibility and use an older ESLint version if needed.
Update ESLint or extend a different config that aligns with your ESLint version.
Run npm install --save-dev eslint-config-trails eslint
Run npm install --save-dev eslint-plugin-react