mirror of
https://github.com/KhronosGroup/SPIRV-Tools
synced 2024-11-22 11:40:05 +00:00
605c2e3c0e
This CL adds a simple JavaScript library which will assemble SPIR-V Assembly compatable with WebGPU.
26 lines
642 B
JSON
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" ]
|
|
}
|
|
}
|