File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
2- "name" : " Ubuntu" ,
32 "build" : {
43 "dockerfile" : " Dockerfile"
54 },
5+ "name" : " Ubuntu" ,
66 "postCreateCommand" : " make"
77}
Original file line number Diff line number Diff line change 1+ repos :
2+ - repo : local
3+ hooks :
4+ - id : eslint-json
5+ name : ESLint (JSON)
6+ entry : eslint
7+ language : node
8+ additional_dependencies :
9+ - eslint
10+ - " @eslint/json"
11+ files : \.json$
12+ types : [file]
Original file line number Diff line number Diff line change 1+ const { default : json } = require ( "@eslint/json" )
2+
3+ module . exports = [
4+ {
5+ plugins : { json } ,
6+ files : [ "**/*.json" ] ,
7+ language : "json/json5" ,
8+ rules : {
9+ "json/no-duplicate-keys" : "error" ,
10+ "json/no-empty-keys" : "error" ,
11+ "json/sort-keys" : "error" ,
12+ } ,
13+ } ,
14+ ]
Original file line number Diff line number Diff line change 11{
2- "_docs" : " https://github.com/zyedidia/micro/blob/master/runtime/help/options.md#settingsjson-file" ,
3- "tabsize" : 4 ,
4- "tabstospaces" : true ,
5- "*.rb" : {
6- "tabsize" : 2
7- },
82 "*.js" : {
93 "tabsize" : 2
104 },
115 "*.json" : {
126 "tabsize" : 2
137 },
8+ "*.rb" : {
9+ "tabsize" : 2
10+ },
1411 "*.ts" : {
1512 "tabsize" : 2
16- }
13+ },
14+ "_docs" : " https://github.com/zyedidia/micro/blob/master/runtime/help/options.md#settingsjson-file" ,
15+ "tabsize" : 4 ,
16+ "tabstospaces" : true
1717}
Original file line number Diff line number Diff line change 1+ {}
Original file line number Diff line number Diff line change 215215 "tsconfig.json" : " tsconfig.*.json"
216216 },
217217 "files.associations" : {
218- ".env" : " dotenv" ,
219- ".env*" : " dotenv" ,
220- ".gitalias" : " properties" ,
221- ".vercelignore" : " ignore" ,
222218 "*.Brewfile" : " ruby" ,
219+ "*.Makefile" : " makefile" ,
223220 "*.dropboxignore" : " ignore" ,
224221 "*.gitalias" : " properties" ,
225- "*.Makefile" : " makefile" ,
226222 "*.mdx" : " mdx" ,
227223 "*.njk" : " njk" ,
228224 "*.plist" : " xml" ,
229225 "*.sublime-keymap" : " jsonc" ,
230- "*.sublime-settings" : " jsonc"
226+ "*.sublime-settings" : " jsonc" ,
227+ ".env" : " dotenv" ,
228+ ".env*" : " dotenv" ,
229+ ".gitalias" : " properties" ,
230+ ".vercelignore" : " ignore"
231231 },
232232 "files.autoGuessEncoding" : true ,
233233 "files.exclude" : {
234- "**/__pycache__ " : true ,
234+ "**/*.pyc " : true ,
235235 "**/.classpath" : true ,
236236 "**/.factorypath" : true ,
237237 "**/.project" : true ,
238- "**/*.pyc " : true
238+ "**/__pycache__ " : true
239239 },
240240 "git.autoStash" : true ,
241241 "git.autofetch" : true ,
You can’t perform that action at this time.
0 commit comments