Andrew Abramov

Results 57 issues of Andrew Abramov

Use `scanner` function for custom scheme of level: ``` js nodeConfig.addTech([require('enb-bem/techs/levels'), { levels: getLevels(config) }]); function getLevels(config) { return [{ path: 'common.blocks', scanner: function () {/*...*/} }].map(function (level) { return...

backlog
prio:normal

If option `node` not specified then the option should be set to the current node

backlog
prio:low

How use Harry Roberts naming: ``` js nodeConfig.addTech([require('enb-bem/techs/levels'), { levels: getLevels(config) }]); function getLevels(config) { return [{ path: 'common.blocks', naming: { elemSeparator: '-', modSeparator: '--', literal: '[a-zA-Z0-9]' } }].map(function (level)...

backlog
prio:normal

backlog
prio:low

https://github.com/enb-bem/enb-bem/blob/master/lib/levels/level.js#L87

backlog
prio:low

Options in all techs can be divided into three types: **targets**, **sources** and **options**. Now, all options are set as a flat list. Because of this, not possible to understand...

backlog
prio:low

**Before:** ``` js { block : 'page', title : 'Title of the page', favicon : '/favicon.ico', styles : [{ elem : 'css', url : 'index.min.css' }], scripts: [{ elem :...

Add preset for examples in JsDoc and `.md` files. This preset should consist of the same `pedant` rules without: * `no-new` * `no-unused-expressions` * `no-undef` * ???

test
backlog
prio:normal

Need to implement the ability to build CommonJS files in one file — bundle.

backlog
prio:normal