Skip to content
This repository has been archived by the owner on Aug 5, 2021. It is now read-only.

Centralize project configuration and rules (eslint, postcss, babel) #38

Open
1 of 6 tasks
thescientist13 opened this issue Jun 10, 2018 · 0 comments
Open
1 of 6 tasks
Labels
documentation Documentation for the wiki technical misc stuff (setting up accounts, CI, repo maintenance) todo-app Should be applied to the Todo App website Should be applied to the website repo

Comments

@thescientist13
Copy link
Member

thescientist13 commented Jun 10, 2018

Type of Change

  • New Feature Request
  • Documentation
  • Future Spec
  • Improvement / Suggestion
  • Bug
  • Other (please clarify below)

Summary

Centralizing configuration and styleguides would be useful to help keep all projects in lockstep as these preferences and configurations mature over time with browsers and apps.

Use Case

Not sure, but likely as some sort of "meta" package (e.g. @prjevergreen/build-scripts on NPM) that all projects can install and then reference the configuration files via the CLI / terminal.

Code Sample

TBD

Pros / Cons

At the risk of being too opinionated, at least for Project Evergreen projects having a code styleguide and best practices would be ideal. The configurations are opt-in and in the case where the file can just module.exports an object, the consumer could just require the config and override as needed, programmatically, then consume, i.e.

const webpack = require('webpack');
let commonWebpackConfig = require('@prjevergreen/evergreen-scripts/webpack/webpack.config.common.js');

commonWebpackConfig.entry.index = 'path/to/custom/entry-file.js';

webpack(commonWebpackConfig);
@thescientist13 thescientist13 added documentation Documentation for the wiki technical misc stuff (setting up accounts, CI, repo maintenance) website Should be applied to the website repo todo-app Should be applied to the Todo App labels Jun 10, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Documentation for the wiki technical misc stuff (setting up accounts, CI, repo maintenance) todo-app Should be applied to the Todo App website Should be applied to the website repo
Projects
None yet
Development

No branches or pull requests

1 participant