You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Get all options in configuration files from this directory upwards to root
projectOptions= []
p=path.dirname(editedFilePath)
# Check if p is root (top directory)
while p isntpath.resolve(p, "../")
# Get config for p
pf=path.join(p, "FAKEFILENAME")
pc=@getConfig(pf, false)
# Add config for p to project's config options
projectOptions.push(pc)
# logger.verbose p, pc
# Move upwards
p=path.resolve(p, "../")
else
editorConfigOptions= {}
projectOptions= []
# Combine all options together
allOptions= [
editorOptions
configOptions
homeOptions
editorConfigOptions
]
allOptions=allOptions.concat(projectOptions)
Options that are not nested under a language namespace should be nested under _default namespace. All options should therefore be nested. /cc Rename .jsbeautifyrc to .atombeautifyrc #41
Selecting options for language should (in beautify function)
get the options for the language's namespace
get the options for the language's fallbacks
get the options for the _default namespace
merge all options
The text was updated successfully, but these errors were encountered:
atom-beautify/src/beautifiers/index.coffee
Lines 664 to 695 in 94fc870
_default
namespace. All options should therefore be nested. /cc Rename .jsbeautifyrc to .atombeautifyrc #41beautify
function)_default
namespaceThe text was updated successfully, but these errors were encountered: