mirror of
https://gitee.com/openharmony/third_party_spirv-tools
synced 2024-11-27 01:21:25 +00:00
e8ad9735b1
Signed-off-by: huruitao <huruitao@kaihong.com>
26 lines
642 B
JSON
Executable File
26 lines
642 B
JSON
Executable File
{
|
|
"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" ]
|
|
}
|
|
}
|