Skip to content

Instantly share code, notes, and snippets.

@aspiers
Created September 25, 2021 21:43
Show Gist options
  • Save aspiers/d2f801669bf144f336eac5c6c7b9043a to your computer and use it in GitHub Desktop.
Save aspiers/d2f801669bf144f336eac5c6c7b9043a to your computer and use it in GitHub Desktop.
;; Please create a Gist with the contents of this buffer.
;; MAKE SURE TO REMOVE ANY SENSITIVE INFORMATION FIRST
(:emacs-version "GNU Emacs 27.1 (build 1, x86_64-suse-linux-gnu, GTK+ Version 3.24.25, cairo version 1.16.0)" :prettier-el-version "1.1.0" :buffer-file-name "/home/adam/path/to/my/file.sol" :remote-id nil :major-mode solidity-mode :exec-path
(CENSORED)
:env
(CENSORED)
:prettier-options
(:versions
(:node "14.17.0" :v8 "8.4.371.23-node.63" :uv "1.41.0" :zlib "1.2.11" :brotli "1.0.9" :ares "1.17.1" :modules "83" :nghttp2 "1.42.0" :napi "8" :llhttp "2.1.3" :openssl "1.1.1k" :cldr "38.1" :icu "68.2" :tz "2020d" :unicode "13.0" :prettier "2.3.2")
:options
(:useTabs nil :tabWidth 4 :semi t :singleQuote t :plugins
[(:languages
[(:linguistLanguageId 183 :name "JavaScript" :type "programming" :tmScope "source.js" :aceMode "javascript" :codemirrorMode "javascript" :codemirrorMimeType "text/javascript" :color "#f1e05a" :aliases
["js" "node"]
:extensions
[".js" "._js" ".bones" ".cjs" ".es" ".es6" ".frag" ".gs" ".jake" ".jsb" ".jscad" ".jsfl" ".jsm" ".jss" ".mjs" ".njs" ".pac" ".sjs" ".ssjs" ".xsjs" ".xsjslib" ".wxs"]
:filenames
["Jakefile"]
:interpreters
["chakra" "d8" "gjs" "js" "node" "nodejs" "qjs" "rhino" "v8" "v8-shell"]
:since "0.0.0" :parsers
["babel" "espree" "meriyah" "babel-flow" "babel-ts" "flow" "typescript"]
:vscodeLanguageIds
["javascript" "mongo"])
(:linguistLanguageId 183 :name "Flow" :type "programming" :tmScope "source.js" :aceMode "javascript" :codemirrorMode "javascript" :codemirrorMimeType "text/javascript" :color "#f1e05a" :aliases
[]
:extensions
[".js.flow"]
:filenames
[]
:interpreters
["chakra" "d8" "gjs" "js" "node" "nodejs" "qjs" "rhino" "v8" "v8-shell"]
:since "0.0.0" :parsers
["flow" "babel-flow"]
:vscodeLanguageIds
["javascript"])
(:linguistLanguageId 183 :name "JSX" :type "programming" :tmScope "source.js.jsx" :aceMode "javascript" :codemirrorMode "jsx" :codemirrorMimeType "text/jsx" :extensions
[".jsx"]
:since "0.0.0" :parsers
["babel" "babel-flow" "babel-ts" "flow" "typescript" "espree" "meriyah"]
:vscodeLanguageIds
["javascriptreact"]
:group "JavaScript")
(:linguistLanguageId 378 :name "TypeScript" :type "programming" :color "#2b7489" :aliases
["ts"]
:interpreters
["deno" "ts-node"]
:extensions
[".ts"]
:tmScope "source.ts" :aceMode "typescript" :codemirrorMode "javascript" :codemirrorMimeType "application/typescript" :since "1.4.0" :parsers
["typescript" "babel-ts"]
:vscodeLanguageIds
["typescript"])
(:linguistLanguageId 94901924 :name "TSX" :type "programming" :group "TypeScript" :extensions
[".tsx"]
:tmScope "source.tsx" :aceMode "javascript" :codemirrorMode "jsx" :codemirrorMimeType "text/jsx" :since "1.4.0" :parsers
["typescript" "babel-ts"]
:vscodeLanguageIds
["typescriptreact"])
(:linguistLanguageId 174 :name "JSON.stringify" :type "data" :tmScope "source.json" :aceMode "json" :codemirrorMode "javascript" :codemirrorMimeType "application/json" :extensions
[]
:filenames
["package.json" "package-lock.json" "composer.json"]
:since "1.13.0" :parsers
["json-stringify"]
:vscodeLanguageIds
["json"])
(:linguistLanguageId 174 :name "JSON" :type "data" :tmScope "source.json" :aceMode "json" :codemirrorMode "javascript" :codemirrorMimeType "application/json" :extensions
[".json" ".avsc" ".geojson" ".gltf" ".har" ".ice" ".JSON-tmLanguage" ".mcmeta" ".tfstate" ".tfstate.backup" ".topojson" ".webapp" ".webmanifest" ".yy" ".yyp"]
:filenames
[".arcconfig" ".htmlhintrc" ".imgbotconfig" ".tern-config" ".tern-project" ".watchmanconfig" "Pipfile.lock" "composer.lock" "mcmod.info"]
:since "1.5.0" :parsers
["json"]
:vscodeLanguageIds
["json"])
(:linguistLanguageId 423 :name "JSON with Comments" :type "data" :group "JSON" :tmScope "source.js" :aceMode "javascript" :codemirrorMode "javascript" :codemirrorMimeType "text/javascript" :aliases
["jsonc"]
:extensions
[".jsonc" ".sublime-build" ".sublime-commands" ".sublime-completions" ".sublime-keymap" ".sublime-macro" ".sublime-menu" ".sublime-mousemap" ".sublime-project" ".sublime-settings" ".sublime-theme" ".sublime-workspace" ".sublime_metrics" ".sublime_session"]
:filenames
[".babelrc" ".eslintrc.json" ".jscsrc" ".jshintrc" ".jslintrc" "api-extractor.json" "devcontainer.json" "jsconfig.json" "language-configuration.json" "tsconfig.json" "tslint.json" ".eslintrc"]
:since "1.5.0" :parsers
["json"]
:vscodeLanguageIds
["jsonc"])
(:linguistLanguageId 175 :name "JSON5" :type "data" :extensions
[".json5"]
:tmScope "source.js" :aceMode "javascript" :codemirrorMode "javascript" :codemirrorMimeType "application/json" :since "1.13.0" :parsers
["json5"]
:vscodeLanguageIds
["json5"])]
:options
(:arrowParens
(:since "1.9.0" :category "JavaScript" :type "choice" :default
[(:since "1.9.0" :value "avoid")
(:since "2.0.0" :value "always")]
:description "Include parentheses around a sole arrow function parameter." :choices
[(:value "always" :description "Always include parens. Example: `(x) => x`")
(:value "avoid" :description "Omit parens when possible. Example: `x => x`")])
:bracketSpacing
(:since "0.0.0" :category "Common" :type "boolean" :default t :description "Print spaces between brackets." :oppositeDescription "Do not print spaces between brackets.")
:jsxBracketSameLine
(:since "0.17.0" :category "JavaScript" :type "boolean" :default nil :description "Put > on the last line instead of at a new line.")
:semi
(:since "1.0.0" :category "JavaScript" :type "boolean" :default t :description "Print semicolons." :oppositeDescription "Do not print semicolons, except at the beginning of lines which may need them.")
:singleQuote
(:since "0.0.0" :category "Common" :type "boolean" :default nil :description "Use single quotes instead of double quotes.")
:jsxSingleQuote
(:since "1.15.0" :category "JavaScript" :type "boolean" :default nil :description "Use single quotes in JSX.")
:quoteProps
(:since "1.17.0" :category "JavaScript" :type "choice" :default "as-needed" :description "Change when properties in objects are quoted." :choices
[(:value "as-needed" :description "Only add quotes around object properties where required.")
(:value "consistent" :description "If at least one property in an object requires quotes, quote all properties.")
(:value "preserve" :description "Respect the input use of quotes in object properties.")])
:trailingComma
(:since "0.0.0" :category "JavaScript" :type "choice" :default
[(:since "0.0.0" :value nil)
(:since "0.19.0" :value "none")
(:since "2.0.0" :value "es5")]
:description "Print trailing commas wherever possible when multi-line." :choices
[(:value "es5" :description "Trailing commas where valid in ES5 (objects, arrays, etc.)")
(:value "none" :description "No trailing commas.")
(:value "all" :description "Trailing commas wherever possible (including function arguments).")]))
:printers
(:estree
(:handleComments
(:avoidAstMutation t))
:estree-json nil)
:parsers
(:babel
(:astFormat "estree")
:babel-flow
(:astFormat "estree")
:babel-ts
(:astFormat "estree")
:json
(:astFormat "estree")
:json5
(:astFormat "estree")
:json-stringify
(:astFormat "estree-json")
:__js_expression
(:astFormat "estree")
:__vue_expression
(:astFormat "estree")
:__vue_event_binding
(:astFormat "estree")
:flow
(:astFormat "estree")
:typescript
(:astFormat "estree")
:__ng_action
(:astFormat "estree")
:__ng_binding
(:astFormat "estree")
:__ng_interpolation
(:astFormat "estree")
:__ng_directive
(:astFormat "estree")
:espree
(:astFormat "estree")
:meriyah
(:astFormat "estree")
:__babel_estree
(:astFormat "estree")))
(:languages
[(:linguistLanguageId 50 :name "CSS" :type "markup" :tmScope "source.css" :aceMode "css" :codemirrorMode "css" :codemirrorMimeType "text/css" :color "#563d7c" :extensions
[".css" ".wxss"]
:since "1.4.0" :parsers
["css"]
:vscodeLanguageIds
["css"])
(:linguistLanguageId 262764437 :name "PostCSS" :type "markup" :tmScope "source.postcss" :group "CSS" :extensions
[".pcss" ".postcss"]
:aceMode "text" :since "1.4.0" :parsers
["css"]
:vscodeLanguageIds
["postcss"])
(:linguistLanguageId 198 :name "Less" :type "markup" :color "#1d365d" :extensions
[".less"]
:tmScope "source.css.less" :aceMode "less" :codemirrorMode "css" :codemirrorMimeType "text/css" :since "1.4.0" :parsers
["less"]
:vscodeLanguageIds
["less"])
(:linguistLanguageId 329 :name "SCSS" :type "markup" :color "#c6538c" :tmScope "source.css.scss" :aceMode "scss" :codemirrorMode "css" :codemirrorMimeType "text/x-scss" :extensions
[".scss"]
:since "1.4.0" :parsers
["scss"]
:vscodeLanguageIds
["scss"])]
:options
(:singleQuote
(:since "0.0.0" :category "Common" :type "boolean" :default nil :description "Use single quotes instead of double quotes."))
:printers
(:postcss nil)
:parsers
(:css
(:astFormat "postcss")
:less
(:astFormat "postcss")
:scss
(:astFormat "postcss")))
(:languages
[(:linguistLanguageId 155 :name "Handlebars" :type "markup" :color "#f7931e" :aliases
["hbs" "htmlbars"]
:extensions
[".handlebars" ".hbs"]
:tmScope "text.html.handlebars" :aceMode "handlebars" :since "2.3.0" :parsers
["glimmer"]
:vscodeLanguageIds
["handlebars"])]
:printers
(:glimmer nil)
:parsers
(:glimmer
(:astFormat "glimmer")))
(:languages
[(:linguistLanguageId 139 :name "GraphQL" :type "data" :color "#e10098" :extensions
[".graphql" ".gql" ".graphqls"]
:tmScope "source.graphql" :aceMode "text" :since "1.5.0" :parsers
["graphql"]
:vscodeLanguageIds
["graphql"])]
:options
(:bracketSpacing
(:since "0.0.0" :category "Common" :type "boolean" :default t :description "Print spaces between brackets." :oppositeDescription "Do not print spaces between brackets."))
:printers
(:graphql nil)
:parsers
(:graphql
(:astFormat "graphql")))
(:languages
[(:linguistLanguageId 222 :name "Markdown" :type "prose" :color "#083fa1" :aliases
["pandoc"]
:aceMode "markdown" :codemirrorMode "gfm" :codemirrorMimeType "text/x-gfm" :wrap t :extensions
[".md" ".markdown" ".mdown" ".mdwn" ".mkd" ".mkdn" ".mkdown" ".ronn" ".scd" ".workbook"]
:filenames
["contents.lr" "README"]
:tmScope "source.gfm" :since "1.8.0" :parsers
["markdown"]
:vscodeLanguageIds
["markdown"])
(:linguistLanguageId 222 :name "MDX" :type "prose" :color "#083fa1" :aliases
["pandoc"]
:aceMode "markdown" :codemirrorMode "gfm" :codemirrorMimeType "text/x-gfm" :wrap t :extensions
[".mdx"]
:filenames
[]
:tmScope "source.gfm" :since "1.15.0" :parsers
["mdx"]
:vscodeLanguageIds
["mdx"])]
:options
(:proseWrap
(:since "1.8.2" :category "Common" :type "choice" :default
[(:since "1.8.2" :value t)
(:since "1.9.0" :value "preserve")]
:description "How to wrap prose." :choices
[(:since "1.9.0" :value "always" :description "Wrap prose if it exceeds the print width.")
(:since "1.9.0" :value "never" :description "Do not wrap prose.")
(:since "1.9.0" :value "preserve" :description "Wrap prose as-is.")])
:singleQuote
(:since "0.0.0" :category "Common" :type "boolean" :default nil :description "Use single quotes instead of double quotes."))
:printers
(:mdast nil)
:parsers
(:remark
(:astFormat "mdast")
:markdown
(:astFormat "mdast")
:mdx
(:astFormat "mdast")))
(:languages
[(:linguistLanguageId 146 :name "Angular" :type "markup" :tmScope "text.html.basic" :aceMode "html" :codemirrorMode "htmlmixed" :codemirrorMimeType "text/html" :color "#e34c26" :aliases
["xhtml"]
:extensions
[".component.html"]
:since "1.15.0" :parsers
["angular"]
:vscodeLanguageIds
["html"]
:filenames
[])
(:linguistLanguageId 146 :name "HTML" :type "markup" :tmScope "text.html.basic" :aceMode "html" :codemirrorMode "htmlmixed" :codemirrorMimeType "text/html" :color "#e34c26" :aliases
["xhtml"]
:extensions
[".html" ".htm" ".html.hl" ".inc" ".xht" ".xhtml" ".mjml"]
:since "1.15.0" :parsers
["html"]
:vscodeLanguageIds
["html"])
(:linguistLanguageId 146 :name "Lightning Web Components" :type "markup" :tmScope "text.html.basic" :aceMode "html" :codemirrorMode "htmlmixed" :codemirrorMimeType "text/html" :color "#e34c26" :aliases
["xhtml"]
:extensions
[]
:since "1.17.0" :parsers
["lwc"]
:vscodeLanguageIds
["html"]
:filenames
[])
(:linguistLanguageId 391 :name "Vue" :type "markup" :color "#41b883" :extensions
[".vue"]
:tmScope "text.html.vue" :aceMode "html" :since "1.10.0" :parsers
["vue"]
:vscodeLanguageIds
["vue"])]
:printers
(:html nil)
:options
(:htmlWhitespaceSensitivity
(:since "1.15.0" :category "HTML" :type "choice" :default "css" :description "How to handle whitespaces in HTML." :choices
[(:value "css" :description "Respect the default value of CSS display property.")
(:value "strict" :description "Whitespaces are considered sensitive.")
(:value "ignore" :description "Whitespaces are considered insensitive.")])
:vueIndentScriptAndStyle
(:since "1.19.0" :category "HTML" :type "boolean" :default nil :description "Indent script and style tags in Vue files."))
:parsers
(:html
(:astFormat "html")
:vue
(:astFormat "html")
:angular
(:astFormat "html")
:lwc
(:astFormat "html")))
(:languages
[(:linguistLanguageId 407 :name "YAML" :type "data" :color "#cb171e" :tmScope "source.yaml" :aliases
["yml"]
:extensions
[".yml" ".mir" ".reek" ".rviz" ".sublime-syntax" ".syntax" ".yaml" ".yaml-tmlanguage" ".yaml.sed" ".yml.mysql"]
:filenames
[".clang-format" ".clang-tidy" ".gemrc" "glide.lock" ".prettierrc"]
:aceMode "yaml" :codemirrorMode "yaml" :codemirrorMimeType "text/x-yaml" :since "1.14.0" :parsers
["yaml"]
:vscodeLanguageIds
["yaml" "ansible" "home-assistant"])]
:printers
(:yaml nil)
:options
(:bracketSpacing
(:since "0.0.0" :category "Common" :type "boolean" :default t :description "Print spaces between brackets." :oppositeDescription "Do not print spaces between brackets.")
:singleQuote
(:since "0.0.0" :category "Common" :type "boolean" :default nil :description "Use single quotes instead of double quotes.")
:proseWrap
(:since "1.8.2" :category "Common" :type "choice" :default
[(:since "1.8.2" :value t)
(:since "1.9.0" :value "preserve")]
:description "How to wrap prose." :choices
[(:since "1.9.0" :value "always" :description "Wrap prose if it exceeds the print width.")
(:since "1.9.0" :value "never" :description "Do not wrap prose.")
(:since "1.9.0" :value "preserve" :description "Wrap prose as-is.")]))
:parsers
(:yaml
(:astFormat "yaml")))]
:arrowParens "always" :bracketSpacing t :cursorOffset -1 :embeddedLanguageFormatting "auto" :endOfLine "lf" :htmlWhitespaceSensitivity "css" :insertPragma nil :jsxBracketSameLine nil :jsxSingleQuote nil :pluginSearchDirs
[]
:printWidth 80 :proseWrap "preserve" :quoteProps "as-needed" :rangeEnd 1 :rangeStart 0 :requirePragma nil :trailingComma "es5" :vueIndentScriptAndStyle nil :astFormat "estree" :printer
(:handleComments
(:avoidAstMutation t)))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment