SPIRV-Tools/tools/sva/.eslintrc.json
dan sinclair 605c2e3c0e
Add WebGPU SPIR-V Assembler in JavaScript. (#2876)
This CL adds a simple JavaScript library which will assemble SPIR-V
Assembly compatable with WebGPU.
2019-09-18 18:11:10 -04:00

26 lines
642 B
JSON

{
"env": {
"browser": true,
"es6": true,
"node": true,
"mocha": true
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"rules": {
"block-scoped-var": "error",
"consistent-return": "error",
"eqeqeq": ["error", "always"],
"indent": [ "error", 2 ],
"linebreak-style": [ "error", "unix" ],
"no-eval": "error",
"no-shadow": "error",
"no-shadow-restricted-names": "error",
"quotes": [ "error", "double" ],
"semi": [ "error", "always" ]
}
}