Open isuvorov opened 11 months ago
Example: test.js
// TODO: something module.exports = { env: { browser: false, node: true, }, extends: ['airbnb-base', 'prettier'], plugins: ['simple-import-sort', 'prettier'], ignorePatterns: [ '**/node_modules/**', '**/__*/**', '**/lib/**', '**/dist/**', '**/build/**', '**/coverage/**', '**/public/**', '!.gitlab-ci.js', ], };
Expected result:
module.exports = { env: { browser: false, node: true, }, extends: ['airbnb-base', 'prettier'], plugins: ['simple-import-sort', 'prettier'], ignorePatterns: [ '**/node_modules/**', '**/__*/**', '**/lib/**', '**/dist/**', '**/build/**', '**/coverage/**', '**/public/**', '!.gitlab-ci.js', ], };
Actual result:
module.exports = { env: { browser: false, node: true, }, extends: ['airbnb-base', 'prettier'], plugins: ['simple-import-sort', 'prettier'], ignorePatterns: [ '**/node_modules __* lib dist build coverage public/**', '!.gitlab-ci.js', ], };
P.S. For now I have turned off the option in projects, if no one takes it in 2 weeks I will fix the regular schedule at Christmas
Пока в проектах опцию выключил, если никто не возьмется за 2 недели пофикшу регулярку на рождественских
I added this feature just for Nano ID.
If you need to make it smarter, you need to send PR :)
Example: test.js
Expected result:
Actual result:
P.S. For now I have turned off the option in projects, if no one takes it in 2 weeks I will fix the regular schedule at Christmas